text
stringlengths
4
5.48M
meta
stringlengths
14
6.54k
using OrchardCore.ContentManagement; using OrchardCore.Layers.Models; using YesSql.Indexes; namespace OrchardCore.Layers.Indexes { public class LayerMetadataIndex : MapIndex { public string Zone { get; set; } } public class LayerMetadataIndexProvider : IndexProvider<ContentItem> { public override void Describe(DescribeContext<ContentItem> context) { context.For<LayerMetadataIndex>() .Map(contentItem => { var layerMetadata = contentItem.As<LayerMetadata>(); if (layerMetadata != null) { return new LayerMetadataIndex { Zone = layerMetadata.Zone, }; } return null; }); } } }
{'content_hash': 'd38bb72c982fbc47866bb405fa0ef1ef', 'timestamp': '', 'source': 'github', 'line_count': 32, 'max_line_length': 75, 'avg_line_length': 28.0, 'alnum_prop': 0.5044642857142857, 'repo_name': 'petedavis/Orchard2', 'id': '9c2f3266973ade931a211309b854eb94575dcc03', 'size': '896', 'binary': False, 'copies': '3', 'ref': 'refs/heads/spatial', 'path': 'src/OrchardCore.Modules/OrchardCore.Layers/Indexes/LayerMetadataIndex.cs', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'C#', 'bytes': '2965569'}, {'name': 'CSS', 'bytes': '1051211'}, {'name': 'HTML', 'bytes': '37155'}, {'name': 'JavaScript', 'bytes': '1875847'}, {'name': 'Liquid', 'bytes': '8676'}, {'name': 'PHP', 'bytes': '1241'}]}
"""gcloud bigtable emulator env_init command.""" from googlecloudsdk.api_lib.emulators import bigtable_util from googlecloudsdk.api_lib.emulators import util from googlecloudsdk.calliope import base class EnvInit(base.Command): """Print the commands required to export Bigtable emulator's env variables.""" detailed_help = { 'DESCRIPTION': '{description}', 'EXAMPLES': """\ To print the env variables exports for a Bigtable emulator, run: $ {command} """, } def Run(self, args): data_dir = bigtable_util.GetDataDir() return util.ReadEnvYaml(data_dir) def Format(self, args): return 'config[export]'
{'content_hash': '819c0d0f39165ec576704b9417e11843', 'timestamp': '', 'source': 'github', 'line_count': 25, 'max_line_length': 80, 'avg_line_length': 26.88, 'alnum_prop': 0.6800595238095238, 'repo_name': 'KaranToor/MA450', 'id': '679f8c52018c3e85b88901445d047a4cc06319a7', 'size': '1267', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'google-cloud-sdk/lib/surface/emulators/bigtable/env_init.py', 'mode': '33261', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '3162'}, {'name': 'CSS', 'bytes': '1930'}, {'name': 'HTML', 'bytes': '13381'}, {'name': 'Java', 'bytes': '151442'}, {'name': 'JavaScript', 'bytes': '4906'}, {'name': 'Makefile', 'bytes': '1636'}, {'name': 'Objective-C', 'bytes': '13335'}, {'name': 'PHP', 'bytes': '9086'}, {'name': 'Pascal', 'bytes': '62'}, {'name': 'Python', 'bytes': '19710731'}, {'name': 'Roff', 'bytes': '2069494'}, {'name': 'Ruby', 'bytes': '690'}, {'name': 'Shell', 'bytes': '32272'}, {'name': 'Smarty', 'bytes': '4968'}, {'name': 'SourcePawn', 'bytes': '616'}, {'name': 'Swift', 'bytes': '14225'}]}
package io.tetrapod.protocol.core; // This is a code generated file. All edits will be lost the next time code gen is run. import io.*; import io.tetrapod.core.rpc.*; import io.tetrapod.core.serialize.*; import io.tetrapod.protocol.core.TypeDescriptor; import io.tetrapod.protocol.core.StructDescription; import java.io.IOException; import java.util.*; import java.util.concurrent.*; @SuppressWarnings("all") public class WebRoute extends Structure { public static final int STRUCT_ID = 4890284; public static final int CONTRACT_ID = CoreContract.CONTRACT_ID; public static final int SUB_CONTRACT_ID = CoreContract.SUB_CONTRACT_ID; public WebRoute() { defaults(); } public WebRoute(String path, int structId, int contractId, int subContractId) { this.path = path; this.structId = structId; this.contractId = contractId; this.subContractId = subContractId; } public String path; public int structId; public int contractId; public int subContractId; public final Structure.Security getSecurity() { return Security.INTERNAL; } public final void defaults() { path = null; structId = 0; contractId = 0; subContractId = 0; } @Override public final void write(DataSource data) throws IOException { data.write(1, this.path); data.write(2, this.structId); data.write(3, this.contractId); data.write(4, this.subContractId); data.writeEndTag(); } @Override public final void read(DataSource data) throws IOException { defaults(); while (true) { int tag = data.readTag(); switch (tag) { case 1: this.path = data.read_string(tag); break; case 2: this.structId = data.read_int(tag); break; case 3: this.contractId = data.read_int(tag); break; case 4: this.subContractId = data.read_int(tag); break; case Codec.END_TAG: return; default: data.skip(tag); break; } } } public final int getContractId() { return WebRoute.CONTRACT_ID; } public final int getSubContractId() { return WebRoute.SUB_CONTRACT_ID; } public final int getStructId() { return WebRoute.STRUCT_ID; } public final String[] tagWebNames() { // Note do not use this tags in long term serializations (to disk or databases) as // implementors are free to rename them however they wish. A null means the field // is not to participate in web serialization (remaining at default) String[] result = new String[4+1]; result[1] = "path"; result[2] = "structId"; result[3] = "contractId"; result[4] = "subContractId"; return result; } public final Structure make() { return new WebRoute(); } public final StructDescription makeDescription() { StructDescription desc = new StructDescription(); desc.name = "WebRoute"; desc.tagWebNames = tagWebNames(); desc.types = new TypeDescriptor[desc.tagWebNames.length]; desc.types[0] = new TypeDescriptor(TypeDescriptor.T_STRUCT, getContractId(), getStructId()); desc.types[1] = new TypeDescriptor(TypeDescriptor.T_STRING, 0, 0); desc.types[2] = new TypeDescriptor(TypeDescriptor.T_INT, 0, 0); desc.types[3] = new TypeDescriptor(TypeDescriptor.T_INT, 0, 0); desc.types[4] = new TypeDescriptor(TypeDescriptor.T_INT, 0, 0); return desc; } @Override @SuppressWarnings("RedundantIfStatement") public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; WebRoute that = (WebRoute) o; if (path != null ? !path.equals(that.path) : that.path != null) return false; if (structId != that.structId) return false; if (contractId != that.contractId) return false; if (subContractId != that.subContractId) return false; return true; } @Override public int hashCode() { int result = 0; result = 31 * result + (path != null ? path.hashCode() : 0); result = 31 * result + structId; result = 31 * result + contractId; result = 31 * result + subContractId; return result; } }
{'content_hash': '4f68fdf3ffa04e896586f71c2123fae2', 'timestamp': '', 'source': 'github', 'line_count': 149, 'max_line_length': 98, 'avg_line_length': 29.42953020134228, 'alnum_prop': 0.6280501710376283, 'repo_name': 'tetrapods/core', 'id': '56835c88422ec98cb81a7e687ddb9263bea974c7', 'size': '4385', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Protocol-Core/src/io/tetrapod/protocol/core/WebRoute.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '29694'}, {'name': 'HTML', 'bytes': '40623'}, {'name': 'Java', 'bytes': '1530793'}, {'name': 'JavaScript', 'bytes': '333471'}, {'name': 'Shell', 'bytes': '2076'}, {'name': 'TypeScript', 'bytes': '34719'}]}
package eav_test import ( "testing" "github.com/corestoreio/pkg/eav" "github.com/corestoreio/pkg/storage/csdb" "github.com/corestoreio/pkg/storage/dbr" "github.com/corestoreio/pkg/util/assert" ) var ( csEntityTypeCollection = eav.CSEntityTypeSlice{ &eav.CSEntityType{ EntityTypeID: 3, EntityTypeCode: "catalog_category", EntityModel: nil, AttributeModel: nil, EntityTable: nil, ValueTablePrefix: "", IsDataSharing: true, DataSharingKey: "default", DefaultAttributeSetID: 3, IncrementPerStore: false, IncrementPadLength: 8, IncrementPadChar: "0", AdditionalAttributeTable: nil, EntityAttributeCollection: nil, }, } ) func init() { dbc := csdb.MustConnectTest() defer dbc.Close() if err := eav.TableCollection.Init(dbc.NewSession()); err != nil { panic(err) } } func TestEntityType(t *testing.T) { dbc := csdb.MustConnectTest() defer dbc.Close() dbrSess := dbc.NewSession() var et eav.TableEntityType et.LoadByCode( dbrSess, "catalog_product", func(sb *dbr.Select) *dbr.Select { sb.OrderBy("entity_type_id") return sb }, ) assert.NotEmpty(t, et.EntityModel) assert.NotEmpty(t, et.AttributeModel.String) assert.True(t, et.EntityTypeID > 0, "EntityTypeID should be greater 0 but is: %#v\n", et) assert.True(t, et.IsRealEav()) } func TestEntityTypeSliceGetByCode(t *testing.T) { dbc := csdb.MustConnectTest() defer dbc.Close() dbrSess := dbc.NewSession() s, err := eav.TableCollection.Structure(eav.TableIndexEntityType) if err != nil { t.Error(err) } var entityTypeCollection eav.TableEntityTypeSlice _, err = dbrSess. Select(s.Columns.FieldNames()...). From(s.Name). LoadStructs(&entityTypeCollection) if err != nil { t.Error(err) } etc, err := entityTypeCollection.GetByCode("catalog_categories") assert.Nil(t, etc) assert.Error(t, err) etc, err = entityTypeCollection.GetByCode("catalog_category") assert.NotNil(t, etc) assert.NoError(t, err) } func TestCSEntityTypeSliceGetByCode(t *testing.T) { etc, err := csEntityTypeCollection.GetByCode("catalog_category") assert.NotNil(t, etc) assert.NoError(t, err) etc, err = csEntityTypeCollection.GetByCode("catalog_categories") assert.Nil(t, etc) assert.Error(t, err) }
{'content_hash': 'f46e432d4c6a0aa232f2a66140a15756', 'timestamp': '', 'source': 'github', 'line_count': 99, 'max_line_length': 90, 'avg_line_length': 23.555555555555557, 'alnum_prop': 0.6878216123499142, 'repo_name': 'corestoreio/csfw', 'id': '3dd848a2cda2bfb6b80793b93dfc983fa9f4033a', 'size': '2969', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'eav/entity_type_test.go', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Go', 'bytes': '5341817'}, {'name': 'Makefile', 'bytes': '2473'}, {'name': 'Shell', 'bytes': '559'}, {'name': 'Yacc', 'bytes': '21579'}]}
import Test.HUnit import Q33 test1 = TestCase (assertEqual "tryCoPrime 0 15 should be Right Zero is not supported." (Right "Zero is not supported") (tryCoPrime 0 15)) test2 = TestCase (assertEqual "tryCoPrime 15 0 should be Right Zero is not supported." (Right "Zero is not supported") (tryCoPrime 15 0 )) test3 = TestCase (assertEqual "tryCoPrime 12 32 should be Left False ." (Left False ) (tryCoPrime 12 32)) test4 = TestCase (assertEqual "tryCoPrime 31 12 should be Left True ." (Left True ) (tryCoPrime 31 12)) main = runTestTT $ TestList [test1,test2,test3,test4]
{'content_hash': 'c0ab671f4a2dd4e6028cdbd287d287b0', 'timestamp': '', 'source': 'github', 'line_count': 9, 'max_line_length': 139, 'avg_line_length': 71.55555555555556, 'alnum_prop': 0.6630434782608695, 'repo_name': 'cshung/MiscLab', 'id': '9da4f2fc95c42f78b6c7a19045f7242f8684ee4b', 'size': '644', 'binary': False, 'copies': '1', 'ref': 'refs/heads/main', 'path': 'Haskell99/q33.test.hs', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'AGS Script', 'bytes': '4190'}, {'name': 'Assembly', 'bytes': '302412'}, {'name': 'Batchfile', 'bytes': '6086'}, {'name': 'C', 'bytes': '780'}, {'name': 'C#', 'bytes': '175023'}, {'name': 'C++', 'bytes': '251235'}, {'name': 'CMake', 'bytes': '1424'}, {'name': 'CSS', 'bytes': '28988'}, {'name': 'Coq', 'bytes': '710330'}, {'name': 'HTML', 'bytes': '4813321'}, {'name': 'Hack', 'bytes': '799'}, {'name': 'Haskell', 'bytes': '83417'}, {'name': 'Java', 'bytes': '5783'}, {'name': 'JavaScript', 'bytes': '7175'}, {'name': 'MATLAB', 'bytes': '819119'}, {'name': 'Makefile', 'bytes': '873'}, {'name': 'OCaml', 'bytes': '996'}, {'name': 'Python', 'bytes': '83463'}, {'name': 'Rust', 'bytes': '723'}, {'name': 'Scilab', 'bytes': '114525'}, {'name': 'Shell', 'bytes': '7283'}]}
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Function template register_simple_filter_factory</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.Log v2"> <link rel="up" href="../../utilities.html#header.boost.log.utility.setup.filter_parser_hpp" title="Header &lt;boost/log/utility/setup/filter_parser.hpp&gt;"> <link rel="prev" href="register_idm45961915424096.html" title="Function template register_simple_filter_factory"> <link rel="next" href="register_idm45961915412400.html" title="Function template register_simple_filter_factory"> </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></tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="register_idm45961915424096.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.setup.filter_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="register_idm45961915412400.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.log.register_idm45961915417968"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Function template register_simple_filter_factory</span></h2> <p>boost::log::register_simple_filter_factory</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="../../utilities.html#header.boost.log.utility.setup.filter_parser_hpp" title="Header &lt;boost/log/utility/setup/filter_parser.hpp&gt;">boost/log/utility/setup/filter_parser.hpp</a>&gt; </span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> AttributeValueT<span class="special">&gt;</span> <span class="keyword">void</span> <span class="identifier">register_simple_filter_factory</span><span class="special">(</span><span class="identifier">attribute_name</span> <span class="keyword">const</span> <span class="special">&amp;</span> name<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idm46846444878912"></a><h2>Description</h2> <p>The function registers a simple filter factory object for the specified attribute name. The factory will support attribute values of type <code class="computeroutput">AttributeValueT</code>, which must support all relation operations, such as equality comparison and less/greater ordering, and also extraction from stream.</p> <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">name</code></span></p></td> <td><p>Attribute name to associate the factory with </p></td> </tr></tbody> </table></div></td> </tr> <tr> <td><p><span class="term">Requires:</span></p></td> <td><p><code class="computeroutput">name != NULL</code>, <code class="computeroutput">name</code> points to a zero-terminated string </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 © 2007-2021 Andrey Semashev<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="register_idm45961915424096.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.setup.filter_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="register_idm45961915412400.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
{'content_hash': '804996d838c2e6d11939a09d56ac6f24', 'timestamp': '', 'source': 'github', 'line_count': 76, 'max_line_length': 515, 'avg_line_length': 66.47368421052632, 'alnum_prop': 0.6823040380047506, 'repo_name': 'davehorton/drachtio-server', 'id': '9be0a9ec223bec06b7f75c6ff6485345f0edd81e', 'size': '5055', 'binary': False, 'copies': '1', 'ref': 'refs/heads/main', 'path': 'deps/boost_1_77_0/libs/log/doc/html/boost/log/register_idm45961915417968.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C++', 'bytes': '662596'}, {'name': 'Dockerfile', 'bytes': '1330'}, {'name': 'JavaScript', 'bytes': '60639'}, {'name': 'M4', 'bytes': '35273'}, {'name': 'Makefile', 'bytes': '5960'}, {'name': 'Shell', 'bytes': '47298'}]}
#import <Foundation/NSZone.h> #import <Foundation/NSObject.h> #import <Foundation/NSString.h> #import <objc/objc-internal.h> #import <string.h> #import <unistd.h> #import <libkern/OSAtomic.h> #include <malloc/malloc.h> /* * Memory functions */ void* NSAllocateMemoryPages(NSUInteger byteCount) { NSUInteger pageMask = getpagesize() - 1; if (!byteCount || (byteCount & pageMask)) { byteCount = (byteCount & pageMask) + pageMask + 1; } return valloc(byteCount); } void NSDeallocateMemoryPages(void* pointer, NSUInteger byteCount) { free(pointer); } void NSCopyMemoryPages(const void* src, void* dst, NSUInteger byteCount) { memcpy(dst, src, byteCount); } /* * NSZone functions */ NSZone* NSCreateZone(NSUInteger startSize, NSUInteger granularity, BOOL canFree) { return (NSZone*)malloc_create_zone(startSize, 0); } void NSRecycleZone(NSZone* zone) { } NSZone* NSDefaultMallocZone(void) { return (NSZone*)malloc_default_zone(); } NSZone* NSZoneFromPointer(void* pointer) { return (NSZone*)malloc_zone_from_ptr(pointer); } void* NSZoneMalloc(NSZone* zone, NSUInteger size) { if (!zone) { zone = NSDefaultMallocZone(); } return malloc_zone_malloc((malloc_zone_t*)zone, size); } void* NSZoneCalloc(NSZone* zone, NSUInteger count, NSUInteger size) { if (!zone) { zone = NSDefaultMallocZone(); } return malloc_zone_calloc((malloc_zone_t*)zone, count, size); } void* NSZoneRealloc(NSZone* zone, void* pointer, NSUInteger size) { if (!zone) { zone = NSDefaultMallocZone(); } return malloc_zone_realloc((malloc_zone_t*)zone, pointer, size); } void NSZoneFree(NSZone* zone, void* pointer) { if (!zone) { zone = NSDefaultMallocZone(); } malloc_zone_free((malloc_zone_t*)zone, pointer); } NSString* NSZoneName(NSZone* zone) { if (!zone) { zone = NSDefaultMallocZone(); } return [NSString stringWithUTF8String:malloc_get_zone_name((malloc_zone_t*)zone)]; } void NSSetZoneName(NSZone* zone, NSString* name) { if (!zone) { zone = NSDefaultMallocZone(); } malloc_set_zone_name((malloc_zone_t*)zone, [name UTF8String]); }
{'content_hash': 'd232250f053715529c027b53ca19ee91', 'timestamp': '', 'source': 'github', 'line_count': 92, 'max_line_length': 86, 'avg_line_length': 23.793478260869566, 'alnum_prop': 0.671082686158063, 'repo_name': 'DmitrySkiba/itoa-foundation', 'id': '73f9cbfc825a9854e15a5d3b6b37fa0c301d8f86', 'size': '3365', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/Foundation/NSZone.m', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C', 'bytes': '73135'}, {'name': 'Objective-C', 'bytes': '1655140'}]}
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js"></script> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap3-dialog/1.34.7/css/bootstrap-dialog.min.css" rel="stylesheet" type="text/css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap3-dialog/1.34.7/js/bootstrap-dialog.min.js"></script> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <title>Only one dialog</title> <meta charset="utf-8" /> <style type="text/css"> .floating-menu { background-color: gray; border: 1px solid blue; padding: 20px; position: absolute; top: 10px; right: 10px; z-index: 9999; } </style> </head> <body> <div class="floating-menu"> <button class="btn btn-primary" id="btn-open">Open dialog</button> </div> <script type="text/javascript"> /** * See how to limit only one dialog can be opened at a time. */ $(function () { var $btn = $('#btn-open'); $btn.on('click', function (event) { BootstrapDialog.closeAll(); var dialog = new BootstrapDialog({ message: 'The only one.' }); dialog.open(); }); }); </script> </body> </html>
{'content_hash': '5456e8640a59c0c88221632de4b3611a', 'timestamp': '', 'source': 'github', 'line_count': 45, 'max_line_length': 149, 'avg_line_length': 42.955555555555556, 'alnum_prop': 0.5256078634247284, 'repo_name': 'songwanfu/SummerNut', 'id': '6d8aa23a7573ce5ba7f4cd9450d8efafa00a55b6', 'size': '1933', 'binary': False, 'copies': '4', 'ref': 'refs/heads/master', 'path': 'vendor/bower/bootstrap3-dialog/examples/play/only-one-dialog.html', 'mode': '33261', 'license': 'bsd-3-clause', 'language': [{'name': 'Batchfile', 'bytes': '1030'}, {'name': 'CSS', 'bytes': '13682'}, {'name': 'JavaScript', 'bytes': '9945'}, {'name': 'PHP', 'bytes': '185278'}]}
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { FormsModule } from '@angular/forms'; import { MdInputModule, MdIconModule, MdProgressBarModule, MdToolbarModule, MdButtonModule } from '@angular/material'; import { AppComponent } from './app.component'; import { InputComponent } from './input/input.component'; import { PreviewComponent } from './preview/preview.component'; import { ProgressComponent } from './progress/progress.component'; import { ValuesService } from './values.service'; import { AboutComponent } from './about/about.component'; @NgModule({ declarations: [ AppComponent, InputComponent, PreviewComponent, ProgressComponent, AboutComponent, ], imports: [ BrowserModule, BrowserAnimationsModule, MdInputModule, MdIconModule, MdProgressBarModule, MdToolbarModule, MdButtonModule, FormsModule, ], providers: [ ValuesService, ], bootstrap: [AppComponent] }) export class AppModule { }
{'content_hash': '7c6926e2913393e5154045d960494339', 'timestamp': '', 'source': 'github', 'line_count': 40, 'max_line_length': 118, 'avg_line_length': 27.925, 'alnum_prop': 0.7251566696508505, 'repo_name': 'dimakovalevskyi/luhn-algorithm', 'id': 'a15c39da0ce82a12b55645273a6ceee25296a775', 'size': '1117', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/app/app.module.ts', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '1245'}, {'name': 'HTML', 'bytes': '1490'}, {'name': 'JavaScript', 'bytes': '1645'}, {'name': 'TypeScript', 'bytes': '14637'}]}
<?php namespace app\controllers; use app\models\Contact; use app\models\Fotos; use app\models\Modelos; use Yii; use app\models\Planes; use app\models\PlanesSearch; use yii\filters\AccessControl; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\web\UploadedFile; /** * PlanesController implements the CRUD actions for Planes model. */ class PlanesController extends Controller { /** * @inheritdoc */ public function behaviors() { return [ 'access' => [ 'class' => AccessControl::className(), 'rules' => [ [ 'actions' => ['login', 'error','planes','detalles'], 'allow' => true, ], [ 'actions' => ['logout', 'index','view','create','update', 'delete'], 'allow' => true, 'roles' => ['@'], ], ], ], 'verbs' => [ 'class' => VerbFilter::className(), 'actions' => [ //'delete' => ['POST'], ], ], ]; } /** * Lists all Planes models. * @return mixed */ public function actionIndex() { $searchModel = new PlanesSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', [ 'searchModel' => $searchModel, 'dataProvider' => $dataProvider, ]); } /** * Displays planes. * * @return string */ public function actionPlanes() { $planes = Planes::find()->all(); $fotos = Fotos::find()->andWhere(['id_tipo' => 2])->all(); return $this->render('planes', [ 'fotos' => $fotos, 'planes' => $planes, ]); } /** * Displays a detailed Modelos model. * @param integer $id * @return mixed */ public function actionDetalles($id, $id_modelos) { $contacto = new Contact(); $enviado = 0; $fotos = Fotos::find()->Where(['id_tipo' => 2])->andWhere(['id' => $id_modelos])->all(); if ($contacto->load(Yii::$app->request->post()) ) { $enviado = 1; $contacto->fecha = date('Y-m-d'); $contacto->save(); if ($contacto->contact(Yii::$app->params['adminEmail'])){ //var_dump($contacto->getAttributes()); } //hago esto para que el modelo se borre y el formulario quede vacio $contacto = new Contact(); return $this->render('detalles', [ 'model' => $this->findModel($id), 'contacto' => $contacto, 'enviado' => $enviado, 'fotos' => $fotos, ]); } else { return $this->render('detalles', [ 'model' => $this->findModel($id), 'contacto' => $contacto, 'enviado' => $enviado, 'fotos' => $fotos, ]); } } /** * Displays a single Planes model. * @param integer $id * @return mixed */ public function actionView($id) { return $this->render('view', [ 'model' => $this->findModel($id), ]); } /** * Creates a new Planes model. * If creation is successful, the browser will be redirected to the 'view' page. * @return mixed */ public function actionCreate() { $model = new Planes(); if ($model->load(Yii::$app->request->post()) && $model->save()) { if($model->file = UploadedFile::getInstance($model, 'file')){ $model->file->saveAs('@web/../images/planes/' . $model->file->baseName . '.' . $model->file->extension); $model->foto = $model->file->baseName. '.' . $model->file->extension; } $model->save(); return $this->redirect(['view', 'id' => $model->id_plan]); } else { return $this->render('create', [ 'model' => $model, ]); } } /** * Updates an existing Planes model. * If update is successful, the browser will be redirected to the 'view' page. * @param integer $id * @return mixed */ public function actionUpdate($id) { $model = $this->findModel($id); if ($model->load(Yii::$app->request->post()) && $model->save()) { if($model->file = UploadedFile::getInstance($model, 'file')){ $model->file->saveAs('@web/../images/planes/' . $model->file->baseName . '.' . $model->file->extension); $model->foto = $model->file->baseName. '.' . $model->file->extension; } $model->save(); return $this->redirect(['view', 'id' => $model->id_plan]); } else { return $this->render('update', [ 'model' => $model, ]); } } /** * Deletes an existing Planes model. * If deletion is successful, the browser will be redirected to the 'index' page. * @param integer $id * @return mixed */ public function actionDelete($id) { $this->findModel($id)->delete(); return $this->redirect(['index']); } /** * Finds the Planes model based on its primary key value. * If the model is not found, a 404 HTTP exception will be thrown. * @param integer $id * @return Planes the loaded model * @throws NotFoundHttpException if the model cannot be found */ protected function findModel($id) { if (($model = Planes::findOne($id)) !== null) { return $model; } else { throw new NotFoundHttpException('The requested page does not exist.'); } } }
{'content_hash': '08296b69202bbec9da5d609b56e210aa', 'timestamp': '', 'source': 'github', 'line_count': 202, 'max_line_length': 120, 'avg_line_length': 29.668316831683168, 'alnum_prop': 0.4837310195227766, 'repo_name': 'chatoxz/piazza', 'id': '0f95b202e4a4513366f842ee1a93af56bdf84214', 'size': '5993', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'controllers/PlanesController.php', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'Batchfile', 'bytes': '1044'}, {'name': 'CSS', 'bytes': '242169'}, {'name': 'HTML', 'bytes': '67713'}, {'name': 'JavaScript', 'bytes': '844470'}, {'name': 'PHP', 'bytes': '427470'}, {'name': 'Smarty', 'bytes': '9881'}]}
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{'content_hash': '5f2145d92314fb553c7288e9ebbd317e', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 31, 'avg_line_length': 9.692307692307692, 'alnum_prop': 0.7063492063492064, 'repo_name': 'mdoering/backbone', 'id': '066d212ab36f8953e08f19d1c24dfbebd232fe4c', 'size': '171', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Hyptis/Hyptis winkleri/README.md', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
MIT License Copyright (c) 2017 Heresy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{'content_hash': 'e5f7c89510c015d9c9d33c01b82dc31e', 'timestamp': '', 'source': 'github', 'line_count': 21, 'max_line_length': 78, 'avg_line_length': 50.61904761904762, 'alnum_prop': 0.8052681091251176, 'repo_name': 'KHeresy/CamerasRporter', 'id': '03192a22fdcf7e093900eb62e862f88ee71a21f5', 'size': '1063', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'LICENSE.md', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C++', 'bytes': '13005'}]}
<?xml version="1.0" encoding="utf-8" ?> <Defs> <ItemCollectionGeneratorDef> <defName>AllRimCoinParts</defName> <label>RimCoin</label> <workerClass>RimCoin.ItemCollectionGenerator_RimCoin</workerClass> </ItemCollectionGeneratorDef> </Defs>
{'content_hash': 'c674603c3d154d83055ce1c4de8ad190', 'timestamp': '', 'source': 'github', 'line_count': 9, 'max_line_length': 70, 'avg_line_length': 28.555555555555557, 'alnum_prop': 0.7354085603112841, 'repo_name': 'erdelf/RimCoin', 'id': 'f8823ae8392570a3486bb54663856d81df779304', 'size': '257', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Defs/ItemCollectionGenerator.xml', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C#', 'bytes': '21619'}]}
package pt.up.fe.sdis.proj1.protocols.initiator; import pt.up.fe.sdis.proj1.BackupSystem; import pt.up.fe.sdis.proj1.messages.Message; import pt.up.fe.sdis.proj1.protocols.AbstractProtocol; import pt.up.fe.sdis.proj1.utils.FileID; import pt.up.fe.sdis.proj1.utils.Pair; public class FileDeletion extends AbstractProtocol { public FileDeletion(BackupSystem bs, String filePath, Long modificationMillis) { super(null); Pair<FileID, Integer> fileInfo = bs.Files.getOwnFileVersionInfo(filePath, modificationMillis); if (fileInfo == null) return; Message msg = Message.makeDelete(fileInfo.first); bs.Comm.MC.Sender.Send(msg); bs.Files.addRemovedFile(fileInfo.first); bs.Files.removeOwnFile(filePath, modificationMillis); } @Override public void ProcessMessage(Message msg) { } }
{'content_hash': '228f3ac0e88345dc2bc91625328b3e41', 'timestamp': '', 'source': 'github', 'line_count': 25, 'max_line_length': 102, 'avg_line_length': 35.32, 'alnum_prop': 0.7044167610419027, 'repo_name': 'migulorama/feup-sdis-2014', 'id': '4d185acc689a1ceeb95a52320b19252482d99ff3', 'size': '883', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/pt/up/fe/sdis/proj1/protocols/initiator/FileDeletion.java', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Java', 'bytes': '171617'}, {'name': 'Shell', 'bytes': '463'}]}
class Admin::TechnologiesController < Admin::ResourcesController end
{'content_hash': 'e479d1cc59bbd07b57a5626633901d8a', 'timestamp': '', 'source': 'github', 'line_count': 3, 'max_line_length': 64, 'avg_line_length': 23.333333333333332, 'alnum_prop': 0.8428571428571429, 'repo_name': 'CarouselSMS/RecessMobile.com', 'id': '8bb109ef313f1fbcd85c7bbad2306eac5e67c71d', 'size': '141', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'app/controllers/admin/technologies_controller.rb', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'JavaScript', 'bytes': '13995'}, {'name': 'Ruby', 'bytes': '80425'}]}
<skins> <skin> <att name="Name" value="sknTbx2NormalSampleApp" type="String"/> <att name="WidgetType" value="TextBox2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknSeg2HeaderSampleApp" type="String"/> <att name="WidgetType" value="Segment2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="bold" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknlblNormal" type="String"/> <att name="WidgetType" value="Label" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="TxtShadow_color" value="0,0,0" type="RGB"/> <att name="TxtShadow_x" value="0" type="Integer"/> <att name="TxtShadow_y" value="0" type="Integer"/> <att name="TxtBlurRadius" value="0" type="Integer"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknSeg2FocusSampleApp" type="String"/> <att name="WidgetType" value="Segment2" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="247,154,41" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,154,41" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknBtnNormalSampleApp" type="String"/> <att name="WidgetType" value="Button" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="239,239,239" type="RGB"/> <att name="Background_gradient_bottom_color" value="190,190,190" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="TxtShadow_color" value="0,0,0" type="RGB"/> <att name="TxtShadow_x" value="0" type="Integer"/> <att name="TxtShadow_y" value="0" type="Integer"/> <att name="TxtBlurRadius" value="0" type="Integer"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknBtnFocusSampleApp" type="String"/> <att name="WidgetType" value="Button" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,158,0" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,162,24" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="99,99,99" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="99,99,99" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="99,99,99" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="99,99,99" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="TxtShadow_color" value="0,0,0" type="RGB"/> <att name="TxtShadow_x" value="0" type="Integer"/> <att name="TxtShadow_y" value="0" type="Integer"/> <att name="TxtBlurRadius" value="0" type="Integer"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknSeg2NormalSampleApp" type="String"/> <att name="WidgetType" value="Segment2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknTxb2PlaceHolder" type="String"/> <att name="WidgetType" value="TextBox2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="sknTbx2FocusSampleApp" type="String"/> <att name="WidgetType" value="TextBox2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="gal2Focus" type="String"/> <att name="WidgetType" value="ImageGallery2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="galNormal" type="String"/> <att name="WidgetType" value="ImageGallery" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="richNormal" type="String"/> <att name="WidgetType" value="RichText" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="segNormal" type="String"/> <att name="WidgetType" value="Segment" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="lblNormal" type="String"/> <att name="WidgetType" value="Label" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="TxtShadow_color" value="0,0,0" type="RGB"/> <att name="TxtShadow_x" value="0" type="Integer"/> <att name="TxtShadow_y" value="0" type="Integer"/> <att name="TxtBlurRadius" value="0" type="Integer"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="calNormal" type="String"/> <att name="WidgetType" value="Calendar" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="dgHead" type="String"/> <att name="WidgetType" value="DataGrid" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="bold" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="FontNameMap" value="SPA iPhone,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="galFocus" type="String"/> <att name="WidgetType" value="ImageGallery" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="seg2Focus" type="String"/> <att name="WidgetType" value="Segment2" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="247,154,41" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,154,41" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="seg2Header" type="String"/> <att name="WidgetType" value="Segment2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="bold" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="radioNormal" type="String"/> <att name="WidgetType" value="RadioButtonGroup" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="cboxNormal" type="String"/> <att name="WidgetType" value="ComboBox" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="2" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="2" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="2" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="2" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="camNormal" type="String"/> <att name="WidgetType" value="Camera" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="239,239,239" type="RGB"/> <att name="Background_gradient_bottom_color" value="190,190,190" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="tbxNormal" type="String"/> <att name="WidgetType" value="TextBox" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="hStripNormal" type="String"/> <att name="WidgetType" value="HImageStrip" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="phoneNormal" type="String"/> <att name="WidgetType" value="Phone" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="239,239,239" type="RGB"/> <att name="Background_gradient_bottom_color" value="190,190,190" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="txtFocus" type="String"/> <att name="WidgetType" value="TextArea" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="listboxNormal" type="String"/> <att name="WidgetType" value="ListBox" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="2" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="2" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="2" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="2" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="tbx2Normal" type="String"/> <att name="WidgetType" value="TextBox2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="btnNormal" type="String"/> <att name="WidgetType" value="Button" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="239,239,239" type="RGB"/> <att name="Background_gradient_bottom_color" value="190,190,190" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="TxtShadow_color" value="0,0,0" type="RGB"/> <att name="TxtShadow_x" value="0" type="Integer"/> <att name="TxtShadow_y" value="0" type="Integer"/> <att name="TxtBlurRadius" value="0" type="Integer"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="segFocus" type="String"/> <att name="WidgetType" value="Segment" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="247,154,41" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,154,41" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="hStrip2Focus" type="String"/> <att name="WidgetType" value="HImageStrip2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="phoneFocus" type="String"/> <att name="WidgetType" value="Phone" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,158,0" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,162,24" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="99,99,99" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="99,99,99" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="99,99,99" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="99,99,99" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="dgRow" type="String"/> <att name="WidgetType" value="DataGrid" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="FontNameMap" value="SPA iPhone,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="cboxFocus" type="String"/> <att name="WidgetType" value="ComboBox" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="2" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="2" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="2" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="2" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="seg2Normal" type="String"/> <att name="WidgetType" value="Segment2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="dgFocus" type="String"/> <att name="WidgetType" value="DataGrid" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="247,154,41" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,154,41" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="FontNameMap" value="SPA Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="cbxNormal" type="String"/> <att name="WidgetType" value="CheckBoxGroup" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="radioFocus" type="String"/> <att name="WidgetType" value="RadioButtonGroup" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="hStrip2Normal" type="String"/> <att name="WidgetType" value="HImageStrip2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="txt2Focus" type="String"/> <att name="WidgetType" value="TextArea2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="tbxFocus" type="String"/> <att name="WidgetType" value="TextBox" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="listboxFocus" type="String"/> <att name="WidgetType" value="ListBox" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="2" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="2" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="2" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="2" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="camFocus" type="String"/> <att name="WidgetType" value="Camera" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,158,0" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,162,24" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="99,99,99" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="99,99,99" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="99,99,99" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="99,99,99" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="segHeader" type="String"/> <att name="WidgetType" value="Segment" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="bold" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="50" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="tbx2Focus" type="String"/> <att name="WidgetType" value="TextBox2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="txtNormal" type="String"/> <att name="WidgetType" value="TextArea" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="calFocus" type="String"/> <att name="WidgetType" value="Calendar" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="255,158,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="255,158,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="255,158,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="255,158,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="gal2Normal" type="String"/> <att name="WidgetType" value="ImageGallery2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="txt2Normal" type="String"/> <att name="WidgetType" value="TextArea2" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="btnFocus" type="String"/> <att name="WidgetType" value="Button" type="String"/> <att name="Bg_type" value="1" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,158,0" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,162,24" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="1" type="int"/> <att name="Background_gradient_bottom_colorSet" value="1" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="left" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="99,99,99" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="99,99,99" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="99,99,99" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="99,99,99" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="TxtShadow_color" value="0,0,0" type="RGB"/> <att name="TxtShadow_x" value="0" type="Integer"/> <att name="TxtShadow_y" value="0" type="Integer"/> <att name="TxtBlurRadius" value="0" type="Integer"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="cbxFocus" type="String"/> <att name="WidgetType" value="CheckBoxGroup" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="none" type="String"/> <att name="Font_size" value="130" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="0" type="int"/> <att name="TopBorderColor" value="0,0,0" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="0" type="int"/> <att name="LeftBorderColor" value="0,0,0" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="0" type="int"/> <att name="BottomBorderColor" value="0,0,0" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="0" type="int"/> <att name="RightBorderColor" value="0,0,0" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="FontNameMap" value="XHTML Adv Android,Arial" type="map"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> <skin> <att name="Name" value="hStripFocus" type="String"/> <att name="WidgetType" value="HImageStrip" type="String"/> <att name="Bg_type" value="3" type="int"/> <att name="Background_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_color" value="255,255,255" type="RGB"/> <att name="Bg_gradient_style" value="0" type="int"/> <att name="Rightbg_gradient_style" value="0" type="int"/> <att name="Background_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_top_color" value="255,255,255" type="RGB"/> <att name="Rightbackground_gradient_bottom_color" value="255,255,255" type="RGB"/> <att name="Background_gradient_top_colorSet" value="0" type="int"/> <att name="Background_gradient_bottom_colorSet" value="0" type="int"/> <att name="Background_image" value="" type="String"/> <att name="MobileBackground_image" value="" type="String"/> <att name="TabletBackground_image" value="" type="String"/> <att name="DesktopBackground_image" value="" type="String"/> <att name="Right_background_image" value="" type="String"/> <att name="Mobile_right_background_image" value="" type="String"/> <att name="Tablet_right_background_image" value="" type="String"/> <att name="Desktop_right_background_image" value="" type="String"/> <att name="Bg_iphone_image" value="" type="String"/> <att name="Bg_android_image" value="" type="String"/> <att name="Bg_palm_image" value="" type="String"/> <att name="Bg_normal_image" value="" type="String"/> <att name="Bg_medium_image" value="" type="String"/> <att name="Bg_small_image" value="" type="String"/> <att name="Bg_gradient" value="false,0,00000000 0,ffffff00 100,midpoints:50,positions:0 545,xpositionValues:0 100" type="String"/> <att name="Bg_bb_image" value="" type="String"/> <att name="Bg_bb10_image" value="" type="String"/> <att name="Bg_winmobile_image" value="" type="String"/> <att name="Bg_winphone8_image" value="" type="String"/> <att name="Bg_windows8_image" value="" type="String"/> <att name="Bg_winmobile6x_image" value="" type="String"/> <att name="Bg_iphoneiui_image" value="" type="String"/> <att name="Bg_j2me_image" value="" type="String"/> <att name="Bg_symbian_image" value="" type="String"/> <att name="Bg_ipad_image" value="" type="String"/> <att name="Bg_android_rc_tablet_image" value="" type="String"/> <att name="Bg_adviphone_image" value="" type="String"/> <att name="Bg_adv_bb_image" value="" type="String"/> <att name="Bg_advpalm_image" value="" type="String"/> <att name="Bg_advandroid_image" value="" type="String"/> <att name="Bg_advother_image" value="" type="String"/> <att name="Bg_advnth_image" value="" type="String"/> <att name="Bg_spaiphone_image" value="" type="String"/> <att name="Bg_spabb_image" value="" type="String"/> <att name="Bg_spaandroid_image" value="" type="String"/> <att name="Bg_spa_windows_image" value="" type="String"/> <att name="Bg_spa_winphone8_image" value="" type="String"/> <att name="Bg_spa_bbnth_image" value="" type="String"/> <att name="Bg_js240_image" value="" type="String"/> <att name="Bg_js320_image" value="" type="String"/> <att name="Bg_js480_image" value="" type="String"/> <att name="Bg_desktopKiosk_image" value="" type="String"/> <att name="Bg_desktopWeb_image" value="" type="String"/> <att name="Bg_spaipad_image" value="" type="String"/> <att name="Bg_spaandroid_tablet_image" value="" type="String"/> <att name="Bg_spawindows_tablet_image" value="" type="String"/> <att name="Font_weight" value="normal" type="String"/> <att name="Font_style" value="" type="String"/> <att name="Font_size" value="100" type="String"/> <att name="Font_color" value="0,0,0" type="RGB"/> <att name="Font_color_alpha" value="0" type="String"/> <att name="Rightfont_weight" value="normal" type="String"/> <att name="Rightfont_style" value="" type="String"/> <att name="Rightfont_size" value="100" type="String"/> <att name="Rightfont_name" value="None" type="String"/> <att name="BorderType" value="0" type="int"/> <att name="BorderRadius" value="0" type="Integer"/> <att name="Border_color" value="0,0,0" type="RGB"/> <att name="Border_width" value="0" type="Integer"/> <att name="Border_style" value="0" type="int"/> <att name="Bg_img_style" value="0" type="int"/> <att name="Bg_one_color_style" value="0" type="int"/> <att name="Platform" value="12" type="int"/> <att name="arcRadius" value="0" type="int"/> <att name="Stretch_image" value="false" type="Boolean"/> <att name="Bg_height" value="15" type="Integer"/> <att name="Repeat_image" value="false" type="Boolean"/> <att name="Repeat_vertically_image" value="false" type="Boolean"/> <att name="CustomCss" value="false" type="Boolean"/> <att name="Enable_bg_size" value="false" type="Boolean"/> <att name="Background-size" value="0" type="int"/> <att name="Split_value" value="50" type="String"/> <att name="Bg_alpha" value="0" type="String"/> <att name="Bg_top_alpha" value="0" type="String"/> <att name="Bg_bottom_alpha" value="0" type="String"/> <att name="Right_bg_alpha" value="0" type="String"/> <att name="Right_bg_top_alpha" value="0" type="String"/> <att name="Right_bg_bottom_alpha" value="0" type="String"/> <att name="Border_color_alpha" value="0" type="String"/> <att name="PgIndicatorImgURL" value="" type="String"/> <att name="PgIndicatorImgPositon" value="" type="String"/> <att name="PgIndicatorImgWidget" value="Button" type="String"/> <att name="ProgressIndicatorComposite_style" value="3" type="int"/> <att name="ProgressIndicatorComposite_color" value="255,255,255" type="RGB"/> <att name="ProgressIndicatorColourOpacity" value="100" type="int"/> <att name="BlockingImgURL" value="" type="String"/> <att name="BlockingImgPositon" value="" type="String"/> <att name="BlockingImgWidget" value="Button" type="String"/> <att name="TopBorderWidth" value="1" type="int"/> <att name="TopBorderColor" value="165,165,165" type="RGB"/> <att name="TopBorderColorTransparency" value="0" type="int"/> <att name="TopBorderStyle" value="plain" type="String"/> <att name="TopBorderRadius" value="10" type="int"/> <att name="LeftBorderWidth" value="1" type="int"/> <att name="LeftBorderColor" value="165,165,165" type="RGB"/> <att name="LeftBorderColorTransparency" value="0" type="int"/> <att name="LeftBorderStyle" value="plain" type="String"/> <att name="LeftBorderRadius" value="10" type="int"/> <att name="BottomBorderWidth" value="1" type="int"/> <att name="BottomBorderColor" value="165,165,165" type="RGB"/> <att name="BottomBorderColorTransparency" value="0" type="int"/> <att name="BottomBorderStyle" value="plain" type="String"/> <att name="BottomBorderRadius" value="10" type="int"/> <att name="RightBorderWidth" value="1" type="int"/> <att name="RightBorderColor" value="165,165,165" type="RGB"/> <att name="RightBorderColorTransparency" value="0" type="int"/> <att name="RightBorderStyle" value="plain" type="String"/> <att name="RightBorderRadius" value="10" type="int"/> <att name="Child_topBorderRadius" value="10" type="int"/> <att name="Child_leftBorderRadius" value="10" type="int"/> <att name="Child_rightBorderRadius" value="10" type="int"/> <att name="Child_bottomBorderRadius" value="10" type="int"/> <att name="Shadow_color" value="0,0,0" type="RGB"/> <att name="Shadow_x" value="0" type="Integer"/> <att name="Shadow_y" value="0" type="Integer"/> <att name="BlurRadius" value="0" type="Integer"/> <att name="InnerShadow" value="false" type="Boolean"/> <att name="ApplicablePlatforms" value="1111100111110111111111110000111" type="String"/> <att name="UseNative" value="false" type="Boolean"/> <att name="Font_color_override" value="true" type="Boolean"/> <att name="Font_name_override" value="true" type="Boolean"/> <att name="Font_size_override" value="true" type="Boolean"/> <att name="Font_style_override" value="true" type="Boolean"/> <att name="Font_weight_override" value="true" type="Boolean"/> <att name="Bg_color_override" value="true" type="Boolean"/> <att name="Chart2d3dProperties" value="" type="String"/> </skin> </skins>
{'content_hash': 'ba6492d4b9fb6f8778423b1dfd1643a0', 'timestamp': '', 'source': 'github', 'line_count': 7383, 'max_line_length': 138, 'avg_line_length': 64.50643369903833, 'alnum_prop': 0.6140270571610348, 'repo_name': 'kony/OfflineData', 'id': 'd1301ba60e9f1d3fb8827ddca27c0a5c0f571d62', 'size': '476251', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'OfflineData/themes/default/xhtmladvandroidskin.xml', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Batchfile', 'bytes': '258'}, {'name': 'JavaScript', 'bytes': '102339'}, {'name': 'Shell', 'bytes': '195'}, {'name': 'Standard ML', 'bytes': '232'}]}
using System; using System.Runtime.Serialization; //Reference Required for DataContract and DataMember /////////////////////////////////////////////////////////// //Do not modify this file. Use a partial class to extend.// /////////////////////////////////////////////////////////// // This class is the front facing contract. // Extend functionality by making a partial class, and overriding. namespace CALI.Database.Contracts.Data { [DataContract(Namespace = "QueryContract")] public partial class QueryContract : QueryContractBase { //Put your code in a separate file. This is auto generated. } }
{'content_hash': '88d1209ec84662f273168d156fc883b5', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 88, 'avg_line_length': 36.705882352941174, 'alnum_prop': 0.6041666666666666, 'repo_name': 'SPDEVGUY/CALI-AI', 'id': 'd1c3b7ce900ed373e670540a96f929505f1b3ef6', 'size': '624', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Database/Contracts/Data/Query/QueryContract.cs', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'ASP', 'bytes': '96'}, {'name': 'C#', 'bytes': '641354'}, {'name': 'CSS', 'bytes': '35816'}, {'name': 'JavaScript', 'bytes': '61611'}]}
package org.apache.spark.sql.catalyst.expressions import org.apache.spark.sql.catalyst.InternalRow import org.apache.spark.sql.catalyst.analysis.{FunctionRegistry, TypeCheckResult, TypeCoercion} import org.apache.spark.sql.catalyst.expressions.codegen._ import org.apache.spark.sql.catalyst.expressions.codegen.Block._ import org.apache.spark.sql.catalyst.util.{IntervalUtils, TypeUtils} import org.apache.spark.sql.internal.SQLConf import org.apache.spark.sql.types._ import org.apache.spark.unsafe.types.CalendarInterval @ExpressionDescription( usage = "_FUNC_(expr) - Returns the negated value of `expr`.", examples = """ Examples: > SELECT _FUNC_(1); -1 """, since = "1.0.0") case class UnaryMinus( child: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends UnaryExpression with ExpectsInputTypes with NullIntolerant { def this(child: Expression) = this(child, SQLConf.get.ansiEnabled) override def inputTypes: Seq[AbstractDataType] = Seq(TypeCollection.NumericAndInterval) override def dataType: DataType = child.dataType override def toString: String = s"-$child" private lazy val numeric = TypeUtils.getNumeric(dataType, failOnError) override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = dataType match { case _: DecimalType => defineCodeGen(ctx, ev, c => s"$c.unary_$$minus()") case ByteType | ShortType if failOnError => nullSafeCodeGen(ctx, ev, eval => { val javaBoxedType = CodeGenerator.boxedType(dataType) val javaType = CodeGenerator.javaType(dataType) val originValue = ctx.freshName("origin") s""" |$javaType $originValue = ($javaType)($eval); |if ($originValue == $javaBoxedType.MIN_VALUE) { | throw new ArithmeticException("- " + $originValue + " caused overflow."); |} |${ev.value} = ($javaType)(-($originValue)); """.stripMargin }) case IntegerType | LongType if failOnError => nullSafeCodeGen(ctx, ev, eval => { val mathClass = classOf[Math].getName s"${ev.value} = $mathClass.negateExact($eval);" }) case dt: NumericType => nullSafeCodeGen(ctx, ev, eval => { val originValue = ctx.freshName("origin") // codegen would fail to compile if we just write (-($c)) // for example, we could not write --9223372036854775808L in code s""" ${CodeGenerator.javaType(dt)} $originValue = (${CodeGenerator.javaType(dt)})($eval); ${ev.value} = (${CodeGenerator.javaType(dt)})(-($originValue)); """}) case _: CalendarIntervalType => val iu = IntervalUtils.getClass.getCanonicalName.stripSuffix("$") val method = if (failOnError) "negateExact" else "negate" defineCodeGen(ctx, ev, c => s"$iu.$method($c)") } protected override def nullSafeEval(input: Any): Any = dataType match { case CalendarIntervalType if failOnError => IntervalUtils.negateExact(input.asInstanceOf[CalendarInterval]) case CalendarIntervalType => IntervalUtils.negate(input.asInstanceOf[CalendarInterval]) case _ => numeric.negate(input) } override def sql: String = { getTagValue(FunctionRegistry.FUNC_ALIAS).getOrElse("-") match { case "-" => s"(- ${child.sql})" case funcName => s"$funcName(${child.sql})" } } } @ExpressionDescription( usage = "_FUNC_(expr) - Returns the value of `expr`.", examples = """ Examples: > SELECT _FUNC_(1); 1 """, since = "1.5.0") case class UnaryPositive(child: Expression) extends UnaryExpression with ExpectsInputTypes with NullIntolerant { override def prettyName: String = "positive" override def inputTypes: Seq[AbstractDataType] = Seq(TypeCollection.NumericAndInterval) override def dataType: DataType = child.dataType override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = defineCodeGen(ctx, ev, c => c) protected override def nullSafeEval(input: Any): Any = input override def sql: String = s"(+ ${child.sql})" } /** * A function that get the absolute value of the numeric value. */ @ExpressionDescription( usage = "_FUNC_(expr) - Returns the absolute value of the numeric value.", examples = """ Examples: > SELECT _FUNC_(-1); 1 """, since = "1.2.0") case class Abs(child: Expression) extends UnaryExpression with ExpectsInputTypes with NullIntolerant { override def inputTypes: Seq[AbstractDataType] = Seq(NumericType) override def dataType: DataType = child.dataType private lazy val numeric = TypeUtils.getNumeric(dataType) override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = dataType match { case _: DecimalType => defineCodeGen(ctx, ev, c => s"$c.abs()") case dt: NumericType => defineCodeGen(ctx, ev, c => s"(${CodeGenerator.javaType(dt)})(java.lang.Math.abs($c))") } protected override def nullSafeEval(input: Any): Any = numeric.abs(input) } abstract class BinaryArithmetic extends BinaryOperator with NullIntolerant { protected val failOnError: Boolean override def dataType: DataType = left.dataType override lazy val resolved: Boolean = childrenResolved && checkInputDataTypes().isSuccess /** Name of the function for this expression on a [[Decimal]] type. */ def decimalMethod: String = sys.error("BinaryArithmetics must override either decimalMethod or genCode") /** Name of the function for this expression on a [[CalendarInterval]] type. */ def calendarIntervalMethod: String = sys.error("BinaryArithmetics must override either calendarIntervalMethod or genCode") // Name of the function for the exact version of this expression in [[Math]]. // If the option "spark.sql.ansi.enabled" is enabled and there is corresponding // function in [[Math]], the exact function will be called instead of evaluation with [[symbol]]. def exactMathMethod: Option[String] = None override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = dataType match { case _: DecimalType => // Overflow is handled in the CheckOverflow operator defineCodeGen(ctx, ev, (eval1, eval2) => s"$eval1.$decimalMethod($eval2)") case CalendarIntervalType => val iu = IntervalUtils.getClass.getCanonicalName.stripSuffix("$") defineCodeGen(ctx, ev, (eval1, eval2) => s"$iu.$calendarIntervalMethod($eval1, $eval2)") // byte and short are casted into int when add, minus, times or divide case ByteType | ShortType => nullSafeCodeGen(ctx, ev, (eval1, eval2) => { val tmpResult = ctx.freshName("tmpResult") val overflowCheck = if (failOnError) { val javaType = CodeGenerator.boxedType(dataType) s""" |if ($tmpResult < $javaType.MIN_VALUE || $tmpResult > $javaType.MAX_VALUE) { | throw new ArithmeticException($eval1 + " $symbol " + $eval2 + " caused overflow."); |} """.stripMargin } else { "" } s""" |${CodeGenerator.JAVA_INT} $tmpResult = $eval1 $symbol $eval2; |$overflowCheck |${ev.value} = (${CodeGenerator.javaType(dataType)})($tmpResult); """.stripMargin }) case IntegerType | LongType => nullSafeCodeGen(ctx, ev, (eval1, eval2) => { val operation = if (failOnError && exactMathMethod.isDefined) { val mathClass = classOf[Math].getName s"$mathClass.${exactMathMethod.get}($eval1, $eval2)" } else { s"$eval1 $symbol $eval2" } s""" |${ev.value} = $operation; """.stripMargin }) case DoubleType | FloatType => // When Double/Float overflows, there can be 2 cases: // - precision loss: according to SQL standard, the number is truncated; // - returns (+/-)Infinite: same behavior also other DBs have (eg. Postgres) nullSafeCodeGen(ctx, ev, (eval1, eval2) => { s""" |${ev.value} = $eval1 $symbol $eval2; """.stripMargin }) } } object BinaryArithmetic { def unapply(e: BinaryArithmetic): Option[(Expression, Expression)] = Some((e.left, e.right)) } @ExpressionDescription( usage = "expr1 _FUNC_ expr2 - Returns `expr1`+`expr2`.", examples = """ Examples: > SELECT 1 _FUNC_ 2; 3 """, since = "1.0.0") case class Add( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends BinaryArithmetic { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def inputType: AbstractDataType = TypeCollection.NumericAndInterval override def symbol: String = "+" override def decimalMethod: String = "$plus" override def calendarIntervalMethod: String = if (failOnError) "addExact" else "add" private lazy val numeric = TypeUtils.getNumeric(dataType, failOnError) protected override def nullSafeEval(input1: Any, input2: Any): Any = dataType match { case CalendarIntervalType if failOnError => IntervalUtils.addExact( input1.asInstanceOf[CalendarInterval], input2.asInstanceOf[CalendarInterval]) case CalendarIntervalType => IntervalUtils.add( input1.asInstanceOf[CalendarInterval], input2.asInstanceOf[CalendarInterval]) case _ => numeric.plus(input1, input2) } override def exactMathMethod: Option[String] = Some("addExact") } @ExpressionDescription( usage = "expr1 _FUNC_ expr2 - Returns `expr1`-`expr2`.", examples = """ Examples: > SELECT 2 _FUNC_ 1; 1 """, since = "1.0.0") case class Subtract( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends BinaryArithmetic { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def inputType: AbstractDataType = TypeCollection.NumericAndInterval override def symbol: String = "-" override def decimalMethod: String = "$minus" override def calendarIntervalMethod: String = if (failOnError) "subtractExact" else "subtract" private lazy val numeric = TypeUtils.getNumeric(dataType, failOnError) protected override def nullSafeEval(input1: Any, input2: Any): Any = dataType match { case CalendarIntervalType if failOnError => IntervalUtils.subtractExact( input1.asInstanceOf[CalendarInterval], input2.asInstanceOf[CalendarInterval]) case CalendarIntervalType => IntervalUtils.subtract( input1.asInstanceOf[CalendarInterval], input2.asInstanceOf[CalendarInterval]) case _ => numeric.minus(input1, input2) } override def exactMathMethod: Option[String] = Some("subtractExact") } @ExpressionDescription( usage = "expr1 _FUNC_ expr2 - Returns `expr1`*`expr2`.", examples = """ Examples: > SELECT 2 _FUNC_ 3; 6 """, since = "1.0.0") case class Multiply( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends BinaryArithmetic { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def inputType: AbstractDataType = NumericType override def symbol: String = "*" override def decimalMethod: String = "$times" private lazy val numeric = TypeUtils.getNumeric(dataType, failOnError) protected override def nullSafeEval(input1: Any, input2: Any): Any = numeric.times(input1, input2) override def exactMathMethod: Option[String] = Some("multiplyExact") } // Common base trait for Divide and Remainder, since these two classes are almost identical trait DivModLike extends BinaryArithmetic { protected def decimalToDataTypeCodeGen(decimalResult: String): String = decimalResult override def nullable: Boolean = true private lazy val isZero: Any => Boolean = right.dataType match { case _: DecimalType => x => x.asInstanceOf[Decimal].isZero case _ => x => x == 0 } final override def eval(input: InternalRow): Any = { // evaluate right first as we have a chance to skip left if right is 0 val input2 = right.eval(input) if (input2 == null || (!failOnError && isZero(input2))) { null } else { val input1 = left.eval(input) if (input1 == null) { null } else { if (isZero(input2)) { // when we reach here, failOnError must bet true. throw new ArithmeticException("divide by zero") } evalOperation(input1, input2) } } } def evalOperation(left: Any, right: Any): Any /** * Special case handling due to division/remainder by 0 => null or ArithmeticException. */ override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = { val eval1 = left.genCode(ctx) val eval2 = right.genCode(ctx) val operandsDataType = left.dataType val isZero = if (operandsDataType.isInstanceOf[DecimalType]) { s"${eval2.value}.isZero()" } else { s"${eval2.value} == 0" } val javaType = CodeGenerator.javaType(dataType) val operation = if (operandsDataType.isInstanceOf[DecimalType]) { decimalToDataTypeCodeGen(s"${eval1.value}.$decimalMethod(${eval2.value})") } else { s"($javaType)(${eval1.value} $symbol ${eval2.value})" } // evaluate right first as we have a chance to skip left if right is 0 if (!left.nullable && !right.nullable) { val divByZero = if (failOnError) { "throw new ArithmeticException(\"divide by zero\");" } else { s"${ev.isNull} = true;" } ev.copy(code = code""" ${eval2.code} boolean ${ev.isNull} = false; $javaType ${ev.value} = ${CodeGenerator.defaultValue(dataType)}; if ($isZero) { $divByZero } else { ${eval1.code} ${ev.value} = $operation; }""") } else { val nullOnErrorCondition = if (failOnError) "" else s" || $isZero" val failOnErrorBranch = if (failOnError) { s"""if ($isZero) throw new ArithmeticException("divide by zero");""" } else { "" } ev.copy(code = code""" ${eval2.code} boolean ${ev.isNull} = false; $javaType ${ev.value} = ${CodeGenerator.defaultValue(dataType)}; if (${eval2.isNull}$nullOnErrorCondition) { ${ev.isNull} = true; } else { ${eval1.code} if (${eval1.isNull}) { ${ev.isNull} = true; } else { $failOnErrorBranch ${ev.value} = $operation; } }""") } } } // scalastyle:off line.size.limit @ExpressionDescription( usage = "expr1 _FUNC_ expr2 - Returns `expr1`/`expr2`. It always performs floating point division.", examples = """ Examples: > SELECT 3 _FUNC_ 2; 1.5 > SELECT 2L _FUNC_ 2L; 1.0 """, since = "1.0.0") // scalastyle:on line.size.limit case class Divide( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends DivModLike { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def inputType: AbstractDataType = TypeCollection(DoubleType, DecimalType) override def symbol: String = "/" override def decimalMethod: String = "$div" private lazy val div: (Any, Any) => Any = dataType match { case ft: FractionalType => ft.fractional.asInstanceOf[Fractional[Any]].div } override def evalOperation(left: Any, right: Any): Any = div(left, right) } // scalastyle:off line.size.limit @ExpressionDescription( usage = "expr1 _FUNC_ expr2 - Divide `expr1` by `expr2`. It returns NULL if an operand is NULL or `expr2` is 0. The result is casted to long.", examples = """ Examples: > SELECT 3 _FUNC_ 2; 1 """, since = "3.0.0") // scalastyle:on line.size.limit case class IntegralDivide( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends DivModLike { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def inputType: AbstractDataType = TypeCollection(LongType, DecimalType) override def dataType: DataType = LongType override def symbol: String = "/" override def decimalMethod: String = "quot" override def decimalToDataTypeCodeGen(decimalResult: String): String = s"$decimalResult.toLong()" override def sqlOperator: String = "div" private lazy val div: (Any, Any) => Any = { val integral = left.dataType match { case i: IntegralType => i.integral.asInstanceOf[Integral[Any]] case d: DecimalType => d.asIntegral.asInstanceOf[Integral[Any]] } (x, y) => { val res = integral.quot(x, y) if (res == null) { null } else { integral.asInstanceOf[Integral[Any]].toLong(res) } } } override def evalOperation(left: Any, right: Any): Any = div(left, right) } @ExpressionDescription( usage = "expr1 _FUNC_ expr2 - Returns the remainder after `expr1`/`expr2`.", examples = """ Examples: > SELECT 2 % 1.8; 0.2 > SELECT MOD(2, 1.8); 0.2 """, since = "1.0.0") case class Remainder( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends DivModLike { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def inputType: AbstractDataType = NumericType override def symbol: String = "%" override def decimalMethod: String = "remainder" override def toString: String = { getTagValue(FunctionRegistry.FUNC_ALIAS).getOrElse(sqlOperator) match { case operator if operator == sqlOperator => s"($left $sqlOperator $right)" case funcName => s"$funcName($left, $right)" } } override def sql: String = { getTagValue(FunctionRegistry.FUNC_ALIAS).getOrElse(sqlOperator) match { case operator if operator == sqlOperator => s"(${left.sql} $sqlOperator ${right.sql})" case funcName => s"$funcName(${left.sql}, ${right.sql})" } } private lazy val mod: (Any, Any) => Any = dataType match { // special cases to make float/double primitive types faster case DoubleType => (left, right) => left.asInstanceOf[Double] % right.asInstanceOf[Double] case FloatType => (left, right) => left.asInstanceOf[Float] % right.asInstanceOf[Float] // catch-all cases case i: IntegralType => val integral = i.integral.asInstanceOf[Integral[Any]] (left, right) => integral.rem(left, right) case i: FractionalType => // should only be DecimalType for now val integral = i.asIntegral.asInstanceOf[Integral[Any]] (left, right) => integral.rem(left, right) } override def evalOperation(left: Any, right: Any): Any = mod(left, right) } @ExpressionDescription( usage = "_FUNC_(expr1, expr2) - Returns the positive value of `expr1` mod `expr2`.", examples = """ Examples: > SELECT _FUNC_(10, 3); 1 > SELECT _FUNC_(-10, 3); 2 """, since = "1.5.0") case class Pmod( left: Expression, right: Expression, failOnError: Boolean = SQLConf.get.ansiEnabled) extends BinaryArithmetic { def this(left: Expression, right: Expression) = this(left, right, SQLConf.get.ansiEnabled) override def toString: String = s"pmod($left, $right)" override def symbol: String = "pmod" protected def checkTypesInternal(t: DataType): TypeCheckResult = TypeUtils.checkForNumericExpr(t, "pmod") override def inputType: AbstractDataType = NumericType override def nullable: Boolean = true private lazy val isZero: Any => Boolean = right.dataType match { case _: DecimalType => x => x.asInstanceOf[Decimal].isZero case _ => x => x == 0 } final override def eval(input: InternalRow): Any = { // evaluate right first as we have a chance to skip left if right is 0 val input2 = right.eval(input) if (input2 == null || (!failOnError && isZero(input2))) { null } else { val input1 = left.eval(input) if (input1 == null) { null } else { if (isZero(input2)) { // when we reach here, failOnError must bet true. throw new ArithmeticException("divide by zero") } input1 match { case i: Integer => pmod(i, input2.asInstanceOf[java.lang.Integer]) case l: Long => pmod(l, input2.asInstanceOf[java.lang.Long]) case s: Short => pmod(s, input2.asInstanceOf[java.lang.Short]) case b: Byte => pmod(b, input2.asInstanceOf[java.lang.Byte]) case f: Float => pmod(f, input2.asInstanceOf[java.lang.Float]) case d: Double => pmod(d, input2.asInstanceOf[java.lang.Double]) case d: Decimal => pmod(d, input2.asInstanceOf[Decimal]) } } } } override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = { val eval1 = left.genCode(ctx) val eval2 = right.genCode(ctx) val isZero = if (dataType.isInstanceOf[DecimalType]) { s"${eval2.value}.isZero()" } else { s"${eval2.value} == 0" } val remainder = ctx.freshName("remainder") val javaType = CodeGenerator.javaType(dataType) val result = dataType match { case DecimalType.Fixed(_, _) => val decimalAdd = "$plus" s""" $javaType $remainder = ${eval1.value}.remainder(${eval2.value}); if ($remainder.compare(new org.apache.spark.sql.types.Decimal().set(0)) < 0) { ${ev.value}=($remainder.$decimalAdd(${eval2.value})).remainder(${eval2.value}); } else { ${ev.value}=$remainder; } """ // byte and short are casted into int when add, minus, times or divide case ByteType | ShortType => s""" $javaType $remainder = ($javaType)(${eval1.value} % ${eval2.value}); if ($remainder < 0) { ${ev.value}=($javaType)(($remainder + ${eval2.value}) % ${eval2.value}); } else { ${ev.value}=$remainder; } """ case _ => s""" $javaType $remainder = ${eval1.value} % ${eval2.value}; if ($remainder < 0) { ${ev.value}=($remainder + ${eval2.value}) % ${eval2.value}; } else { ${ev.value}=$remainder; } """ } // evaluate right first as we have a chance to skip left if right is 0 if (!left.nullable && !right.nullable) { val divByZero = if (failOnError) { "throw new ArithmeticException(\"divide by zero\");" } else { s"${ev.isNull} = true;" } ev.copy(code = code""" ${eval2.code} boolean ${ev.isNull} = false; $javaType ${ev.value} = ${CodeGenerator.defaultValue(dataType)}; if ($isZero) { $divByZero } else { ${eval1.code} $result }""") } else { val nullOnErrorCondition = if (failOnError) "" else s" || $isZero" val failOnErrorBranch = if (failOnError) { s"""if ($isZero) throw new ArithmeticException("divide by zero");""" } else { "" } ev.copy(code = code""" ${eval2.code} boolean ${ev.isNull} = false; $javaType ${ev.value} = ${CodeGenerator.defaultValue(dataType)}; if (${eval2.isNull}$nullOnErrorCondition) { ${ev.isNull} = true; } else { ${eval1.code} if (${eval1.isNull}) { ${ev.isNull} = true; } else { $failOnErrorBranch $result } }""") } } private def pmod(a: Int, n: Int): Int = { val r = a % n if (r < 0) {(r + n) % n} else r } private def pmod(a: Long, n: Long): Long = { val r = a % n if (r < 0) {(r + n) % n} else r } private def pmod(a: Byte, n: Byte): Byte = { val r = a % n if (r < 0) {((r + n) % n).toByte} else r.toByte } private def pmod(a: Double, n: Double): Double = { val r = a % n if (r < 0) {(r + n) % n} else r } private def pmod(a: Short, n: Short): Short = { val r = a % n if (r < 0) {((r + n) % n).toShort} else r.toShort } private def pmod(a: Float, n: Float): Float = { val r = a % n if (r < 0) {(r + n) % n} else r } private def pmod(a: Decimal, n: Decimal): Decimal = { val r = a % n if (r != null && r.compare(Decimal.ZERO) < 0) {(r + n) % n} else r } override def sql: String = s"$prettyName(${left.sql}, ${right.sql})" } /** * A function that returns the least value of all parameters, skipping null values. * It takes at least 2 parameters, and returns null iff all parameters are null. */ @ExpressionDescription( usage = "_FUNC_(expr, ...) - Returns the least value of all parameters, skipping null values.", examples = """ Examples: > SELECT _FUNC_(10, 9, 2, 4, 3); 2 """, since = "1.5.0") case class Least(children: Seq[Expression]) extends ComplexTypeMergingExpression { override def nullable: Boolean = children.forall(_.nullable) override def foldable: Boolean = children.forall(_.foldable) private lazy val ordering = TypeUtils.getInterpretedOrdering(dataType) override def checkInputDataTypes(): TypeCheckResult = { if (children.length <= 1) { TypeCheckResult.TypeCheckFailure( s"input to function $prettyName requires at least two arguments") } else if (!TypeCoercion.haveSameType(inputTypesForMerging)) { TypeCheckResult.TypeCheckFailure( s"The expressions should all have the same type," + s" got LEAST(${children.map(_.dataType.catalogString).mkString(", ")}).") } else { TypeUtils.checkForOrderingExpr(dataType, s"function $prettyName") } } override def eval(input: InternalRow): Any = { children.foldLeft[Any](null)((r, c) => { val evalc = c.eval(input) if (evalc != null) { if (r == null || ordering.lt(evalc, r)) evalc else r } else { r } }) } override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = { val evalChildren = children.map(_.genCode(ctx)) ev.isNull = JavaCode.isNullGlobal(ctx.addMutableState(CodeGenerator.JAVA_BOOLEAN, ev.isNull)) val evals = evalChildren.map(eval => s""" |${eval.code} |${ctx.reassignIfSmaller(dataType, ev, eval)} """.stripMargin ) val resultType = CodeGenerator.javaType(dataType) val codes = ctx.splitExpressionsWithCurrentInputs( expressions = evals, funcName = "least", extraArguments = Seq(resultType -> ev.value), returnType = resultType, makeSplitFunction = body => s""" |$body |return ${ev.value}; """.stripMargin, foldFunctions = _.map(funcCall => s"${ev.value} = $funcCall;").mkString("\n")) ev.copy(code = code""" |${ev.isNull} = true; |$resultType ${ev.value} = ${CodeGenerator.defaultValue(dataType)}; |$codes """.stripMargin) } } /** * A function that returns the greatest value of all parameters, skipping null values. * It takes at least 2 parameters, and returns null iff all parameters are null. */ @ExpressionDescription( usage = "_FUNC_(expr, ...) - Returns the greatest value of all parameters, skipping null values.", examples = """ Examples: > SELECT _FUNC_(10, 9, 2, 4, 3); 10 """, since = "1.5.0") case class Greatest(children: Seq[Expression]) extends ComplexTypeMergingExpression { override def nullable: Boolean = children.forall(_.nullable) override def foldable: Boolean = children.forall(_.foldable) private lazy val ordering = TypeUtils.getInterpretedOrdering(dataType) override def checkInputDataTypes(): TypeCheckResult = { if (children.length <= 1) { TypeCheckResult.TypeCheckFailure( s"input to function $prettyName requires at least two arguments") } else if (!TypeCoercion.haveSameType(inputTypesForMerging)) { TypeCheckResult.TypeCheckFailure( s"The expressions should all have the same type," + s" got GREATEST(${children.map(_.dataType.catalogString).mkString(", ")}).") } else { TypeUtils.checkForOrderingExpr(dataType, s"function $prettyName") } } override def eval(input: InternalRow): Any = { children.foldLeft[Any](null)((r, c) => { val evalc = c.eval(input) if (evalc != null) { if (r == null || ordering.gt(evalc, r)) evalc else r } else { r } }) } override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = { val evalChildren = children.map(_.genCode(ctx)) ev.isNull = JavaCode.isNullGlobal(ctx.addMutableState(CodeGenerator.JAVA_BOOLEAN, ev.isNull)) val evals = evalChildren.map(eval => s""" |${eval.code} |${ctx.reassignIfGreater(dataType, ev, eval)} """.stripMargin ) val resultType = CodeGenerator.javaType(dataType) val codes = ctx.splitExpressionsWithCurrentInputs( expressions = evals, funcName = "greatest", extraArguments = Seq(resultType -> ev.value), returnType = resultType, makeSplitFunction = body => s""" |$body |return ${ev.value}; """.stripMargin, foldFunctions = _.map(funcCall => s"${ev.value} = $funcCall;").mkString("\n")) ev.copy(code = code""" |${ev.isNull} = true; |$resultType ${ev.value} = ${CodeGenerator.defaultValue(dataType)}; |$codes """.stripMargin) } }
{'content_hash': 'ba3399587ad1e41f9d5dda8de5ed0695', 'timestamp': '', 'source': 'github', 'line_count': 873, 'max_line_length': 145, 'avg_line_length': 33.90721649484536, 'alnum_prop': 0.6335934596804162, 'repo_name': 'shuangshuangwang/spark', 'id': 'c69edccc696bb4b6abd2bd39df798b63f6fb24e5', 'size': '30401', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'ANTLR', 'bytes': '38971'}, {'name': 'Batchfile', 'bytes': '30468'}, {'name': 'C', 'bytes': '1493'}, {'name': 'CSS', 'bytes': '26884'}, {'name': 'Dockerfile', 'bytes': '8672'}, {'name': 'HTML', 'bytes': '70197'}, {'name': 'HiveQL', 'bytes': '1823426'}, {'name': 'Java', 'bytes': '3443566'}, {'name': 'JavaScript', 'bytes': '196704'}, {'name': 'Makefile', 'bytes': '9397'}, {'name': 'PLpgSQL', 'bytes': '191716'}, {'name': 'PowerShell', 'bytes': '3856'}, {'name': 'Python', 'bytes': '2868359'}, {'name': 'R', 'bytes': '1177706'}, {'name': 'Roff', 'bytes': '16021'}, {'name': 'SQLPL', 'bytes': '3603'}, {'name': 'Scala', 'bytes': '28311528'}, {'name': 'Shell', 'bytes': '202769'}, {'name': 'Thrift', 'bytes': '33605'}, {'name': 'q', 'bytes': '146878'}]}
/* eslint-env browser */ import React from "react"; import { addSerializers, enzymeTreeSerializer } from "@times-components/jest-serializer"; import { mount } from "enzyme"; import { delay } from "@times-components/test-utils"; import InteractiveWrapper, { polyfillWCIfNecessary } from "../../src/interactive-wrapper"; jest.mock("@times-components/image", () => ({ __esModule: true, Placeholder: () => null })); addSerializers(expect, enzymeTreeSerializer()); describe("interactive-wrapper", () => { let container; let props; let polyfillPromise; async function waitForInserted() { await polyfillPromise; Array.from(document.querySelectorAll("link")).forEach(link => link.onload() ); } beforeEach(() => { jest.useFakeTimers(); document.body.innerHTML = ""; delete document.registerElement; delete HTMLLinkElement.prototype.import; container = document.createElement("div"); document.body.appendChild(container); polyfillPromise = Promise.resolve(null); props = { attributes: { chaptercounter: "Chapter%20one", heading: "A heading", standfirst: "A standfirst" }, element: "chapter-header", id: "a0534eee-682e-4955-8e1e-84b428ef1e79", source: "//components.timesdev.tools/lib2/times-chapter-header-1.0.0/chapter-header.html", fetchPolyfill: () => polyfillPromise }; }); afterEach(() => { document.body.innerHTML = ""; delete document.registerElement; delete HTMLLinkElement.prototype.import; }); describe("polyfillWCIfNecessary", () => { describe("support detection", () => { beforeEach(() => { HTMLLinkElement.prototype.import = true; document.registerElement = jest.fn(); }); it("does nothing if both html imports and custom elements are supported", () => { const { innerHTML } = document.body; expect(document.body.innerHTML).toEqual(innerHTML); return expect(polyfillWCIfNecessary()).resolves.toBe(undefined); }); it("polyfills if html imports are not supported", () => { delete HTMLLinkElement.prototype.import; const promise = polyfillWCIfNecessary(); window.dispatchEvent(new Event("WebComponentsReady")); document.body.querySelector("script").onload(); expect(promise).not.toEqual(null); }); it("polyfills if custom elements are not supported", () => { delete document.registerElement; const promise = polyfillWCIfNecessary(); window.dispatchEvent(new Event("WebComponentsReady")); document.body.querySelector("script").onload(); expect(promise).not.toEqual(null); }); }); it("waits for the script to load and the event to fire before resolving", async () => { let hasResolved = false; const promise = polyfillWCIfNecessary().then(() => { hasResolved = true; }); jest.runAllTicks(); expect(hasResolved).toEqual(false); document.body.querySelector("script").onload(); jest.runAllTicks(); expect(hasResolved).toEqual(false); window.dispatchEvent(new Event("WebComponentsReady")); jest.runAllTicks(); await promise; expect(hasResolved).toEqual(true); }); it("adds the polyfill to the page only once", async () => { const promise = Promise.all([ polyfillWCIfNecessary(), polyfillWCIfNecessary() ]); window.dispatchEvent(new Event("WebComponentsReady")); document.body.querySelector("script").onload(); await promise; const scripts = document.body.querySelectorAll("script"); expect(scripts).toHaveLength(1); expect(scripts[0]).toMatchSnapshot(); }); }); it("calls to fetch polyfill when mounting", () => { const fetchPolyfill = jest.fn(() => Promise.resolve()); mount(<InteractiveWrapper {...props} fetchPolyfill={fetchPolyfill} />, { attachTo: container }); expect(fetchPolyfill).toHaveBeenCalled(); }); it("renders the placeholder correctly", () => { const component = mount(<InteractiveWrapper {...props} />); expect(component).toMatchSnapshot(); }); it("correctly inserts the link tag for the component only once", async () => { const component = mount(<InteractiveWrapper {...props} />); component.setProps({ attributes: { another: "attribute" } }); await waitForInserted(); const links = document.querySelectorAll("link"); expect(links).toHaveLength(1); expect(links[0]).toMatchSnapshot(); }); it("renders correctly once polyfill is loaded", async () => { mount(<InteractiveWrapper {...props} />, { attachTo: container }); await waitForInserted(); expect(container).toMatchSnapshot(); }); it("re-shows the placeholder on re-render", async () => { const component = mount(<InteractiveWrapper {...props} />, { attachTo: container }); await waitForInserted(); component.setProps({ source: "//components.timesdev.tools/new-element.html" }); await polyfillPromise; expect(container).toMatchSnapshot(); }); it("updates the rendered interactive on update", async () => { const component = mount(<InteractiveWrapper {...props} />, { attachTo: container }); await waitForInserted(); component.setProps({ attributes: { another: "attribute" }, element: "another-component", id: "another-component", source: "//components.timesdev.tools/lib2/times-another-component-1.0.0/another-component.html" }); await waitForInserted(); expect(container).toMatchSnapshot(); }); it("ensure that the interactive is only ever inserted once", async () => { jest.useRealTimers(); const component = mount( <InteractiveWrapper {...props} element="test-element" />, { attachTo: container } ); await polyfillPromise; component.setProps({ element: "another-test-element" }); document.querySelector("link").onload(); await polyfillPromise; await delay(0); expect(container.querySelectorAll("another-test-element")).toHaveLength(1); expect(container.querySelectorAll("test-element")).toHaveLength(0); }); });
{'content_hash': '9fe16d7fd037e9ae85e81fe5e2f83646', 'timestamp': '', 'source': 'github', 'line_count': 235, 'max_line_length': 95, 'avg_line_length': 26.940425531914894, 'alnum_prop': 0.6401832253988311, 'repo_name': 'newsuk/times-components', 'id': '71d6cd6ee3f6376c8f3dac291ada4eba6acc74bb', 'size': '6331', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'packages/interactive-wrapper/__tests__/web/interactive-wrapper.test.js', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'HTML', 'bytes': '5636'}, {'name': 'JavaScript', 'bytes': '2981894'}, {'name': 'Rust', 'bytes': '42'}, {'name': 'Shell', 'bytes': '3609'}, {'name': 'TypeScript', 'bytes': '849283'}]}
/* eslint-disable global-require */ import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './modules/App/App'; // require.ensure polyfill for node if (typeof require.ensure !== 'function') { require.ensure = function requireModule(deps, callback) { callback(require); }; } /* Workaround for async react routes to work with react-hot-reloader till https://github.com/reactjs/react-router/issues/2182 and https://github.com/gaearon/react-hot-loader/issues/288 is fixed. */ if (process.env.NODE_ENV !== 'production') { // Require async routes only in development for react-hot-reloader to work. require('./modules/Destination/pages/DestinationListPage/DestinationListPage'); require('./modules/Destination/pages/DestinationDetailPage/DestinationDetailPage'); require('./modules/Survey/pages/SurveyListPage/SurveyListPage'); require('./modules/Survey/pages/SurveyDetailPage/SurveyDetailPage'); } // react-router setup with code-splitting // More info: http://blog.mxstbr.com/2016/01/react-apps-with-pages/ export default ( <Route path="/" component={App}> <IndexRoute name="home" getComponent={(nextState, cb) => { require.ensure([], require => { cb(null, require('./modules/App/pages/HomePage').default); }); }} /> <Route name="destinationsList" path="/destinations" getComponent={(nextState, cb) => { require.ensure([], require => { cb(null, require('./modules/Destination/pages/DestinationListPage/DestinationListPage').default); }); }} /> <Route name="destinationsItem" path="/destinations/:_id" getComponent={(nextState, cb) => { require.ensure([], require => { cb(null, require('./modules/Destination/pages/DestinationDetailPage/DestinationDetailPage').default); }); }} /> <Route name="destinationsItemEdit" path="/destinations/:_id/edit" getComponent={(nextState, cb) => { require.ensure([], require => { cb(null, require('./modules/Destination/pages/DestinationDetailEditPage/DestinationDetailEditPage').default); }); }} /> <Route name="surveysList" path="/surveys" getComponent={(nextState, cb) => { require.ensure([], require => { cb(null, require('./modules/Survey/pages/SurveyListPage/SurveyListPage').default); }); }} /> <Route name="surveysItem" path="/surveys/:_id" getComponent={(nextState, cb) => { require.ensure([], require => { cb(null, require('./modules/Survey/pages/SurveyDetailPage/SurveyDetailPage').default); }); }} /> </Route> );
{'content_hash': '70d48ab7de665f2829b2d3074c71a45b', 'timestamp': '', 'source': 'github', 'line_count': 83, 'max_line_length': 119, 'avg_line_length': 33.30120481927711, 'alnum_prop': 0.6345875542691751, 'repo_name': 'Bonchouuur/kimanjou', 'id': 'da6d26b32c59853bce590b67f92ff577891d1eae', 'size': '2764', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'client/routes.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '568'}, {'name': 'HTML', 'bytes': '1998'}, {'name': 'JavaScript', 'bytes': '92879'}]}
package de.felk.twitchbot.entities; public class NotSavedException extends RuntimeException { public NotSavedException(String string) { super(string); } private static final long serialVersionUID = 1015727161106912498L; }
{'content_hash': 'ca0cd3e4409ae9ba2e739a2a3f3926ab', 'timestamp': '', 'source': 'github', 'line_count': 11, 'max_line_length': 67, 'avg_line_length': 22.0, 'alnum_prop': 0.7644628099173554, 'repo_name': 'Felk/Felkbot', 'id': '994e8df1c114e73bd8b9a20ceb6ffcf773735094', 'size': '242', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'FelkbotPBR/src/de/felk/twitchbot/entities/NotSavedException.java', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Java', 'bytes': '39937'}]}
<?php // LiipHelloBundle:Vie:article.html.twig return array ( );
{'content_hash': 'abf585ace9d40648e3c840058292239e', 'timestamp': '', 'source': 'github', 'line_count': 5, 'max_line_length': 40, 'avg_line_length': 13.2, 'alnum_prop': 0.7121212121212122, 'repo_name': 'kohr/HRSymfony2', 'id': '2c1292787b479ee82850c7e3deff23b86704768c', 'size': '66', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'app/cache/dev/assetic/config/4/414000f30b9639855af6aeb8c0b3cbc9.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'JavaScript', 'bytes': '959806'}, {'name': 'PHP', 'bytes': '681964'}]}
package com.jcommerce.core.dao.impl; import org.springframework.stereotype.Repository; import com.jcommerce.core.dao.KylinSoongDAO; import com.jcommerce.core.model.KylinSoong; @Repository public class KylinSoongDAOImpl extends DAOImpl implements KylinSoongDAO { public KylinSoongDAOImpl() { modelClass = KylinSoong.class; } public void saveKylinSoong(KylinSoong obj) { save(obj); } public void removeKylinSoong(String id) { deleteById(id); } }
{'content_hash': '6f066560f0f88563c89d253fd59319b0', 'timestamp': '', 'source': 'github', 'line_count': 23, 'max_line_length': 73, 'avg_line_length': 20.17391304347826, 'alnum_prop': 0.7801724137931034, 'repo_name': 'jbosschina/jcommerce', 'id': '1c585dd0c811253df5536a42a8b17f89b05e5bfd', 'size': '464', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'sandbox/migration/test/src/main/java/com/jcommerce/core/dao/impl/KylinSoongDAOImpl.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '200608'}, {'name': 'GAP', 'bytes': '2286'}, {'name': 'Java', 'bytes': '4485563'}]}
import flattenStyle from './flattenStyle'; function compareNumbers(a, b) { return a - b; } function notNull(value) { return value !== null; } function parsePosition(value) { if (value === 'from') { return 0; } if (value === 'to') { return 1; } const parsed = parseFloat(value, 10); if (Number.isNaN(parsed) || parsed < 0 || parsed > 1) { return null; } return parsed; } const cache = {}; export default function createAnimation(definition) { const cacheKey = JSON.stringify(definition); if (cache[cacheKey]) { return cache[cacheKey]; } const positions = Object.keys(definition) .map(parsePosition) .filter(notNull); positions.sort(compareNumbers); if (positions.length < 2) { throw new Error('Animation definitions must have at least two values.'); } const compiled = {}; if (definition.easing) { compiled.easing = definition.easing; } if (definition.style) { compiled.style = definition.style; } for (let i = 0; i < positions.length; i += 1) { const position = positions[i]; let keyframe = definition[position]; if (!keyframe) { if (position === 0) { keyframe = definition.from; } else if (position === 1) { keyframe = definition.to; } } if (!keyframe) { throw new Error('Missing animation keyframe, this should not happen'); } keyframe = flattenStyle(keyframe); Object.keys(keyframe).forEach(key => { if (!(key in compiled)) { compiled[key] = { inputRange: [], outputRange: [], }; } compiled[key].inputRange.push(position); compiled[key].outputRange.push(keyframe[key]); }); } cache[cacheKey] = compiled; return compiled; }
{'content_hash': '8c13cce7ffd9a362cac90616484676c3', 'timestamp': '', 'source': 'github', 'line_count': 80, 'max_line_length': 76, 'avg_line_length': 22.025, 'alnum_prop': 0.6078320090805902, 'repo_name': 'oblador/react-native-animatable', 'id': 'ab4106b8bc919e6f811867e7b7d0e789d220a7b1', 'size': '1762', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'createAnimation.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'JavaScript', 'bytes': '42259'}]}
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes. config.cache_classes = false # Do not eager load code on boot. config.eager_load = false # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log # Debug mode disables concatenation and preprocessing of assets. # This option may cause significant delays in view rendering with a large # number of complex assets. config.assets.debug = true # Asset digests allow you to set far-future HTTP expiration dates on all assets, # yet still be able to expire them through the digest params. config.assets.digest = true # Adds additional error checking when serving assets at runtime. # Checks for improperly declared sprockets dependencies. # Raises helpful error messages. config.assets.raise_runtime_errors = true # Raises error for missing translations # config.action_view.raise_on_missing_translations = true end
{'content_hash': '052d1b8e663242a8c4aac43c111a7abb', 'timestamp': '', 'source': 'github', 'line_count': 39, 'max_line_length': 85, 'avg_line_length': 40.02564102564103, 'alnum_prop': 0.7597693786034593, 'repo_name': 'loqman/quran-online', 'id': '91fdfa04a6121ffddfdce263c0d66d79c3d3d5f0', 'size': '1561', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'config/environments/development.rb', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '283831'}, {'name': 'CoffeeScript', 'bytes': '9045'}, {'name': 'HTML', 'bytes': '100797'}, {'name': 'JavaScript', 'bytes': '787'}, {'name': 'Ruby', 'bytes': '68156'}]}
#include "addressbookpage.h" #include "ui_addressbookpage.h" #include "addresstablemodel.h" #include "optionsmodel.h" #include "dgdvanillagui.h" #include "editaddressdialog.h" #include "csvmodelwriter.h" #include "guiutil.h" #ifdef USE_QRCODE #include "qrcodedialog.h" #endif #include <QSortFilterProxyModel> #include <QClipboard> #include <QMessageBox> #include <QMenu> AddressBookPage::AddressBookPage(Mode mode, Tabs tab, QWidget *parent) : QDialog(parent), ui(new Ui::AddressBookPage), model(0), optionsModel(0), mode(mode), tab(tab) { ui->setupUi(this); #ifdef Q_OS_MAC // Icons on push buttons are very uncommon on Mac ui->newAddress->setIcon(QIcon()); ui->copyAddress->setIcon(QIcon()); ui->deleteAddress->setIcon(QIcon()); ui->verifyMessage->setIcon(QIcon()); ui->signMessage->setIcon(QIcon()); ui->exportButton->setIcon(QIcon()); #endif #ifndef USE_QRCODE ui->showQRCode->setVisible(false); #endif switch(mode) { case ForSending: connect(ui->tableView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(accept())); ui->tableView->setEditTriggers(QAbstractItemView::NoEditTriggers); ui->tableView->setFocus(); ui->exportButton->hide(); break; case ForEditing: ui->buttonBox->setVisible(false); break; } switch(tab) { case SendingTab: ui->labelExplanation->setText(tr("These are your Dgdvanilla addresses for sending payments. Always check the amount and the receiving address before sending coins.")); ui->deleteAddress->setVisible(true); ui->signMessage->setVisible(false); break; case ReceivingTab: ui->labelExplanation->setText(tr("These are your Dgdvanilla addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.")); ui->deleteAddress->setVisible(false); ui->signMessage->setVisible(true); break; } // Context menu actions QAction *copyAddressAction = new QAction(ui->copyAddress->text(), this); QAction *copyLabelAction = new QAction(tr("Copy &Label"), this); QAction *editAction = new QAction(tr("&Edit"), this); QAction *sendCoinsAction = new QAction(tr("Send &Coins"), this); QAction *showQRCodeAction = new QAction(ui->showQRCode->text(), this); QAction *signMessageAction = new QAction(ui->signMessage->text(), this); QAction *verifyMessageAction = new QAction(ui->verifyMessage->text(), this); deleteAction = new QAction(ui->deleteAddress->text(), this); // Build context menu contextMenu = new QMenu(); contextMenu->addAction(copyAddressAction); contextMenu->addAction(copyLabelAction); contextMenu->addAction(editAction); if(tab == SendingTab) contextMenu->addAction(deleteAction); contextMenu->addSeparator(); if(tab == SendingTab) contextMenu->addAction(sendCoinsAction); #ifdef USE_QRCODE contextMenu->addAction(showQRCodeAction); #endif if(tab == ReceivingTab) contextMenu->addAction(signMessageAction); else if(tab == SendingTab) contextMenu->addAction(verifyMessageAction); // Connect signals for context menu actions connect(copyAddressAction, SIGNAL(triggered()), this, SLOT(on_copyAddress_clicked())); connect(copyLabelAction, SIGNAL(triggered()), this, SLOT(onCopyLabelAction())); connect(editAction, SIGNAL(triggered()), this, SLOT(onEditAction())); connect(deleteAction, SIGNAL(triggered()), this, SLOT(on_deleteAddress_clicked())); connect(sendCoinsAction, SIGNAL(triggered()), this, SLOT(onSendCoinsAction())); connect(showQRCodeAction, SIGNAL(triggered()), this, SLOT(on_showQRCode_clicked())); connect(signMessageAction, SIGNAL(triggered()), this, SLOT(on_signMessage_clicked())); connect(verifyMessageAction, SIGNAL(triggered()), this, SLOT(on_verifyMessage_clicked())); connect(ui->tableView, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextualMenu(QPoint))); // Pass through accept action from button box connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(accept())); } AddressBookPage::~AddressBookPage() { delete ui; } void AddressBookPage::setModel(AddressTableModel *model) { this->model = model; if(!model) return; proxyModel = new QSortFilterProxyModel(this); proxyModel->setSourceModel(model); proxyModel->setDynamicSortFilter(true); proxyModel->setSortCaseSensitivity(Qt::CaseInsensitive); proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive); switch(tab) { case ReceivingTab: // Receive filter proxyModel->setFilterRole(AddressTableModel::TypeRole); proxyModel->setFilterFixedString(AddressTableModel::Receive); break; case SendingTab: // Send filter proxyModel->setFilterRole(AddressTableModel::TypeRole); proxyModel->setFilterFixedString(AddressTableModel::Send); break; } ui->tableView->setModel(proxyModel); ui->tableView->sortByColumn(0, Qt::AscendingOrder); // Set column widths #if QT_VERSION < 0x050000 ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Label, QHeaderView::Stretch); ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents); #else ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Label, QHeaderView::Stretch); ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents); #endif connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(selectionChanged())); // Select row for newly created address connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SLOT(selectNewAddress(QModelIndex,int,int))); selectionChanged(); } void AddressBookPage::setOptionsModel(OptionsModel *optionsModel) { this->optionsModel = optionsModel; } void AddressBookPage::on_copyAddress_clicked() { GUIUtil::copyEntryData(ui->tableView, AddressTableModel::Address); } void AddressBookPage::onCopyLabelAction() { GUIUtil::copyEntryData(ui->tableView, AddressTableModel::Label); } void AddressBookPage::onEditAction() { if(!ui->tableView->selectionModel()) return; QModelIndexList indexes = ui->tableView->selectionModel()->selectedRows(); if(indexes.isEmpty()) return; EditAddressDialog dlg( tab == SendingTab ? EditAddressDialog::EditSendingAddress : EditAddressDialog::EditReceivingAddress); dlg.setModel(model); QModelIndex origIndex = proxyModel->mapToSource(indexes.at(0)); dlg.loadRow(origIndex.row()); dlg.exec(); } void AddressBookPage::on_signMessage_clicked() { QTableView *table = ui->tableView; QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); foreach (QModelIndex index, indexes) { QString address = index.data().toString(); emit signMessage(address); } } void AddressBookPage::on_verifyMessage_clicked() { QTableView *table = ui->tableView; QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); foreach (QModelIndex index, indexes) { QString address = index.data().toString(); emit verifyMessage(address); } } void AddressBookPage::onSendCoinsAction() { QTableView *table = ui->tableView; QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); foreach (QModelIndex index, indexes) { QString address = index.data().toString(); emit sendCoins(address); } } void AddressBookPage::on_newAddress_clicked() { if(!model) return; EditAddressDialog dlg( tab == SendingTab ? EditAddressDialog::NewSendingAddress : EditAddressDialog::NewReceivingAddress, this); dlg.setModel(model); if(dlg.exec()) { newAddressToSelect = dlg.getAddress(); } } void AddressBookPage::on_deleteAddress_clicked() { QTableView *table = ui->tableView; if(!table->selectionModel()) return; QModelIndexList indexes = table->selectionModel()->selectedRows(); if(!indexes.isEmpty()) { table->model()->removeRow(indexes.at(0).row()); } } void AddressBookPage::selectionChanged() { // Set button states based on selected tab and selection QTableView *table = ui->tableView; if(!table->selectionModel()) return; if(table->selectionModel()->hasSelection()) { switch(tab) { case SendingTab: // In sending tab, allow deletion of selection ui->deleteAddress->setEnabled(true); ui->deleteAddress->setVisible(true); deleteAction->setEnabled(true); ui->signMessage->setEnabled(false); ui->signMessage->setVisible(false); ui->verifyMessage->setEnabled(true); ui->verifyMessage->setVisible(true); break; case ReceivingTab: // Deleting receiving addresses, however, is not allowed ui->deleteAddress->setEnabled(false); ui->deleteAddress->setVisible(false); deleteAction->setEnabled(false); ui->signMessage->setEnabled(true); ui->signMessage->setVisible(true); ui->verifyMessage->setEnabled(false); ui->verifyMessage->setVisible(false); break; } ui->copyAddress->setEnabled(true); ui->showQRCode->setEnabled(true); } else { ui->deleteAddress->setEnabled(false); ui->showQRCode->setEnabled(false); ui->copyAddress->setEnabled(false); ui->signMessage->setEnabled(false); ui->verifyMessage->setEnabled(false); } } void AddressBookPage::done(int retval) { QTableView *table = ui->tableView; if(!table->selectionModel() || !table->model()) return; // When this is a tab/widget and not a model dialog, ignore "done" if(mode == ForEditing) return; // Figure out which address was selected, and return it QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); foreach (QModelIndex index, indexes) { QVariant address = table->model()->data(index); returnValue = address.toString(); } if(returnValue.isEmpty()) { // If no address entry selected, return rejected retval = Rejected; } QDialog::done(retval); } void AddressBookPage::on_exportButton_clicked() { // CSV is currently the only supported format QString filename = GUIUtil::getSaveFileName( this, tr("Export Address Book Data"), QString(), tr("Comma separated file (*.csv)")); if (filename.isNull()) return; CSVModelWriter writer(filename); // name, column, role writer.setModel(proxyModel); writer.addColumn("Label", AddressTableModel::Label, Qt::EditRole); writer.addColumn("Address", AddressTableModel::Address, Qt::EditRole); if(!writer.write()) { QMessageBox::critical(this, tr("Error exporting"), tr("Could not write to file %1.").arg(filename), QMessageBox::Abort, QMessageBox::Abort); } } void AddressBookPage::on_showQRCode_clicked() { #ifdef USE_QRCODE QTableView *table = ui->tableView; QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); foreach (QModelIndex index, indexes) { QString address = index.data().toString(); QString label = index.sibling(index.row(), 0).data(Qt::EditRole).toString(); QRCodeDialog *dialog = new QRCodeDialog(address, label, tab == ReceivingTab, this); dialog->setModel(optionsModel); dialog->setAttribute(Qt::WA_DeleteOnClose); dialog->show(); } #endif } void AddressBookPage::contextualMenu(const QPoint &point) { QModelIndex index = ui->tableView->indexAt(point); if(index.isValid()) { contextMenu->exec(QCursor::pos()); } } void AddressBookPage::selectNewAddress(const QModelIndex &parent, int begin, int /*end*/) { QModelIndex idx = proxyModel->mapFromSource(model->index(begin, AddressTableModel::Address, parent)); if(idx.isValid() && (idx.data(Qt::EditRole).toString() == newAddressToSelect)) { // Select row of newly created address, once ui->tableView->setFocus(); ui->tableView->selectRow(idx.row()); newAddressToSelect.clear(); } }
{'content_hash': 'ec532f30611525f49df2f604a5fd17d9', 'timestamp': '', 'source': 'github', 'line_count': 395, 'max_line_length': 201, 'avg_line_length': 32.369620253164555, 'alnum_prop': 0.6726888784608165, 'repo_name': 'razorcoin/drunken-octo-bear', 'id': '84e048ace2f7ec7c4d3ca9cde097b574fd14bf63', 'size': '12786', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/qt/addressbookpage.cpp', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C', 'bytes': '92345'}, {'name': 'C++', 'bytes': '15822979'}, {'name': 'CSS', 'bytes': '1127'}, {'name': 'Objective-C++', 'bytes': '5864'}, {'name': 'Python', 'bytes': '69907'}, {'name': 'Shell', 'bytes': '9744'}, {'name': 'TypeScript', 'bytes': '5245454'}]}
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Cars.Client")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Cars.Client")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("4d4d7423-2851-4560-abc7-05223814e551")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
{'content_hash': '877ec12bf11a6980b413c922fe71585f', 'timestamp': '', 'source': 'github', 'line_count': 36, 'max_line_length': 84, 'avg_line_length': 38.75, 'alnum_prop': 0.7433691756272401, 'repo_name': 'YoTsenkov/TelerikSoftwareAcademyHomeworks', 'id': 'ada1ea6e829376027da9411a76ba1e80754d6499', 'size': '1398', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Databases/EXAM/Problem 5, 6 and 7/Cars/Cars.Client/Properties/AssemblyInfo.cs', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'ASP', 'bytes': '45751'}, {'name': 'C#', 'bytes': '1437245'}, {'name': 'CSS', 'bytes': '50553'}, {'name': 'CoffeeScript', 'bytes': '387'}, {'name': 'JavaScript', 'bytes': '679958'}, {'name': 'Python', 'bytes': '30608'}, {'name': 'Shell', 'bytes': '195'}, {'name': 'XSLT', 'bytes': '988'}]}
from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem class PublishSubsystem(Subsystem): """Base class for subsytems that configure buildgen publishing . Subclasses can be further subclassed, manually, e.g., to add any extra options. """ # Note: Probably should be broken into Publication and JvmPublication, which much of this # is more properly scoped to. options_scope = 'buildgen.publish' @classmethod def subsystem_dependencies(cls): return super(PublishSubsystem, cls).subsystem_dependencies() @classmethod def register_options(cls, register): # Flip for trouble and git reset BUILD files to good SHA. Run buildgen to update deps. register( "--skip", # Toggle? default=False, advanced=True, type=bool, help="Provides config will not be generated or updated." ) register( "--exportable-target-aliases", default=[ 'scala_library', 'java_library', ], advanced=True, type=list, help="All transtive dependencies of the exportable library must be of these types.", ) register( "--unexportable-target-aliases", default=[ 'junit_tests', ], advanced=True, type=list, help="Any transitive dependency on these target aliases blocks publish configuration." ) register( "--opt-out-paths", default=[], advanced=True, type=list, help="No publishing configuration will be generated or updated under these directories." ) # Repositories must be previously configured in a register.py. See existing publish # documentation on adding or updating repos. register( "--repo-map", default={}, advanced=True, type=dict, help="Provides configuration under this path will be configured to use this repository." ) # Metadata must be previously configured in a register.py. See existing publish # documentation on adding or updating metadata. register( "--publication-metadata-map", default={}, advanced=True, type=dict, help="Provides configuration under this path will be configured with this metadata." )
{'content_hash': 'c7c2eba69c676e963cf85b082f4cc14f', 'timestamp': '', 'source': 'github', 'line_count': 73, 'max_line_length': 94, 'avg_line_length': 31.315068493150687, 'alnum_prop': 0.668416447944007, 'repo_name': 'foursquare/fsqio', 'id': 'a5fbaaa50647f5cb78a90a489de8971cb191cc6f', 'size': '2361', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/python/fsqio/pants/buildgen/core/subsystems/publish_subsystem.py', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '18171'}, {'name': 'Dockerfile', 'bytes': '615'}, {'name': 'HTML', 'bytes': '23350'}, {'name': 'Java', 'bytes': '197165'}, {'name': 'JavaScript', 'bytes': '126110'}, {'name': 'Makefile', 'bytes': '6775'}, {'name': 'Mustache', 'bytes': '1688'}, {'name': 'Python', 'bytes': '444174'}, {'name': 'Scala', 'bytes': '2760586'}, {'name': 'Shell', 'bytes': '50115'}, {'name': 'Starlark', 'bytes': '80150'}, {'name': 'Thrift', 'bytes': '77842'}, {'name': 'VCL', 'bytes': '808'}]}
package org.apache.geode.internal.admin.remote; import org.apache.geode.internal.admin.GemFireVM; public class CacheDisplay { public static Object getCachedObjectDisplay(Object obj, int inspectionType) { switch (inspectionType) { case GemFireVM.LIGHTWEIGHT_CACHE_VALUE: if (obj == null) { return "null"; } String toString = obj.toString(); Class clazz = obj.getClass(); String name = null; if (clazz.isArray()) { return getArrayDisplayName(obj); } else { name = getClassName(clazz); } // if (toString.indexOf('@') >= 0) { //probably Object.toString() // return "a " + name; // } else { return name + " \"" + toString + "\""; // } case GemFireVM.PHYSICAL_CACHE_VALUE: Object physicalVal = EntryValueNodeImpl.createFromValueRoot(obj, false); return (physicalVal == null) ? "null" : physicalVal; case GemFireVM.LOGICAL_CACHE_VALUE: Object logicalVal = EntryValueNodeImpl.createFromValueRoot(obj, true); return (logicalVal == null) ? "null" : logicalVal; default: throw new IllegalArgumentException( "Invalid inspectionType passed to CacheDisplay.getCachedObjectDisplay"); } } private static String getArrayDisplayName(Object instance) { if (instance instanceof Object[]) { String className = instance.getClass().getName(); return "an array of " + getClassName(className.substring(2, className.length() - 1)) + " with " + ((Object[]) instance).length + " elements"; } else if (instance instanceof int[]) { return "an array of int with " + ((int[]) instance).length + " elements"; } else if (instance instanceof double[]) { return "an array of double with " + ((double[]) instance).length + " elements"; } else if (instance instanceof char[]) { return "an array of char with " + ((char[]) instance).length + " elements"; } else if (instance instanceof byte[]) { return "an array of byte with " + ((byte[]) instance).length + " elements"; } else if (instance instanceof boolean[]) { return "an array of boolean with " + ((boolean[]) instance).length + " elements"; } else if (instance instanceof long[]) { return "an array of long with " + ((long[]) instance).length + " elements"; } else if (instance instanceof float[]) { return "an array of float with " + ((float[]) instance).length + " elements"; } else if (instance instanceof short[]) { return "an array of short with " + ((short[]) instance).length + " elements"; } else return null; } private static String getClassName(Class clazz) { return getClassName(clazz.getName()); } private static String getClassName(String name) { return (name.length() > 64) ? name.substring(name.lastIndexOf(".") + 1) : name; } }
{'content_hash': '28923f7248a093413ee771352d0879bd', 'timestamp': '', 'source': 'github', 'line_count': 73, 'max_line_length': 90, 'avg_line_length': 40.0958904109589, 'alnum_prop': 0.6217970618380595, 'repo_name': 'davinash/geode', 'id': 'e48ad656cfb443ba79b790f924e04b791a8228cf', 'size': '3716', 'binary': False, 'copies': '4', 'ref': 'refs/heads/develop', 'path': 'geode-core/src/main/java/org/apache/geode/internal/admin/remote/CacheDisplay.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '106707'}, {'name': 'Go', 'bytes': '1205'}, {'name': 'Groovy', 'bytes': '2783'}, {'name': 'HTML', 'bytes': '3917327'}, {'name': 'Java', 'bytes': '28126965'}, {'name': 'JavaScript', 'bytes': '1781013'}, {'name': 'Python', 'bytes': '5014'}, {'name': 'Ruby', 'bytes': '6686'}, {'name': 'Shell', 'bytes': '46841'}]}
select owner, table_name, tablespace_name, num_rows, last_analyzed from {{ dba_tables }} where owner = :owner order by table_name
{'content_hash': 'feec19315778f5315137f2558ec5aec4', 'timestamp': '', 'source': 'github', 'line_count': 9, 'max_line_length': 21, 'avg_line_length': 14.444444444444445, 'alnum_prop': 0.7461538461538462, 'repo_name': 'fernandopeinado/ora_manager', 'id': 'c2d5d371262c053694f1ced5300296775db8f327', 'size': '130', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/resources/sql/all_tables.sql', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '2488'}, {'name': 'Dockerfile', 'bytes': '304'}, {'name': 'HTML', 'bytes': '31771'}, {'name': 'Java', 'bytes': '141439'}, {'name': 'JavaScript', 'bytes': '32596'}, {'name': 'Shell', 'bytes': '2272'}]}
.386P .model FLAT externdef _d_zistepu:dword externdef _d_pzbuffer:dword externdef _d_zistepv:dword externdef _d_zrowbytes:dword externdef _d_ziorigin:dword externdef _r_turb_s:dword externdef _r_turb_t:dword externdef _r_turb_pdest:dword externdef _r_turb_spancount:dword externdef _r_turb_turb:dword externdef _r_turb_pbase:dword externdef _r_turb_sstep:dword externdef _r_turb_tstep:dword externdef _r_bmodelactive:dword externdef _d_sdivzstepu:dword externdef _d_tdivzstepu:dword externdef _d_sdivzstepv:dword externdef _d_tdivzstepv:dword externdef _d_sdivzorigin:dword externdef _d_tdivzorigin:dword externdef _sadjust:dword externdef _tadjust:dword externdef _bbextents:dword externdef _bbextentt:dword externdef _cacheblock:dword externdef _d_viewbuffer:dword externdef _cachewidth:dword externdef _d_pzbuffer:dword externdef _d_zrowbytes:dword externdef _d_zwidth:dword externdef _d_scantable:dword externdef _r_lightptr:dword externdef _r_numvblocks:dword externdef _prowdestbase:dword externdef _pbasesource:dword externdef _r_lightwidth:dword externdef _lightright:dword externdef _lightrightstep:dword externdef _lightdeltastep:dword externdef _lightdelta:dword externdef _lightright:dword externdef _lightdelta:dword externdef _sourcetstep:dword externdef _surfrowbytes:dword externdef _lightrightstep:dword externdef _lightdeltastep:dword externdef _r_sourcemax:dword externdef _r_stepback:dword externdef _colormap:dword externdef _blocksize:dword externdef _sourcesstep:dword externdef _lightleft:dword externdef _blockdivshift:dword externdef _blockdivmask:dword externdef _lightleftstep:dword externdef _r_origin:dword externdef _r_ppn:dword externdef _r_pup:dword externdef _r_pright:dword externdef _ycenter:dword externdef _xcenter:dword externdef _d_vrectbottom_particle:dword externdef _d_vrectright_particle:dword externdef _d_vrecty:dword externdef _d_vrectx:dword externdef _d_pix_shift:dword externdef _d_pix_min:dword externdef _d_pix_max:dword externdef _d_y_aspect_shift:dword externdef _screenwidth:dword externdef _vright:dword externdef _vup:dword externdef _vpn:dword externdef _BOPS_Error:dword externdef _snd_scaletable:dword externdef _paintbuffer:dword externdef _snd_linear_count:dword externdef _snd_p:dword externdef _snd_vol:dword externdef _snd_out:dword externdef _r_leftclipped:dword externdef _r_leftenter:dword externdef _r_rightclipped:dword externdef _r_rightenter:dword externdef _modelorg:dword externdef _xscale:dword externdef _r_refdef:dword externdef _yscale:dword externdef _r_leftexit:dword externdef _r_rightexit:dword externdef _r_lastvertvalid:dword externdef _cacheoffset:dword externdef _newedges:dword externdef _removeedges:dword externdef _r_pedge:dword externdef _r_framecount:dword externdef _r_u1:dword externdef _r_emitted:dword externdef _edge_p:dword externdef _surface_p:dword externdef _surfaces:dword externdef _r_lzi1:dword externdef _r_v1:dword externdef _r_ceilv1:dword externdef _r_nearzi:dword externdef _r_nearzionly:dword externdef _edge_aftertail:dword externdef _edge_tail:dword externdef _current_iv:dword externdef _edge_head_u_shift20:dword externdef _span_p:dword externdef _edge_head:dword externdef _fv:dword externdef _edge_tail_u_shift20:dword externdef _r_apverts:dword externdef _r_anumverts:dword externdef _aliastransform:dword externdef _r_avertexnormals:dword externdef _r_plightvec:dword externdef _r_ambientlight:dword externdef _r_shadelight:dword externdef _aliasxcenter:dword externdef _aliasycenter:dword externdef _a_sstepxfrac:dword externdef _r_affinetridesc:dword externdef _acolormap:dword externdef _d_pcolormap:dword externdef _r_affinetridesc:dword externdef _d_sfrac:dword externdef _d_ptex:dword externdef _d_pedgespanpackage:dword externdef _d_tfrac:dword externdef _d_light:dword externdef _d_zi:dword externdef _d_pdest:dword externdef _d_pz:dword externdef _d_aspancount:dword externdef _erroradjustup:dword externdef _errorterm:dword externdef _d_xdenom:dword externdef _r_p0:dword externdef _r_p1:dword externdef _r_p2:dword externdef _a_tstepxfrac:dword externdef _r_sstepx:dword externdef _r_tstepx:dword externdef _a_ststepxwhole:dword externdef _zspantable:dword externdef _skintable:dword externdef _r_zistepx:dword externdef _erroradjustdown:dword externdef _d_countextrastep:dword externdef _ubasestep:dword externdef _a_ststepxwhole:dword externdef _a_tstepxfrac:dword externdef _r_lstepx:dword externdef _a_spans:dword externdef _erroradjustdown:dword externdef _d_pdestextrastep:dword externdef _d_pzextrastep:dword externdef _d_sfracextrastep:dword externdef _d_ptexextrastep:dword externdef _d_countextrastep:dword externdef _d_tfracextrastep:dword externdef _d_lightextrastep:dword externdef _d_ziextrastep:dword externdef _d_pdestbasestep:dword externdef _d_pzbasestep:dword externdef _d_sfracbasestep:dword externdef _d_ptexbasestep:dword externdef _ubasestep:dword externdef _d_tfracbasestep:dword externdef _d_lightbasestep:dword externdef _d_zibasestep:dword externdef _zspantable:dword externdef _r_lstepy:dword externdef _r_sstepy:dword externdef _r_tstepy:dword externdef _r_zistepy:dword externdef _D_PolysetSetEdgeTable:dword externdef _D_RasterizeAliasPolySmooth:dword externdef float_point5:dword externdef Float2ToThe31nd:dword externdef izistep:dword externdef izi:dword externdef FloatMinus2ToThe31nd:dword externdef float_1:dword externdef float_particle_z_clip:dword externdef float_minus_1:dword externdef float_0:dword externdef fp_16:dword externdef fp_64k:dword externdef fp_1m:dword externdef fp_1m_minus_1:dword externdef fp_8:dword externdef entryvec_table:dword externdef advancetable:dword externdef sstep:dword externdef tstep:dword externdef pspantemp:dword externdef counttemp:dword externdef jumptemp:dword externdef reciprocal_table:dword externdef DP_Count:dword externdef DP_u:dword externdef DP_v:dword externdef DP_32768:dword externdef DP_Color:dword externdef DP_Pix:dword externdef DP_EntryTable:dword externdef pbase:dword externdef s:dword externdef t:dword externdef sfracf:dword externdef tfracf:dword externdef snext:dword externdef tnext:dword externdef spancountminus1:dword externdef zi16stepu:dword externdef sdivz16stepu:dword externdef tdivz16stepu:dword externdef zi8stepu:dword externdef sdivz8stepu:dword externdef tdivz8stepu:dword externdef reciprocal_table_16:dword externdef entryvec_table_16:dword externdef ceil_cw:dword externdef single_cw:dword externdef fp_64kx64k:dword externdef pz:dword externdef spr8entryvec_table:dword _TEXT SEGMENT LClampHigh0: mov esi,ds:dword ptr[_bbextents] jmp LClampReentry0 LClampHighOrLow0: jg LClampHigh0 xor esi,esi jmp LClampReentry0 LClampHigh1: mov edx,ds:dword ptr[_bbextentt] jmp LClampReentry1 LClampHighOrLow1: jg LClampHigh1 xor edx,edx jmp LClampReentry1 LClampLow2: mov ebp,2048 jmp LClampReentry2 LClampHigh2: mov ebp,ds:dword ptr[_bbextents] jmp LClampReentry2 LClampLow3: mov ecx,2048 jmp LClampReentry3 LClampHigh3: mov ecx,ds:dword ptr[_bbextentt] jmp LClampReentry3 LClampLow4: mov eax,2048 jmp LClampReentry4 LClampHigh4: mov eax,ds:dword ptr[_bbextents] jmp LClampReentry4 LClampLow5: mov ebx,2048 jmp LClampReentry5 LClampHigh5: mov ebx,ds:dword ptr[_bbextentt] jmp LClampReentry5 align 4 public _D_DrawSpans8 _D_DrawSpans8: push ebp push edi push esi push ebx fld ds:dword ptr[_d_sdivzstepu] fmul ds:dword ptr[fp_8] mov edx,ds:dword ptr[_cacheblock] fld ds:dword ptr[_d_tdivzstepu] fmul ds:dword ptr[fp_8] mov ebx,ds:dword ptr[4+16+esp] fld ds:dword ptr[_d_zistepu] fmul ds:dword ptr[fp_8] mov ds:dword ptr[pbase],edx fstp ds:dword ptr[zi8stepu] fstp ds:dword ptr[tdivz8stepu] fstp ds:dword ptr[sdivz8stepu] LSpanLoop: fild ds:dword ptr[4+ebx] fild ds:dword ptr[0+ebx] fld st(1) fmul ds:dword ptr[_d_sdivzstepv] fld st(1) fmul ds:dword ptr[_d_sdivzstepu] fld st(2) fmul ds:dword ptr[_d_tdivzstepu] fxch st(1) faddp st(2),st(0) fxch st(1) fld st(3) fmul ds:dword ptr[_d_tdivzstepv] fxch st(1) fadd ds:dword ptr[_d_sdivzorigin] fxch st(4) fmul ds:dword ptr[_d_zistepv] fxch st(1) faddp st(2),st(0) fxch st(2) fmul ds:dword ptr[_d_zistepu] fxch st(1) fadd ds:dword ptr[_d_tdivzorigin] fxch st(2) faddp st(1),st(0) fld ds:dword ptr[fp_64k] fxch st(1) fadd ds:dword ptr[_d_ziorigin] fdiv st(1),st(0) mov ecx,ds:dword ptr[_d_viewbuffer] mov eax,ds:dword ptr[4+ebx] mov ds:dword ptr[pspantemp],ebx mov edx,ds:dword ptr[_tadjust] mov esi,ds:dword ptr[_sadjust] mov edi,ds:dword ptr[_d_scantable+eax*4] add edi,ecx mov ecx,ds:dword ptr[0+ebx] add edi,ecx mov ecx,ds:dword ptr[8+ebx] cmp ecx,8 ja LSetupNotLast1 dec ecx jz LCleanup1 mov ds:dword ptr[spancountminus1],ecx fxch st(1) fld st(0) fmul st(0),st(4) fxch st(1) fmul st(0),st(3) fxch st(1) fistp ds:dword ptr[s] fistp ds:dword ptr[t] fild ds:dword ptr[spancountminus1] fld ds:dword ptr[_d_tdivzstepu] fld ds:dword ptr[_d_zistepu] fmul st(0),st(2) fxch st(1) fmul st(0),st(2) fxch st(2) fmul ds:dword ptr[_d_sdivzstepu] fxch st(1) faddp st(3),st(0) fxch st(1) faddp st(3),st(0) faddp st(3),st(0) fld ds:dword ptr[fp_64k] fdiv st(0),st(1) jmp LFDIVInFlight1 LCleanup1: fxch st(1) fld st(0) fmul st(0),st(4) fxch st(1) fmul st(0),st(3) fxch st(1) fistp ds:dword ptr[s] fistp ds:dword ptr[t] jmp LFDIVInFlight1 align 4 LSetupNotLast1: fxch st(1) fld st(0) fmul st(0),st(4) fxch st(1) fmul st(0),st(3) fxch st(1) fistp ds:dword ptr[s] fistp ds:dword ptr[t] fadd ds:dword ptr[zi8stepu] fxch st(2) fadd ds:dword ptr[sdivz8stepu] fxch st(2) fld ds:dword ptr[tdivz8stepu] faddp st(2),st(0) fld ds:dword ptr[fp_64k] fdiv st(0),st(1) LFDIVInFlight1: add esi,ds:dword ptr[s] add edx,ds:dword ptr[t] mov ebx,ds:dword ptr[_bbextents] mov ebp,ds:dword ptr[_bbextentt] cmp esi,ebx ja LClampHighOrLow0 LClampReentry0: mov ds:dword ptr[s],esi mov ebx,ds:dword ptr[pbase] shl esi,16 cmp edx,ebp mov ds:dword ptr[sfracf],esi ja LClampHighOrLow1 LClampReentry1: mov ds:dword ptr[t],edx mov esi,ds:dword ptr[s] shl edx,16 mov eax,ds:dword ptr[t] sar esi,16 mov ds:dword ptr[tfracf],edx sar eax,16 mov edx,ds:dword ptr[_cachewidth] imul eax,edx add esi,ebx add esi,eax cmp ecx,8 jna LLastSegment LNotLastSegment: fld st(0) fmul st(0),st(4) fxch st(1) fmul st(0),st(3) fxch st(1) fistp ds:dword ptr[snext] fistp ds:dword ptr[tnext] mov eax,ds:dword ptr[snext] mov edx,ds:dword ptr[tnext] mov bl,ds:byte ptr[esi] sub ecx,8 mov ebp,ds:dword ptr[_sadjust] mov ds:dword ptr[counttemp],ecx mov ecx,ds:dword ptr[_tadjust] mov ds:byte ptr[edi],bl add ebp,eax add ecx,edx mov eax,ds:dword ptr[_bbextents] mov edx,ds:dword ptr[_bbextentt] cmp ebp,2048 jl LClampLow2 cmp ebp,eax ja LClampHigh2 LClampReentry2: cmp ecx,2048 jl LClampLow3 cmp ecx,edx ja LClampHigh3 LClampReentry3: mov ds:dword ptr[snext],ebp mov ds:dword ptr[tnext],ecx sub ebp,ds:dword ptr[s] sub ecx,ds:dword ptr[t] mov eax,ecx mov edx,ebp sar eax,19 jz LZero sar edx,19 mov ebx,ds:dword ptr[_cachewidth] imul eax,ebx jmp LSetUp1 LZero: sar edx,19 mov ebx,ds:dword ptr[_cachewidth] LSetUp1: add eax,edx mov edx,ds:dword ptr[tfracf] mov ds:dword ptr[advancetable+4],eax add eax,ebx shl ebp,13 mov ebx,ds:dword ptr[sfracf] shl ecx,13 mov ds:dword ptr[advancetable],eax mov ds:dword ptr[tstep],ecx add edx,ecx sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx mov al,ds:byte ptr[esi] add ebx,ebp mov ds:byte ptr[1+edi],al adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx mov ds:byte ptr[2+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx mov ds:byte ptr[3+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] mov ecx,ds:dword ptr[counttemp] cmp ecx,8 ja LSetupNotLast2 dec ecx jz LFDIVInFlight2 mov ds:dword ptr[spancountminus1],ecx fild ds:dword ptr[spancountminus1] fld ds:dword ptr[_d_zistepu] fmul st(0),st(1) fld ds:dword ptr[_d_tdivzstepu] fmul st(0),st(2) fxch st(1) faddp st(3),st(0) fxch st(1) fmul ds:dword ptr[_d_sdivzstepu] fxch st(1) faddp st(3),st(0) fld ds:dword ptr[fp_64k] fxch st(1) faddp st(4),st(0) fdiv st(0),st(1) jmp LFDIVInFlight2 align 4 LSetupNotLast2: fadd ds:dword ptr[zi8stepu] fxch st(2) fadd ds:dword ptr[sdivz8stepu] fxch st(2) fld ds:dword ptr[tdivz8stepu] faddp st(2),st(0) fld ds:dword ptr[fp_64k] fdiv st(0),st(1) LFDIVInFlight2: mov ds:dword ptr[counttemp],ecx add edx,ds:dword ptr[tstep] sbb ecx,ecx mov ds:byte ptr[4+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx mov ds:byte ptr[5+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx mov ds:byte ptr[6+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edi,8 mov ds:dword ptr[tfracf],edx mov edx,ds:dword ptr[snext] mov ds:dword ptr[sfracf],ebx mov ebx,ds:dword ptr[tnext] mov ds:dword ptr[s],edx mov ds:dword ptr[t],ebx mov ecx,ds:dword ptr[counttemp] cmp ecx,8 mov ds:byte ptr[-1+edi],al ja LNotLastSegment LLastSegment: test ecx,ecx jz LNoSteps fld st(0) fmul st(0),st(4) fxch st(1) fmul st(0),st(3) fxch st(1) fistp ds:dword ptr[snext] fistp ds:dword ptr[tnext] mov al,ds:byte ptr[esi] mov ebx,ds:dword ptr[_tadjust] mov ds:byte ptr[edi],al mov eax,ds:dword ptr[_sadjust] add eax,ds:dword ptr[snext] add ebx,ds:dword ptr[tnext] mov ebp,ds:dword ptr[_bbextents] mov edx,ds:dword ptr[_bbextentt] cmp eax,2048 jl LClampLow4 cmp eax,ebp ja LClampHigh4 LClampReentry4: mov ds:dword ptr[snext],eax cmp ebx,2048 jl LClampLow5 cmp ebx,edx ja LClampHigh5 LClampReentry5: cmp ecx,1 je LOnlyOneStep sub eax,ds:dword ptr[s] sub ebx,ds:dword ptr[t] add eax,eax add ebx,ebx imul ds:dword ptr[reciprocal_table-8+ecx*4] mov ebp,edx mov eax,ebx imul ds:dword ptr[reciprocal_table-8+ecx*4] LSetEntryvec: mov ebx,ds:dword ptr[entryvec_table+ecx*4] mov eax,edx mov ds:dword ptr[jumptemp],ebx mov ecx,ebp sar edx,16 mov ebx,ds:dword ptr[_cachewidth] sar ecx,16 imul edx,ebx add edx,ecx mov ecx,ds:dword ptr[tfracf] mov ds:dword ptr[advancetable+4],edx add edx,ebx shl ebp,16 mov ebx,ds:dword ptr[sfracf] shl eax,16 mov ds:dword ptr[advancetable],edx mov ds:dword ptr[tstep],eax mov edx,ecx add edx,eax sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] jmp dword ptr[jumptemp] LNoSteps: mov al,ds:byte ptr[esi] sub edi,7 jmp LEndSpan LOnlyOneStep: sub eax,ds:dword ptr[s] sub ebx,ds:dword ptr[t] mov ebp,eax mov edx,ebx jmp LSetEntryvec public Entry2_8 Entry2_8: sub edi,6 mov al,ds:byte ptr[esi] jmp LLEntry2_8 public Entry3_8 Entry3_8: sub edi,5 add edx,eax mov al,ds:byte ptr[esi] sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] jmp LLEntry3_8 public Entry4_8 Entry4_8: sub edi,4 add edx,eax mov al,ds:byte ptr[esi] sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] jmp LLEntry4_8 public Entry5_8 Entry5_8: sub edi,3 add edx,eax mov al,ds:byte ptr[esi] sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] jmp LLEntry5_8 public Entry6_8 Entry6_8: sub edi,2 add edx,eax mov al,ds:byte ptr[esi] sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] jmp LLEntry6_8 public Entry7_8 Entry7_8: dec edi add edx,eax mov al,ds:byte ptr[esi] sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] jmp LLEntry7_8 public Entry8_8 Entry8_8: add edx,eax mov al,ds:byte ptr[esi] sbb ecx,ecx add ebx,ebp adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] sbb ecx,ecx mov ds:byte ptr[1+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] LLEntry7_8: sbb ecx,ecx mov ds:byte ptr[2+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] LLEntry6_8: sbb ecx,ecx mov ds:byte ptr[3+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] LLEntry5_8: sbb ecx,ecx mov ds:byte ptr[4+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] add edx,ds:dword ptr[tstep] LLEntry4_8: sbb ecx,ecx mov ds:byte ptr[5+edi],al add ebx,ebp mov al,ds:byte ptr[esi] adc esi,ds:dword ptr[advancetable+4+ecx*4] LLEntry3_8: mov ds:byte ptr[6+edi],al mov al,ds:byte ptr[esi] LLEntry2_8: LEndSpan: fstp st(0) fstp st(0) fstp st(0) mov ebx,ds:dword ptr[pspantemp] mov ebx,ds:dword ptr[12+ebx] test ebx,ebx mov ds:byte ptr[7+edi],al jnz LSpanLoop pop ebx pop esi pop edi pop ebp ret LClamp: mov edx,040000000h xor ebx,ebx fstp st(0) jmp LZDraw LClampNeg: mov edx,040000000h xor ebx,ebx fstp st(0) jmp LZDrawNeg public _D_DrawZSpans _D_DrawZSpans: push ebp push edi push esi push ebx fld ds:dword ptr[_d_zistepu] mov eax,ds:dword ptr[_d_zistepu] mov esi,ds:dword ptr[4+16+esp] test eax,eax jz LFNegSpan fmul ds:dword ptr[Float2ToThe31nd] fistp ds:dword ptr[izistep] mov ebx,ds:dword ptr[izistep] LFSpanLoop: fild ds:dword ptr[4+esi] fild ds:dword ptr[0+esi] mov ecx,ds:dword ptr[4+esi] mov edi,ds:dword ptr[_d_pzbuffer] fmul ds:dword ptr[_d_zistepu] fxch st(1) fmul ds:dword ptr[_d_zistepv] fxch st(1) fadd ds:dword ptr[_d_ziorigin] imul ecx,ds:dword ptr[_d_zrowbytes] faddp st(1),st(0) fcom ds:dword ptr[float_point5] add edi,ecx mov edx,ds:dword ptr[0+esi] add edx,edx mov ecx,ds:dword ptr[8+esi] add edi,edx push esi fnstsw ax test ah,045h jz LClamp fmul ds:dword ptr[Float2ToThe31nd] fistp ds:dword ptr[izi] mov edx,ds:dword ptr[izi] LZDraw: test edi,2 jz LFMiddle mov eax,edx add edx,ebx shr eax,16 dec ecx mov ds:word ptr[edi],ax add edi,2 LFMiddle: push ecx shr ecx,1 jz LFLast shr ecx,1 jnc LFMiddleLoop mov eax,edx add edx,ebx shr eax,16 mov esi,edx add edx,ebx and esi,0FFFF0000h or eax,esi mov ds:dword ptr[edi],eax add edi,4 and ecx,ecx jz LFLast LFMiddleLoop: mov eax,edx add edx,ebx shr eax,16 mov esi,edx add edx,ebx and esi,0FFFF0000h or eax,esi mov ebp,edx mov ds:dword ptr[edi],eax add edx,ebx shr ebp,16 mov esi,edx add edx,ebx and esi,0FFFF0000h or ebp,esi mov ds:dword ptr[4+edi],ebp add edi,8 dec ecx jnz LFMiddleLoop LFLast: pop ecx pop esi and ecx,1 jz LFSpanDone shr edx,16 mov ds:word ptr[edi],dx LFSpanDone: mov esi,ds:dword ptr[12+esi] test esi,esi jnz LFSpanLoop jmp LFDone LFNegSpan: fmul ds:dword ptr[FloatMinus2ToThe31nd] fistp ds:dword ptr[izistep] mov ebx,ds:dword ptr[izistep] LFNegSpanLoop: fild ds:dword ptr[4+esi] fild ds:dword ptr[0+esi] mov ecx,ds:dword ptr[4+esi] mov edi,ds:dword ptr[_d_pzbuffer] fmul ds:dword ptr[_d_zistepu] fxch st(1) fmul ds:dword ptr[_d_zistepv] fxch st(1) fadd ds:dword ptr[_d_ziorigin] imul ecx,ds:dword ptr[_d_zrowbytes] faddp st(1),st(0) fcom ds:dword ptr[float_point5] add edi,ecx mov edx,ds:dword ptr[0+esi] add edx,edx mov ecx,ds:dword ptr[8+esi] add edi,edx push esi fnstsw ax test ah,045h jz LClampNeg fmul ds:dword ptr[Float2ToThe31nd] fistp ds:dword ptr[izi] mov edx,ds:dword ptr[izi] LZDrawNeg: test edi,2 jz LFNegMiddle mov eax,edx sub edx,ebx shr eax,16 dec ecx mov ds:word ptr[edi],ax add edi,2 LFNegMiddle: push ecx shr ecx,1 jz LFNegLast shr ecx,1 jnc LFNegMiddleLoop mov eax,edx sub edx,ebx shr eax,16 mov esi,edx sub edx,ebx and esi,0FFFF0000h or eax,esi mov ds:dword ptr[edi],eax add edi,4 and ecx,ecx jz LFNegLast LFNegMiddleLoop: mov eax,edx sub edx,ebx shr eax,16 mov esi,edx sub edx,ebx and esi,0FFFF0000h or eax,esi mov ebp,edx mov ds:dword ptr[edi],eax sub edx,ebx shr ebp,16 mov esi,edx sub edx,ebx and esi,0FFFF0000h or ebp,esi mov ds:dword ptr[4+edi],ebp add edi,8 dec ecx jnz LFNegMiddleLoop LFNegLast: pop ecx pop esi and ecx,1 jz LFNegSpanDone shr edx,16 mov ds:word ptr[edi],dx LFNegSpanDone: mov esi,ds:dword ptr[12+esi] test esi,esi jnz LFNegSpanLoop LFDone: pop ebx pop esi pop edi pop ebp ret _TEXT ENDS END
{'content_hash': 'b846a94b61098de48a8ccfde82214e25', 'timestamp': '', 'source': 'github', 'line_count': 949, 'max_line_length': 44, 'avg_line_length': 21.91886195995785, 'alnum_prop': 0.7462141243209461, 'repo_name': 'mrcatacroquer/Bridge', 'id': '5f6d995a6ae559d03060820c3cd2b890131a4114', 'size': '20801', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'QW/client/d_draw.asm', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Assembly', 'bytes': '690614'}, {'name': 'Batchfile', 'bytes': '2780'}, {'name': 'C', 'bytes': '4707529'}, {'name': 'C++', 'bytes': '131642'}, {'name': 'CSS', 'bytes': '1999'}, {'name': 'HTML', 'bytes': '18566'}, {'name': 'Makefile', 'bytes': '258410'}, {'name': 'Mako', 'bytes': '434'}, {'name': 'Objective-C', 'bytes': '14561'}, {'name': 'Python', 'bytes': '60009'}, {'name': 'Shell', 'bytes': '20892'}]}
ACCEPTED #### According to Integrated Taxonomic Information System #### Published in null #### Original name null ### Remarks null
{'content_hash': '1c6a915c72ed597642c945d264084178', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 39, 'avg_line_length': 10.307692307692308, 'alnum_prop': 0.7238805970149254, 'repo_name': 'mdoering/backbone', 'id': '8e6c9a7dbe6c0077ef98de5bd4eaf843af88868d', 'size': '206', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'life/Bacteria/Actinobacteria/Actinobacteria/Actinomycetales/Actinomycetaceae/Actinomyces/Actinomyces marionolimnosus/README.md', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
<?php // Protect from unauthorized access defined('FOF_INCLUDED') or die; /** * SQL azure database iterator. */ class FOFDatabaseIteratorAzure extends FOFDatabaseIteratorSqlsrv { }
{'content_hash': 'cfe93cb8792969a3f890fe86ea1787cb', 'timestamp': '', 'source': 'github', 'line_count': 12, 'max_line_length': 64, 'avg_line_length': 15.5, 'alnum_prop': 0.7526881720430108, 'repo_name': 'Bluemit/EDirect', 'id': '335ab562ef1f9847ebae332b55d1d22826c18e87', 'size': '595', 'binary': False, 'copies': '383', 'ref': 'refs/heads/master', 'path': 'libraries/fof/database/iterator/azure.php', 'mode': '33261', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '1644803'}, {'name': 'HTML', 'bytes': '5904'}, {'name': 'JavaScript', 'bytes': '3841654'}, {'name': 'PHP', 'bytes': '17076030'}, {'name': 'PLpgSQL', 'bytes': '1056'}, {'name': 'SQLPL', 'bytes': '17688'}]}
require 'spec_helper' describe "Locale" do describe "with valid attributes" do it "should be valid" do Locale.new(:tag => "en-US", :name => "English").should be_valid end end describe "with incomplete attributes" do before :each do @l = Locale.new end it "should require a locale" do @l.name = "English" @l.should_not be_valid @l.errors.size.should == 1 @l.errors.on(:tag).should_not be_empty end it "should require a name" do @l.tag = "en-US" @l.should_not be_valid @l.errors.size.should == 1 @l.errors.on(:name).should_not be_empty end end describe "with invalid attributes" do # We only do basic tests here, since the regex is # copied from svenfuchs/i18n and is tested over there it "should not accept invalid locale strings" do Locale.new(:tag => 'a-DE', :name => "German").should_not be_valid Locale.new(:tag => 'de-419-DE', :name => "German").should_not be_valid end end describe "the for(value) class method" do before :each do Locale.create :tag => 'en-US', :name => 'English' Locale.create :tag => 'de-AT', :name => 'Deutsch' end describe "with nil as paramter" do it "should return nil" do Locale.for(nil).should be_nil end end describe "with an invalid (not present) locale symbol as parameter" do it "should return nil" do Locale.for(:it).should be_nil end end describe "with a valid (present) locale symbol as parameter" do it "should return the correct locale instance" do Locale.for(:'en-US').should == Locale.first(:tag => 'en-US') end end describe "with a valid (present) locale string as parameter" do it "should return the correct locale instance" do Locale.for('en-US').should == Locale.first(:tag => 'en-US') end end end end
{'content_hash': 'd51fef4ff8a3612d5f482091ff725577', 'timestamp': '', 'source': 'github', 'line_count': 86, 'max_line_length': 76, 'avg_line_length': 22.63953488372093, 'alnum_prop': 0.6086286594761171, 'repo_name': 'snusnu/dm-is-localizable', 'id': 'd16fbe0be8e92f414c2b06758c92ed242ab258d6', 'size': '1947', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'spec/unit/locale_spec.rb', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Ruby', 'bytes': '35400'}]}
<?xml version="1.0" encoding="UTF-8" ?> <class name="NavigationAgent3D" inherits="Node" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> 3D Agent used in navigation for collision avoidance. </brief_description> <description> 3D Agent that is used in navigation to reach a location while avoiding static and dynamic obstacles. The dynamic obstacles are avoided using RVO collision avoidance. The agent needs navigation data to work correctly. [NavigationAgent3D] is physics safe. [b]Note:[/b] After [method set_target_location] is used it is required to use the [method get_next_location] function once every physics frame to update the internal path logic of the NavigationAgent. The returned vector position from this function should be used as the next movement position for the agent's parent Node. </description> <tutorials> </tutorials> <methods> <method name="distance_to_target" qualifiers="const"> <return type="float" /> <description> Returns the distance to the target location, using the agent's global position. The user must set the target location with [method set_target_location] in order for this to be accurate. </description> </method> <method name="get_final_location"> <return type="Vector3" /> <description> Returns the reachable final location in global coordinates. This can change if the navigation path is altered in any way. Because of this, it would be best to check this each frame. </description> </method> <method name="get_nav_path" qualifiers="const"> <return type="PackedVector3Array" /> <description> Returns this agent's current path from start to finish in global coordinates. The path only updates when the target location is changed or the agent requires a repath. The path array is not intended to be used in direct path movement as the agent has its own internal path logic that would get corrupted by changing the path array manually. Use the intended [method get_next_location] once every physics frame to receive the next path point for the agents movement as this function also updates the internal path logic. </description> </method> <method name="get_nav_path_index" qualifiers="const"> <return type="int" /> <description> Returns which index the agent is currently on in the navigation path's [PackedVector3Array]. </description> </method> <method name="get_navigation_layer_value" qualifiers="const"> <return type="bool" /> <param index="0" name="layer_number" type="int" /> <description> Returns whether or not the specified layer of the [member navigation_layers] bitmask is enabled, given a [param layer_number] between 1 and 32. </description> </method> <method name="get_navigation_map" qualifiers="const"> <return type="RID" /> <description> Returns the [RID] of the navigation map for this NavigationAgent node. This function returns always the map set on the NavigationAgent node and not the map of the abstract agent on the NavigationServer. If the agent map is changed directly with the NavigationServer API the NavigationAgent node will not be aware of the map change. Use [method set_navigation_map] to change the navigation map for the NavigationAgent and also update the agent on the NavigationServer. </description> </method> <method name="get_next_location"> <return type="Vector3" /> <description> Returns the next location in global coordinates that can be moved to, making sure that there are no static objects in the way. If the agent does not have a navigation path, it will return the position of the agent's parent. The use of this function once every physics frame is required to update the internal path logic of the NavigationAgent. </description> </method> <method name="get_rid" qualifiers="const"> <return type="RID" /> <description> Returns the [RID] of this agent on the [NavigationServer3D]. </description> </method> <method name="get_target_location" qualifiers="const"> <return type="Vector3" /> <description> Returns the user defined [Vector3] after setting the target location. </description> </method> <method name="is_navigation_finished"> <return type="bool" /> <description> Returns true if the navigation path's final location has been reached. </description> </method> <method name="is_target_reachable"> <return type="bool" /> <description> Returns true if the target location is reachable. The target location is set using [method set_target_location]. </description> </method> <method name="is_target_reached" qualifiers="const"> <return type="bool" /> <description> Returns true if the target location is reached. The target location is set using [method set_target_location]. It may not always be possible to reach the target location. It should always be possible to reach the final location though. See [method get_final_location]. </description> </method> <method name="set_navigation_layer_value"> <return type="void" /> <param index="0" name="layer_number" type="int" /> <param index="1" name="value" type="bool" /> <description> Based on [param value], enables or disables the specified layer in the [member navigation_layers] bitmask, given a [param layer_number] between 1 and 32. </description> </method> <method name="set_navigation_map"> <return type="void" /> <param index="0" name="navigation_map" type="RID" /> <description> Sets the [RID] of the navigation map this NavigationAgent node should use and also updates the [code]agent[/code] on the NavigationServer. </description> </method> <method name="set_target_location"> <return type="void" /> <param index="0" name="location" type="Vector3" /> <description> Sets the user desired final location. This will clear the current navigation path. </description> </method> <method name="set_velocity"> <return type="void" /> <param index="0" name="velocity" type="Vector3" /> <description> Sends the passed in velocity to the collision avoidance algorithm. It will adjust the velocity to avoid collisions. Once the adjustment to the velocity is complete, it will emit the [signal velocity_computed] signal. </description> </method> </methods> <members> <member name="agent_height_offset" type="float" setter="set_agent_height_offset" getter="get_agent_height_offset" default="0.0"> The NavigationAgent height offset is subtracted from the y-axis value of any vector path position for this NavigationAgent. The NavigationAgent height offset does not change or influence the navigation mesh or pathfinding query result. Additional navigation maps that use regions with navigation meshes that the developer baked with appropriate agent radius or height values are required to support different-sized agents. </member> <member name="avoidance_enabled" type="bool" setter="set_avoidance_enabled" getter="get_avoidance_enabled" default="false"> If [code]true[/code] the agent is registered for an RVO avoidance callback on the [NavigationServer3D]. When [method NavigationAgent3D.set_velocity] is used and the processing is completed a [code]safe_velocity[/code] Vector3 is received with a signal connection to [signal velocity_computed]. Avoidance processing with many registered agents has a significant performance cost and should only be enabled on agents that currently require it. </member> <member name="ignore_y" type="bool" setter="set_ignore_y" getter="get_ignore_y" default="true"> Ignores collisions on the Y axis. Must be true to move on a horizontal plane. </member> <member name="max_neighbors" type="int" setter="set_max_neighbors" getter="get_max_neighbors" default="10"> The maximum number of neighbors for the agent to consider. </member> <member name="max_speed" type="float" setter="set_max_speed" getter="get_max_speed" default="10.0"> The maximum speed that an agent can move. </member> <member name="navigation_layers" type="int" setter="set_navigation_layers" getter="get_navigation_layers" default="1"> A bitfield determining what navigation layers of navigation regions this NavigationAgent will use to calculate path. Changing it runtime will clear current navigation path and generate new one, according to new navigation layers. </member> <member name="neighbor_distance" type="float" setter="set_neighbor_distance" getter="get_neighbor_distance" default="50.0"> The distance to search for other agents. </member> <member name="path_desired_distance" type="float" setter="set_path_desired_distance" getter="get_path_desired_distance" default="1.0"> The distance threshold before a path point is considered to be reached. This will allow an agent to not have to hit a path point on the path exactly, but in the area. If this value is set to high the NavigationAgent will skip points on the path which can lead to leaving the navigation mesh. If this value is set to low the NavigationAgent will be stuck in a repath loop cause it will constantly overshoot or undershoot the distance to the next point on each physics frame update. </member> <member name="path_max_distance" type="float" setter="set_path_max_distance" getter="get_path_max_distance" default="3.0"> The maximum distance the agent is allowed away from the ideal path to the final location. This can happen due to trying to avoid collisions. When the maximum distance is exceeded, it recalculates the ideal path. </member> <member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0"> The radius of the avoidance agent. This is the "body" of the avoidance agent and not the avoidance maneuver starting radius (which is controlled by [member neighbor_distance]). Does not affect normal pathfinding. To change an actor's pathfinding radius bake [NavigationMesh] resources with a different [member NavigationMesh.agent_radius] property and use different navigation maps for each actor size. </member> <member name="target_desired_distance" type="float" setter="set_target_desired_distance" getter="get_target_desired_distance" default="1.0"> The distance threshold before the final target point is considered to be reached. This will allow an agent to not have to hit the point of the final target exactly, but only the area. If this value is set to low the NavigationAgent will be stuck in a repath loop cause it will constantly overshoot or undershoot the distance to the final target point on each physics frame update. </member> <member name="time_horizon" type="float" setter="set_time_horizon" getter="get_time_horizon" default="5.0"> The minimal amount of time for which this agent's velocities, that are computed with the collision avoidance algorithm, are safe with respect to other agents. The larger the number, the sooner the agent will respond to other agents, but less freedom in choosing its velocities. Must be positive. </member> </members> <signals> <signal name="navigation_finished"> <description> Notifies when the final location is reached. </description> </signal> <signal name="path_changed"> <description> Notifies when the navigation path changes. </description> </signal> <signal name="target_reached"> <description> Notifies when the player defined target, set with [method set_target_location], is reached. </description> </signal> <signal name="velocity_computed"> <param index="0" name="safe_velocity" type="Vector3" /> <description> Notifies when the collision avoidance velocity is calculated. Emitted by [method set_velocity]. Only emitted when [member avoidance_enabled] is true. </description> </signal> </signals> </class>
{'content_hash': 'e61fbe88b591984e735a8998e472022b', 'timestamp': '', 'source': 'github', 'line_count': 178, 'max_line_length': 523, 'avg_line_length': 66.67977528089888, 'alnum_prop': 0.7473249641924341, 'repo_name': 'josempans/godot', 'id': '3bb5b361ca31c5c449a6bfa1e22e2c80a543f445', 'size': '11869', 'binary': False, 'copies': '6', 'ref': 'refs/heads/master', 'path': 'doc/classes/NavigationAgent3D.xml', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'AIDL', 'bytes': '1633'}, {'name': 'C', 'bytes': '1045182'}, {'name': 'C#', 'bytes': '1617601'}, {'name': 'C++', 'bytes': '39736578'}, {'name': 'CMake', 'bytes': '606'}, {'name': 'GAP', 'bytes': '62'}, {'name': 'GDScript', 'bytes': '66469'}, {'name': 'GLSL', 'bytes': '844888'}, {'name': 'Java', 'bytes': '596320'}, {'name': 'JavaScript', 'bytes': '188917'}, {'name': 'Kotlin', 'bytes': '93069'}, {'name': 'Makefile', 'bytes': '1421'}, {'name': 'Objective-C', 'bytes': '20550'}, {'name': 'Objective-C++', 'bytes': '396618'}, {'name': 'PowerShell', 'bytes': '2713'}, {'name': 'Python', 'bytes': '470837'}, {'name': 'Shell', 'bytes': '33647'}]}
from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): return s try: _encoding = QtGui.QApplication.UnicodeUTF8 def _translate(context, text, disambig): return QtGui.QApplication.translate(context, text, disambig, _encoding) except AttributeError: def _translate(context, text, disambig): return QtGui.QApplication.translate(context, text, disambig) class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(586, 124) self.label = QtGui.QLabel(Dialog) self.label.setGeometry(QtCore.QRect(40, 20, 491, 51)) self.label.setStyleSheet(_fromUtf8("color: rgb(255, 0, 0);")) self.label.setWordWrap(True) self.label.setObjectName(_fromUtf8("label")) self.pushButton = QtGui.QPushButton(Dialog) self.pushButton.setGeometry(QtCore.QRect(230, 80, 101, 23)) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.pushButton_2 = QtGui.QPushButton(Dialog) self.pushButton_2.setGeometry(QtCore.QRect(490, 80, 80, 23)) self.pushButton_2.setObjectName(_fromUtf8("pushButton_2")) Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.label.setText(_translate("Dialog", "Please Add At Least 3 Ambience Files (The More The Better) To The General Ambience Directory Located At:", None)) self.pushButton.setText(_translate("Dialog", "TAKE ME THERE", None)) self.pushButton_2.setText(_translate("Dialog", "BACK", None))
{'content_hash': 'e751d9d3c075dd8837638a74d2f1aa32', 'timestamp': '', 'source': 'github', 'line_count': 36, 'max_line_length': 162, 'avg_line_length': 44.72222222222222, 'alnum_prop': 0.6850931677018633, 'repo_name': 'calebtrahan/KujiIn_Python', 'id': '0ca983f19dbde49be78165ea0ce6d3661652f0f5', 'size': '1822', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'backup/guitemplates/addambiencesimpledialog.py', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'HTML', 'bytes': '179183'}, {'name': 'Python', 'bytes': '652214'}]}
<!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_151) on Wed May 02 00:35:12 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier (BOM: * : All 2018.5.0 API)</title> <meta name="date" content="2018-05-02"> <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 Interface org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier (BOM: * : All 2018.5.0 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/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">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">WildFly Swarm API, 2018.5.0</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/wildfly/swarm/config/infinispan/cache_container/class-use/JDBCStoreSupplier.html" target="_top">Frames</a></li> <li><a href="JDBCStoreSupplier.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 Interface org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier" class="title">Uses of Interface<br>org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier</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/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</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.wildfly.swarm.config.infinispan.cache_container">org.wildfly.swarm.config.infinispan.cache_container</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.wildfly.swarm.config.infinispan.cache_container"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</a> in <a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/package-summary.html">org.wildfly.swarm.config.infinispan.cache_container</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/wildfly/swarm/config/infinispan/cache_container/package-summary.html">org.wildfly.swarm.config.infinispan.cache_container</a> with parameters of type <a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</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/wildfly/swarm/config/infinispan/cache_container/ReplicatedCache.html" title="type parameter in ReplicatedCache">T</a></code></td> <td class="colLast"><span class="typeNameLabel">ReplicatedCache.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/ReplicatedCache.html#jdbcStore-org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier-">jdbcStore</a></span>(<a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</a>&nbsp;supplier)</code> <div class="block">The cache JDBC store configuration.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/InvalidationCache.html" title="type parameter in InvalidationCache">T</a></code></td> <td class="colLast"><span class="typeNameLabel">InvalidationCache.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/InvalidationCache.html#jdbcStore-org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier-">jdbcStore</a></span>(<a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</a>&nbsp;supplier)</code> <div class="block">The cache JDBC store configuration.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/DistributedCache.html" title="type parameter in DistributedCache">T</a></code></td> <td class="colLast"><span class="typeNameLabel">DistributedCache.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/DistributedCache.html#jdbcStore-org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier-">jdbcStore</a></span>(<a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</a>&nbsp;supplier)</code> <div class="block">The cache JDBC store configuration.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/LocalCache.html" title="type parameter in LocalCache">T</a></code></td> <td class="colLast"><span class="typeNameLabel">LocalCache.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/LocalCache.html#jdbcStore-org.wildfly.swarm.config.infinispan.cache_container.JDBCStoreSupplier-">jdbcStore</a></span>(<a href="../../../../../../../org/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">JDBCStoreSupplier</a>&nbsp;supplier)</code> <div class="block">The cache JDBC store configuration.</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/wildfly/swarm/config/infinispan/cache_container/JDBCStoreSupplier.html" title="interface in org.wildfly.swarm.config.infinispan.cache_container">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">WildFly Swarm API, 2018.5.0</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/wildfly/swarm/config/infinispan/cache_container/class-use/JDBCStoreSupplier.html" target="_top">Frames</a></li> <li><a href="JDBCStoreSupplier.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 &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
{'content_hash': '836cd2ca18ac6755f088f43a42814378', 'timestamp': '', 'source': 'github', 'line_count': 188, 'max_line_length': 538, 'avg_line_length': 56.138297872340424, 'alnum_prop': 0.6710252037142316, 'repo_name': 'wildfly-swarm/wildfly-swarm-javadocs', 'id': '99e9ff39758f5418ed81d25db25ec64e4f7f8942', 'size': '10554', 'binary': False, 'copies': '1', 'ref': 'refs/heads/gh-pages', 'path': '2018.5.0/apidocs/org/wildfly/swarm/config/infinispan/cache_container/class-use/JDBCStoreSupplier.html', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
package com.danielesegato.demo.adme; import android.app.Activity; import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.content.Context; import android.os.Build; import android.os.Bundle; import android.view.Gravity; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.support.v4.widget.DrawerLayout; import android.widget.ArrayAdapter; import android.widget.TextView; public class ADMEDemoMainActivity extends ActionBarActivity implements NavigationDrawerFragment.NavigationDrawerCallbacks { /** * Fragment managing the behaviors, interactions and presentation of the navigation drawer. */ private NavigationDrawerFragment mNavigationDrawerFragment; /** * Used to store the last screen title. For use in {@link #restoreActionBar()}. */ private CharSequence mTitle; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_admedemo_main); mNavigationDrawerFragment = (NavigationDrawerFragment) getSupportFragmentManager().findFragmentById(R.id.navigation_drawer); mTitle = getTitle(); // Set up the drawer. mNavigationDrawerFragment.setUp( R.id.navigation_drawer, (DrawerLayout) findViewById(R.id.drawer_layout)); } @Override public void onNavigationDrawerItemSelected(int position) { // update the main content by replacing fragments FragmentManager fragmentManager = getSupportFragmentManager(); fragmentManager.beginTransaction() .replace(R.id.container, PlaceholderFragment.newInstance(position + 1)) .commit(); } public void onSectionAttached(int number) { switch (number) { case 1: mTitle = getString(R.string.title_section1); break; case 2: mTitle = getString(R.string.title_section2); break; case 3: mTitle = getString(R.string.title_section3); break; } } public void restoreActionBar() { ActionBar actionBar = getSupportActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); actionBar.setDisplayShowTitleEnabled(true); actionBar.setTitle(mTitle); } @Override public boolean onCreateOptionsMenu(Menu menu) { if (!mNavigationDrawerFragment.isDrawerOpen()) { // Only show items in the action bar relevant to this screen // if the drawer is not showing. Otherwise, let the drawer // decide what to show in the action bar. getMenuInflater().inflate(R.menu.admedemo_main, menu); restoreActionBar(); return true; } return super.onCreateOptionsMenu(menu); } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } /** * A placeholder fragment containing a simple view. */ public static class PlaceholderFragment extends Fragment { /** * The fragment argument representing the section number for this * fragment. */ private static final String ARG_SECTION_NUMBER = "section_number"; /** * Returns a new instance of this fragment for the given section * number. */ public static PlaceholderFragment newInstance(int sectionNumber) { PlaceholderFragment fragment = new PlaceholderFragment(); Bundle args = new Bundle(); args.putInt(ARG_SECTION_NUMBER, sectionNumber); fragment.setArguments(args); return fragment; } public PlaceholderFragment() { } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_admedemo_main, container, false); TextView textView = (TextView) rootView.findViewById(R.id.section_label); textView.setText(Integer.toString(getArguments().getInt(ARG_SECTION_NUMBER))); return rootView; } @Override public void onAttach(Activity activity) { super.onAttach(activity); ((ADMEDemoMainActivity) activity).onSectionAttached( getArguments().getInt(ARG_SECTION_NUMBER)); } } }
{'content_hash': '2dc8f205f8e9820cf09599d8823bc998', 'timestamp': '', 'source': 'github', 'line_count': 147, 'max_line_length': 96, 'avg_line_length': 34.843537414965986, 'alnum_prop': 0.6507223740726279, 'repo_name': 'danielesegato/adme', 'id': '90c722c4465aa4cbb1cabe1a6da08da21351d53f', 'size': '5122', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'adme-demo/src/main/java/com/danielesegato/demo/adme/ADMEDemoMainActivity.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Java', 'bytes': '194277'}]}
ClockConfig::ClockConfig(QWidget *parent) : QDialog(parent), ui(new Ui::ClockConfig) { ui->setupUi(this); } ClockConfig::~ClockConfig() { delete ui; } void ClockConfig::on_buttonBox_accepted() { //set the ratios in Odin. :) int i = 0; for(i = 0;i<clocks.length();i++){ QString ratText = ui->tableWidget->item(i,1)->text(); int rat = ratText.toInt(); set_clock_ratio(rat, clocks.at(i)->getOdinRef()); } } void ClockConfig::on_buttonBox_rejected() { // do nothing for now. } void ClockConfig::passClockList(QList<LogicUnit *> clocklist) { clocks = clocklist; int i = 0; ui->tableWidget->setRowCount(clocklist.length()); for(i = 0;i<clocklist.length();i++){ int rat = get_clock_ratio(clocks.at(i)->getOdinRef()); QString ratString; ratString.setNum(rat); QTableWidgetItem *clockName = new QTableWidgetItem(clocks.at(i)->getName()); QTableWidgetItem *clockRatio = new QTableWidgetItem(ratString); ui->tableWidget->setItem(i,0,clockName); ui->tableWidget->setItem(i,1,clockRatio); } }
{'content_hash': '0aefb3e50292efcf21b2baf8fde82854', 'timestamp': '', 'source': 'github', 'line_count': 47, 'max_line_length': 84, 'avg_line_length': 24.404255319148938, 'alnum_prop': 0.6146469049694856, 'repo_name': 'UGent-HES/ConnectionRouter', 'id': 'b8a040d328c80ad344ca6b1b711f6ad81eb34f66', 'size': '1201', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'blifexplorer/src/clockconfig.cpp', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C', 'bytes': '19785938'}, {'name': 'C++', 'bytes': '1520270'}, {'name': 'CSS', 'bytes': '3181'}, {'name': 'Coq', 'bytes': '18542'}, {'name': 'HTML', 'bytes': '6400'}, {'name': 'JavaScript', 'bytes': '59070'}, {'name': 'Lex', 'bytes': '10434'}, {'name': 'Makefile', 'bytes': '31309'}, {'name': 'Objective-C', 'bytes': '5053'}, {'name': 'Perl', 'bytes': '468062'}, {'name': 'Perl6', 'bytes': '40822'}, {'name': 'Python', 'bytes': '210880'}, {'name': 'QMake', 'bytes': '4839'}, {'name': 'Shell', 'bytes': '44904'}, {'name': 'SourcePawn', 'bytes': '3275'}, {'name': 'Verilog', 'bytes': '10339275'}, {'name': 'Yacc', 'bytes': '31188'}]}
<?php /** * * @class List * @link http://linephp.com * @author Alivop[alivop.liu@gmail.com] * @since 1.0 * @package */ class ArrayList extends \line\core\util\ArrayList { protected static function console($arg1, $arg2) { } protected function compare($arg1, $arg2) { } }
{'content_hash': 'c875235bfdc74a7614085e6dee9b9be8', 'timestamp': '', 'source': 'github', 'line_count': 24, 'max_line_length': 51, 'avg_line_length': 13.583333333333334, 'alnum_prop': 0.5674846625766872, 'repo_name': 'Alivop/LinePHP', 'id': '03ac072b3ccc66e83f7ece96343c595ae509888f', 'size': '1175', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'lib/line/core/linephp/ArrayList.php', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'PHP', 'bytes': '246180'}]}
<?php class SampleDashboard extends StandaloneDashboard { public function buildDashboard(){ $chart = new ChartComponent ("chart1"); $chart->setCaption ("Country wide sales"); $chart->setLabels (["Country A", "Country B", "Country C"]); $chart->setDimensions (6, 6); $chart->addSeries ("sales", "Sales", [10, 7, 11]); $chart->addDrillStep ("drill_states", $this); $chart->addDrillStep ("drill_countries", $this); $this->addComponent($chart); } public function drill_states ($source, $target, $params) { $source->setCaption("States in ".$params["label"]); $source->setLabels (["State A", "State B"]); $source->addSeries ("sales", "Sales", [4, 3]); } public function drill_countries ($source, $target, $params) { $source->setCaption("Cities in ".$params["label"]); $source->setLabels ([ "City A", "City B", "City C", "City D"]); $source->addSeries ("sales", "Sales", [3, 1, 4, 2]); } } $db = new SampleDashboard(); $db->renderStandalone();
{'content_hash': 'd42c132cf411aae318594601cece9f94', 'timestamp': '', 'source': 'github', 'line_count': 30, 'max_line_length': 68, 'avg_line_length': 33.666666666666664, 'alnum_prop': 0.6198019801980198, 'repo_name': 'sguha-work/examples', 'id': '27902d7729e54d3d4dfa97dda29b8418a319c7f0', 'size': '1010', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'src/php/examples/chart_drill0.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'ApacheConf', 'bytes': '1180'}, {'name': 'Batchfile', 'bytes': '2888'}, {'name': 'CSS', 'bytes': '52017'}, {'name': 'HTML', 'bytes': '1328945'}, {'name': 'JavaScript', 'bytes': '361317'}, {'name': 'PHP', 'bytes': '10339087'}, {'name': 'Shell', 'bytes': '4134'}]}
public class NegativeIntConstant { static final int MASK = 0xF0F0F0F0; public static void main(String[] args) { long mask = <warning descr="Negative int hexadecimal constant in long context">0xFFFF_FFFF</warning>; long mask1 = <warning descr="Negative int hexadecimal constant in long context">0X8000_0000</warning>; long mask2 = 0x7FFF_FFFF; long mask3 = 0xFFFF_FFFFL; long mask4 = -1; long mask5 = <warning descr="Negative int hexadecimal constant in long context">MASK</warning>; } void test(long l) { if (l == <warning descr="Negative int hexadecimal constant in long context">0xD0D0D0D0</warning>) {} } void testAssert(int expected, long expectedLong) { assertEquals(0xF0F0F0F0, expected); assertEquals(<warning descr="Negative int hexadecimal constant in long context">0xF0F0F0F0</warning>, expectedLong); } void assertEquals(long a, long b) { } }
{'content_hash': '98bac22f8b4cf43dce8204dccc6ff34d', 'timestamp': '', 'source': 'github', 'line_count': 25, 'max_line_length': 120, 'avg_line_length': 36.48, 'alnum_prop': 0.7171052631578947, 'repo_name': 'google/intellij-community', 'id': '7b297261a8058cd5d3b7061950d7b17f2d142b9b', 'size': '912', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'plugins/InspectionGadgets/test/com/siyeh/igtest/bitwise/negative_int/NegativeIntConstant.java', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
from .base import Base class SAML(Base): endpoint = "/saml" def get_metadata(self): return self.client.get(self.endpoint + "/metadata") def upload_idp_certificate(self, files): return self.client.post(self.endpoint + "/certificate/idp", files=files) def remove_idp_certificate(self): return self.client.delete(self.endpoint + "/certificate/idp") def upload_public_certificate(self, files): return self.client.post(self.endpoint + "/certificate/public", files=files) def remove_public_certificate(self): return self.client.delete(self.endpoint + "/certificate/public") def upload_private_key(self, files): return self.client.post(self.endpoint + "/certificate/private", files=files) def remove_private_key(self): return self.client.delete(self.endpoint + "/certificate/private") def get_certificate_status(self): return self.client.get(self.endpoint + "/certificate/status")
{'content_hash': '21cae903c6a8131a29e6ad657a1d4529', 'timestamp': '', 'source': 'github', 'line_count': 29, 'max_line_length': 84, 'avg_line_length': 33.93103448275862, 'alnum_prop': 0.6869918699186992, 'repo_name': 'Vaelor/python-mattermost-driver', 'id': 'd10d8e4855c4b619f3d35522a208d0a4b596f1ea', 'size': '984', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/mattermostdriver/endpoints/saml.py', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Python', 'bytes': '63938'}]}
define("ghost/docs/js/nav", [], function() { "use strict"; (function(){ // TODO: unbind click events when nav is desktop sized // Element vars var menu_button = document.querySelector(".menu-button"), viewport = document.querySelector(".viewport"), global_nav = document.querySelector(".global-nav"), page_content = document.querySelector(".viewport .page-content"); // mediaQuery listener var mq_max_1025 = window.matchMedia("(max-width: 1025px)"); mq_max_1025.addListener(show_hide_nav); show_hide_nav(mq_max_1025); menu_button.addEventListener("click", function(e) { e.preventDefault(); if (menu_button.getAttribute('data-nav-open')) { close_nav(); } else { open_nav(); } }); page_content.addEventListener("click", function(e) { e.preventDefault(); console.log("click viewport"); if (viewport.classList.contains("global-nav-expanded")) { console.log("close nav from viewport"); close_nav(); } }); var open_nav = function(){ menu_button.setAttribute("data-nav-open", "true"); viewport.classList.add("global-nav-expanded"); global_nav.classList.add("global-nav-expanded"); }; var close_nav = function(){ menu_button.removeAttribute('data-nav-open'); viewport.classList.remove("global-nav-expanded"); global_nav.classList.remove("global-nav-expanded"); }; function show_hide_nav(mq) { if (mq.matches) { // Window is 1025px or less } else { // Window is 1026px or more viewport.classList.remove("global-nav-expanded"); global_nav.classList.remove("global-nav-expanded"); } } })(); });
{'content_hash': '1a22201aad94f2524ce8126dcea3780d', 'timestamp': '', 'source': 'github', 'line_count': 61, 'max_line_length': 77, 'avg_line_length': 33.032786885245905, 'alnum_prop': 0.5325062034739454, 'repo_name': 'luismatute/LM-Blog', 'id': 'c9c4e4dfe8a9c4b1836a96e013226a4b662b2287', 'size': '2015', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': '.tmp/ember-transpiled/docs/js/nav.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '263406'}, {'name': 'HTML', 'bytes': '331718'}, {'name': 'Handlebars', 'bytes': '75217'}, {'name': 'JavaScript', 'bytes': '10485941'}, {'name': 'Shell', 'bytes': '1005'}]}
package org.apereo.cas.otp.repository.credentials; import java.util.List; /** * This is {@link OneTimeTokenCredentialRepository}. * * @author Misagh Moayyed * @since 5.1.0 */ public interface OneTimeTokenCredentialRepository { /** * Gets secret. * * @param username the username * @return the secret */ OneTimeTokenAccount get(String username); /** * Save. * * @param userName the user name * @param secretKey the secret key * @param validationCode the validation code * @param scratchCodes the scratch codes */ void save(String userName, String secretKey, int validationCode, List<Integer> scratchCodes); /** * Create one time token account. * * @param username the username * @return the one time token account */ OneTimeTokenAccount create(String username); /** * Update an existing account. * @param account the registration record */ void update(OneTimeTokenAccount account); }
{'content_hash': '1071c8dfe06baa7cde2c20e745639d6e', 'timestamp': '', 'source': 'github', 'line_count': 43, 'max_line_length': 97, 'avg_line_length': 24.13953488372093, 'alnum_prop': 0.6445086705202312, 'repo_name': 'dodok1/cas', 'id': 'df2c6fa55b9197c955b7bc3a80beea5f0189cdb6', 'size': '1038', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'support/cas-server-support-otp-mfa/src/main/java/org/apereo/cas/otp/repository/credentials/OneTimeTokenCredentialRepository.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '124789'}, {'name': 'Groovy', 'bytes': '14591'}, {'name': 'HTML', 'bytes': '145115'}, {'name': 'Java', 'bytes': '7704384'}, {'name': 'JavaScript', 'bytes': '169109'}, {'name': 'Shell', 'bytes': '19481'}]}
package com.amazonaws.services.simplesystemsmanagement.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.Request; import com.amazonaws.http.HttpMethodName; import com.amazonaws.services.simplesystemsmanagement.model.*; import com.amazonaws.transform.Marshaller; import com.amazonaws.protocol.*; import com.amazonaws.protocol.Protocol; import com.amazonaws.annotation.SdkInternalApi; /** * UpdateDocumentDefaultVersionRequest Marshaller */ @Generated("com.amazonaws:aws-java-sdk-code-generator") @SdkInternalApi public class UpdateDocumentDefaultVersionRequestProtocolMarshaller implements Marshaller<Request<UpdateDocumentDefaultVersionRequest>, UpdateDocumentDefaultVersionRequest> { private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.AWS_JSON).requestUri("/") .httpMethodName(HttpMethodName.POST).hasExplicitPayloadMember(false).hasPayloadMembers(true) .operationIdentifier("AmazonSSM.UpdateDocumentDefaultVersion").serviceName("AWSSimpleSystemsManagement").build(); private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory; public UpdateDocumentDefaultVersionRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) { this.protocolFactory = protocolFactory; } public Request<UpdateDocumentDefaultVersionRequest> marshall(UpdateDocumentDefaultVersionRequest updateDocumentDefaultVersionRequest) { if (updateDocumentDefaultVersionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<UpdateDocumentDefaultVersionRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller( SDK_OPERATION_BINDING, updateDocumentDefaultVersionRequest); protocolMarshaller.startMarshalling(); UpdateDocumentDefaultVersionRequestMarshaller.getInstance().marshall(updateDocumentDefaultVersionRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } } }
{'content_hash': '5f35bbd8e1abb4002f59a42ecb5b2f6f', 'timestamp': '', 'source': 'github', 'line_count': 53, 'max_line_length': 143, 'avg_line_length': 44.24528301886792, 'alnum_prop': 0.7825159914712153, 'repo_name': 'aws/aws-sdk-java', 'id': '30ea68b0eff9cc8ef5ebfd9933d0826ca19c1c1a', 'size': '2925', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/UpdateDocumentDefaultVersionRequestProtocolMarshaller.java', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
from django.conf.urls import url, include from django.contrib.auth.decorators import login_required from .views import * urlpatterns = [ url(r'^listado/', login_required(usuarioList), name='listar'), url(r'^registro/', login_required(usuarioCreate), name='registrar'), # url(r'^detalle/(?P<pk>\d+)/$', login_required(UsuarioDetail.as_view()), name='usuarioDetalle'), url(r'^eliminar/(?P<usuario_id>\d+)/$', login_required(usuarioDelete), name='eliminar'), url(r'^actualizar/(?P<usuario_id>\d+)/$', login_required(usuarioUpdate), name='actualizar'), # upload url(r'^masive/', login_required(upload), name='upload'), url(r'^usuarioUpload/planilla/$', login_required(get_planilla_usuario), name='get_planilla_usuario'), # ESTUDIANTES url(r'^listado-estudiantes/$', login_required(estudiante_list), name='listar_estudiantes'), url(r'^nuevo-estudiante/$', login_required(estudiante_create), name='nuevo_estudiante'), url(r'^estudiante-masive/', login_required(upload_estudiante), name='upload_estudiante'), url(r'^estudianteUpload/planilla/$', login_required(get_planilla_estudiante), name='get_planilla_estudiante'), # AJAX url(r'^estudiantesAJAX/$', login_required(GetEstudiantes.as_view()), name='get_estudiantes'), ]
{'content_hash': 'd9af392dd53ccc92cb57fcc6d3f973ed', 'timestamp': '', 'source': 'github', 'line_count': 26, 'max_line_length': 111, 'avg_line_length': 47.53846153846154, 'alnum_prop': 0.7265372168284789, 'repo_name': 'Mansilla1/Sistema-SEC', 'id': '4bbe060bd8ec8f55fba87699319f3c95b9903af3', 'size': '1236', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'apps/usuarios/urls.py', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '243012'}, {'name': 'HTML', 'bytes': '308668'}, {'name': 'JavaScript', 'bytes': '1984715'}, {'name': 'PowerShell', 'bytes': '468'}, {'name': 'Python', 'bytes': '152212'}]}
// vim:ts=4:sw=4:expandtab #include <ctype.h> #include <time.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <yajl/yajl_gen.h> #include <yajl/yajl_version.h> #include "i3status.h" #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) #include <sys/types.h> #include <sys/sysctl.h> #endif #if defined(__OpenBSD__) #include <sys/types.h> #include <sys/ioctl.h> #include <sys/fcntl.h> #include <machine/apmvar.h> #endif #if defined(__NetBSD__) #include <fcntl.h> #include <prop/proplib.h> #include <sys/envsys.h> #endif /* * Get battery information from /sys. Note that it uses the design capacity to * calculate the percentage, not the last full capacity, so you can see how * worn off your battery is. * */ void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, const char *format_down, const char *status_chr, const char *status_bat, const char *status_full, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity, bool hide_seconds) { time_t empty_time; struct tm *empty_tm; char buf[1024]; char statusbuf[16]; char percentagebuf[16]; char remainingbuf[256]; char emptytimebuf[256]; char consumptionbuf[256]; const char *walk, *last; char *outwalk = buffer; bool watt_as_unit = false; bool colorful_output = false; int full_design = -1, remaining = -1, present_rate = -1, voltage = -1; charging_status_t status = CS_DISCHARGING; memset(statusbuf, '\0', sizeof(statusbuf)); memset(percentagebuf, '\0', sizeof(percentagebuf)); memset(remainingbuf, '\0', sizeof(remainingbuf)); memset(emptytimebuf, '\0', sizeof(emptytimebuf)); memset(consumptionbuf, '\0', sizeof(consumptionbuf)); static char batpath[512]; sprintf(batpath, path, number); INSTANCE(batpath); #define BATT_STATUS_NAME(status) \ (status == CS_CHARGING ? status_chr : (status == CS_DISCHARGING ? status_bat : status_full)) #if defined(LINUX) if (!slurp(batpath, buf, sizeof(buf))) { OUTPUT_FULL_TEXT(format_down); return; } for (walk = buf, last = buf; (walk - buf) < 1024; walk++) { if (*walk == '\n') { last = walk + 1; continue; } if (*walk != '=') continue; if (BEGINS_WITH(last, "POWER_SUPPLY_ENERGY_NOW")) { watt_as_unit = true; remaining = atoi(walk + 1); } else if (BEGINS_WITH(last, "POWER_SUPPLY_CHARGE_NOW")) { watt_as_unit = false; remaining = atoi(walk + 1); } else if (BEGINS_WITH(last, "POWER_SUPPLY_CURRENT_NOW")) present_rate = abs(atoi(walk + 1)); else if (BEGINS_WITH(last, "POWER_SUPPLY_VOLTAGE_NOW")) voltage = abs(atoi(walk + 1)); /* on some systems POWER_SUPPLY_POWER_NOW does not exist, but actually * it is the same as POWER_SUPPLY_CURRENT_NOW but with μWh as * unit instead of μAh. We will calculate it as we need it * later. */ else if (BEGINS_WITH(last, "POWER_SUPPLY_POWER_NOW")) present_rate = abs(atoi(walk + 1)); else if (BEGINS_WITH(last, "POWER_SUPPLY_STATUS=Charging")) status = CS_CHARGING; else if (BEGINS_WITH(last, "POWER_SUPPLY_STATUS=Full")) status = CS_FULL; else { /* The only thing left is the full capacity */ if (last_full_capacity) { if (!BEGINS_WITH(last, "POWER_SUPPLY_ENERGY_FULL") && !BEGINS_WITH(last, "POWER_SUPPLY_CHARGE_FULL")) continue; } else { if (!BEGINS_WITH(last, "POWER_SUPPLY_CHARGE_FULL_DESIGN") && !BEGINS_WITH(last, "POWER_SUPPLY_ENERGY_FULL_DESIGN")) continue; } full_design = atoi(walk + 1); } } /* the difference between POWER_SUPPLY_ENERGY_NOW and * POWER_SUPPLY_CHARGE_NOW is the unit of measurement. The energy is * given in mWh, the charge in mAh. So calculate every value given in * ampere to watt */ if (!watt_as_unit) { present_rate = (((float)voltage / 1000.0) * ((float)present_rate / 1000.0)); if (voltage != -1) { remaining = (((float)voltage / 1000.0) * ((float)remaining / 1000.0)); full_design = (((float)voltage / 1000.0) * ((float)full_design / 1000.0)); } } if ((full_design == -1) || (remaining == -1)) { OUTPUT_FULL_TEXT(format_down); return; } (void)snprintf(statusbuf, sizeof(statusbuf), "%s", BATT_STATUS_NAME(status)); float percentage_remaining = (((float)remaining / (float)full_design) * 100); /* Some batteries report POWER_SUPPLY_CHARGE_NOW=<full_design> when fully * charged, even though that’s plainly wrong. For people who chose to see * the percentage calculated based on the last full capacity, we clamp the * value to 100%, as that makes more sense. * See http://bugs.debian.org/785398 */ if (last_full_capacity && percentage_remaining > 100) { percentage_remaining = 100; } if (integer_battery_capacity) { (void)snprintf(percentagebuf, sizeof(percentagebuf), "%.00f%%", percentage_remaining); } else { (void)snprintf(percentagebuf, sizeof(percentagebuf), "%.02f%%", percentage_remaining); } if (present_rate > 0) { float remaining_time; int seconds, hours, minutes, seconds_remaining; if (status == CS_CHARGING) remaining_time = ((float)full_design - (float)remaining) / (float)present_rate; else if (status == CS_DISCHARGING) remaining_time = ((float)remaining / (float)present_rate); else remaining_time = 0; seconds_remaining = (int)(remaining_time * 3600.0); hours = seconds_remaining / 3600; seconds = seconds_remaining - (hours * 3600); minutes = seconds / 60; seconds -= (minutes * 60); if (status == CS_DISCHARGING && low_threshold > 0) { if (strcasecmp(threshold_type, "percentage") == 0 && percentage_remaining < low_threshold) { START_COLOR("color_bad"); colorful_output = true; } else if (strcasecmp(threshold_type, "percentage") == 0 && percentage_remaining > 100.0) { START_COLOR("color_degraded"); colorful_output = true; } else if (strcasecmp(threshold_type, "time") == 0 && seconds_remaining < 60 * low_threshold) { START_COLOR("color_bad"); colorful_output = true; } else { colorful_output = false; } } if (hide_seconds) (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d", max(hours, 0), max(minutes, 0)); else (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d:%02d", max(hours, 0), max(minutes, 0), max(seconds, 0)); empty_time = time(NULL); empty_time += seconds_remaining; empty_tm = localtime(&empty_time); if (hide_seconds) (void)snprintf(emptytimebuf, sizeof(emptytimebuf), "%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0)); else (void)snprintf(emptytimebuf, sizeof(emptytimebuf), "%02d:%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0), max(empty_tm->tm_sec, 0)); (void)snprintf(consumptionbuf, sizeof(consumptionbuf), "%1.2fW", ((float)present_rate / 1000.0 / 1000.0)); } else { /* On some systems, present_rate may not exist. Still, make sure * we colorize the output if threshold_type is set to percentage * (since we don't have any information on remaining time). */ if (status == CS_DISCHARGING && low_threshold > 0) { if (strcasecmp(threshold_type, "percentage") == 0 && percentage_remaining < low_threshold) { START_COLOR("color_bad"); colorful_output = true; } else if (strcasecmp(threshold_type, "percentage") == 0 && percentage_remaining > 100.0) { START_COLOR("color_degraded"); colorful_output = true; } else { colorful_output = false; } } } #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) int state; int sysctl_rslt; size_t sysctl_size = sizeof(sysctl_rslt); if (sysctlbyname(BATT_LIFE, &sysctl_rslt, &sysctl_size, NULL, 0) != 0) { OUTPUT_FULL_TEXT(format_down); return; } present_rate = sysctl_rslt; if (sysctlbyname(BATT_TIME, &sysctl_rslt, &sysctl_size, NULL, 0) != 0) { OUTPUT_FULL_TEXT(format_down); return; } remaining = sysctl_rslt; if (sysctlbyname(BATT_STATE, &sysctl_rslt, &sysctl_size, NULL, 0) != 0) { OUTPUT_FULL_TEXT(format_down); return; } state = sysctl_rslt; if (state == 0 && present_rate == 100) status = CS_FULL; else if (state == 0 && present_rate < 100) status = CS_CHARGING; else status = CS_DISCHARGING; full_design = sysctl_rslt; (void)snprintf(statusbuf, sizeof(statusbuf), "%s", BATT_STATUS_NAME(status)); (void)snprintf(percentagebuf, sizeof(percentagebuf), "%02d%%", present_rate); if (state == 1) { int hours, minutes; minutes = remaining; hours = minutes / 60; minutes -= (hours * 60); (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d", max(hours, 0), max(minutes, 0)); if (strcasecmp(threshold_type, "percentage") == 0 && present_rate < low_threshold) { START_COLOR("color_bad"); colorful_output = true; } else if (strcasecmp(threshold_type, "time") == 0 && remaining < (u_int)low_threshold) { START_COLOR("color_bad"); colorful_output = true; } } #elif defined(__OpenBSD__) /* * We're using apm(4) here, which is the interface to acpi(4) on amd64/i386 and * the generic interface on macppc/sparc64/zaurus, instead of using sysctl(3) and * probing acpi(4) devices. */ struct apm_power_info apm_info; int apm_fd; apm_fd = open("/dev/apm", O_RDONLY); if (apm_fd < 0) { OUTPUT_FULL_TEXT("can't open /dev/apm"); return; } if (ioctl(apm_fd, APM_IOC_GETPOWER, &apm_info) < 0) OUTPUT_FULL_TEXT("can't read power info"); close(apm_fd); /* Don't bother to go further if there's no battery present. */ if ((apm_info.battery_state == APM_BATTERY_ABSENT) || (apm_info.battery_state == APM_BATT_UNKNOWN)) { OUTPUT_FULL_TEXT(format_down); return; } switch (apm_info.ac_state) { case APM_AC_OFF: status = CS_DISCHARGING; break; case APM_AC_ON: status = CS_CHARGING; break; default: /* If we don't know what's going on, just assume we're discharging. */ status = CS_DISCHARGING; break; } (void)snprintf(statusbuf, sizeof(statusbuf), "%s", BATT_STATUS_NAME(status)); /* integer_battery_capacity is implied as battery_life is already in whole numbers. */ (void)snprintf(percentagebuf, sizeof(percentagebuf), "%.00d%%", apm_info.battery_life); if (status == CS_DISCHARGING && low_threshold > 0) { if (strcasecmp(threshold_type, "percentage") == 0 && apm_info.battery_life < low_threshold) { START_COLOR("color_bad"); colorful_output = true; } else if (strcasecmp(threshold_type, "time") == 0 && apm_info.minutes_left < (u_int)low_threshold) { START_COLOR("color_bad"); colorful_output = true; } } /* Can't give a meaningful value for remaining minutes if we're charging. */ if (status != CS_CHARGING) { (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d", apm_info.minutes_left / 60, apm_info.minutes_left % 60); } else { (void)snprintf(remainingbuf, sizeof(remainingbuf), "%s", "(CHR)"); } if (colorful_output) END_COLOR; #elif defined(__NetBSD__) /* * Using envsys(4) via sysmon(4). */ int fd, rval, last_full_cap; bool is_found = false; char *sensor_desc; bool is_full = false; prop_dictionary_t dict; prop_array_t array; prop_object_iterator_t iter; prop_object_iterator_t iter2; prop_object_t obj, obj2, obj3, obj4, obj5; asprintf(&sensor_desc, "acpibat%d", number); fd = open("/dev/sysmon", O_RDONLY); if (fd < 0) { OUTPUT_FULL_TEXT("can't open /dev/sysmon"); return; } rval = prop_dictionary_recv_ioctl(fd, ENVSYS_GETDICTIONARY, &dict); if (rval == -1) { close(fd); return; } if (prop_dictionary_count(dict) == 0) { prop_object_release(dict); close(fd); return; } iter = prop_dictionary_iterator(dict); if (iter == NULL) { prop_object_release(dict); close(fd); } /* iterate over the dictionary returned by the kernel */ while ((obj = prop_object_iterator_next(iter)) != NULL) { /* skip this dict if it's not what we're looking for */ if ((strlen(prop_dictionary_keysym_cstring_nocopy(obj)) == strlen(sensor_desc)) && (strncmp(sensor_desc, prop_dictionary_keysym_cstring_nocopy(obj), strlen(sensor_desc)) != 0)) continue; is_found = true; array = prop_dictionary_get_keysym(dict, obj); if (prop_object_type(array) != PROP_TYPE_ARRAY) { prop_object_iterator_release(iter); prop_object_release(dict); close(fd); return; } iter2 = prop_array_iterator(array); if (!iter2) { prop_object_iterator_release(iter); prop_object_release(dict); close(fd); return; } /* iterate over array of dicts specific to target battery */ while ((obj2 = prop_object_iterator_next(iter2)) != NULL) { obj3 = prop_dictionary_get(obj2, "description"); if (obj3 && strlen(prop_string_cstring_nocopy(obj3)) == 8 && strncmp("charging", prop_string_cstring_nocopy(obj3), 8) == 0) { obj3 = prop_dictionary_get(obj2, "cur-value"); if (prop_number_integer_value(obj3)) status = CS_CHARGING; else status = CS_DISCHARGING; continue; } if (obj3 && strlen(prop_string_cstring_nocopy(obj3)) == 6 && strncmp("charge", prop_string_cstring_nocopy(obj3), 6) == 0) { obj3 = prop_dictionary_get(obj2, "cur-value"); obj4 = prop_dictionary_get(obj2, "max-value"); obj5 = prop_dictionary_get(obj2, "type"); remaining = prop_number_integer_value(obj3); full_design = prop_number_integer_value(obj4); if (remaining == full_design) is_full = true; if (strncmp("Ampere hour", prop_string_cstring_nocopy(obj5), 11) == 0) watt_as_unit = false; else watt_as_unit = true; continue; } if (obj3 && strlen(prop_string_cstring_nocopy(obj3)) == 14 && strncmp("discharge rate", prop_string_cstring_nocopy(obj3), 14) == 0) { obj3 = prop_dictionary_get(obj2, "cur-value"); present_rate = prop_number_integer_value(obj3); continue; } if (obj3 && strlen(prop_string_cstring_nocopy(obj3)) == 13 && strncmp("last full cap", prop_string_cstring_nocopy(obj3), 13) == 0) { obj3 = prop_dictionary_get(obj2, "cur-value"); last_full_cap = prop_number_integer_value(obj3); continue; } if (obj3 && strlen(prop_string_cstring_nocopy(obj3)) == 7 && strncmp("voltage", prop_string_cstring_nocopy(obj3), 7) == 0) { obj3 = prop_dictionary_get(obj2, "cur-value"); voltage = prop_number_integer_value(obj3); continue; } } prop_object_iterator_release(iter2); } prop_object_iterator_release(iter); prop_object_release(dict); close(fd); if (!is_found) { OUTPUT_FULL_TEXT(format_down); return; } if (last_full_capacity) full_design = last_full_cap; if (!watt_as_unit) { present_rate = (((float)voltage / 1000.0) * ((float)present_rate / 1000.0)); remaining = (((float)voltage / 1000.0) * ((float)remaining / 1000.0)); full_design = (((float)voltage / 1000.0) * ((float)full_design / 1000.0)); } float percentage_remaining = (((float)remaining / (float)full_design) * 100); if (integer_battery_capacity) (void)snprintf(percentagebuf, sizeof(percentagebuf), "%d%%", (int)percentage_remaining); else (void)snprintf(percentagebuf, sizeof(percentagebuf), "%.02f%%", percentage_remaining); /* * Handle percentage low_threshold here, and time low_threshold when * we have it. */ if (status == CS_DISCHARGING && low_threshold > 0) { if (strcasecmp(threshold_type, "percentage") == 0 && (((float)remaining / (float)full_design) * 100) < low_threshold) { START_COLOR("color_bad"); colorful_output = true; } } if (is_full) (void)snprintf(statusbuf, sizeof(statusbuf), "%s", BATT_STATUS_NAME(CS_FULL)); else (void)snprintf(statusbuf, sizeof(statusbuf), "%s", BATT_STATUS_NAME(status)); /* * The envsys(4) ACPI routines do not appear to provide a 'time * remaining' figure, so we must deduce it. */ float remaining_time; int seconds, hours, minutes, seconds_remaining; if (status == CS_CHARGING) remaining_time = ((float)full_design - (float)remaining) / (float)present_rate; else if (status == CS_DISCHARGING) remaining_time = ((float)remaining / (float)present_rate); else remaining_time = 0; seconds_remaining = (int)(remaining_time * 3600.0); hours = seconds_remaining / 3600; seconds = seconds_remaining - (hours * 3600); minutes = seconds / 60; seconds -= (minutes * 60); if (status != CS_CHARGING) { if (hide_seconds) (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d", max(hours, 0), max(minutes, 0)); else (void)snprintf(remainingbuf, sizeof(remainingbuf), "%02d:%02d:%02d", max(hours, 0), max(minutes, 0), max(seconds, 0)); if (low_threshold > 0) { if (strcasecmp(threshold_type, "time") == 0 && ((float)seconds_remaining / 60.0) < (u_int)low_threshold) { START_COLOR("color_bad"); colorful_output = true; } } } else { if (hide_seconds) (void)snprintf(remainingbuf, sizeof(remainingbuf), "(%02d:%02d until full)", max(hours, 0), max(minutes, 0)); else (void)snprintf(remainingbuf, sizeof(remainingbuf), "(%02d:%02d:%02d until full)", max(hours, 0), max(minutes, 0), max(seconds, 0)); } empty_time = time(NULL); empty_time += seconds_remaining; empty_tm = localtime(&empty_time); /* No need to show empty time if battery is charging */ if (status != CS_CHARGING) { if (hide_seconds) (void)snprintf(emptytimebuf, sizeof(emptytimebuf), "%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0)); else (void)snprintf(emptytimebuf, sizeof(emptytimebuf), "%02d:%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0), max(empty_tm->tm_sec, 0)); } (void)snprintf(consumptionbuf, sizeof(consumptionbuf), "%1.2fW", ((float)present_rate / 1000.0 / 1000.0)); #endif #define EAT_SPACE_FROM_OUTPUT_IF_EMPTY(_buf) \ do { \ if (strlen(_buf) == 0) { \ if (outwalk > buffer && isspace(outwalk[-1])) \ outwalk--; \ else if (isspace(*(walk + 1))) \ walk++; \ } \ } while (0) for (walk = format; *walk != '\0'; walk++) { if (*walk != '%') { *(outwalk++) = *walk; continue; } if (BEGINS_WITH(walk + 1, "status")) { outwalk += sprintf(outwalk, "%s", statusbuf); walk += strlen("status"); } else if (BEGINS_WITH(walk + 1, "percentage")) { outwalk += sprintf(outwalk, "%s", percentagebuf); walk += strlen("percentage"); } else if (BEGINS_WITH(walk + 1, "remaining")) { outwalk += sprintf(outwalk, "%s", remainingbuf); walk += strlen("remaining"); EAT_SPACE_FROM_OUTPUT_IF_EMPTY(remainingbuf); } else if (BEGINS_WITH(walk + 1, "emptytime")) { outwalk += sprintf(outwalk, "%s", emptytimebuf); walk += strlen("emptytime"); EAT_SPACE_FROM_OUTPUT_IF_EMPTY(emptytimebuf); } else if (BEGINS_WITH(walk + 1, "consumption")) { outwalk += sprintf(outwalk, "%s", consumptionbuf); walk += strlen("consumption"); EAT_SPACE_FROM_OUTPUT_IF_EMPTY(consumptionbuf); } } if (colorful_output) END_COLOR; OUTPUT_FULL_TEXT(buffer); }
{'content_hash': '164fcbed16bccbc39d88589efbd39115', 'timestamp': '', 'source': 'github', 'line_count': 632, 'max_line_length': 322, 'avg_line_length': 36.14715189873418, 'alnum_prop': 0.5397242284963887, 'repo_name': 'KarboniteKream/i3status', 'id': '1bbe7a10e4f3cd9c8713de77b1e36bfe8c69181a', 'size': '22849', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/print_battery_info.c', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'C', 'bytes': '165969'}, {'name': 'Makefile', 'bytes': '3217'}, {'name': 'Perl', 'bytes': '1302'}, {'name': 'Python', 'bytes': '2480'}, {'name': 'Shell', 'bytes': '6373'}]}
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Alex Wong's Raytracer Images</title> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- Custom CSS --> <link href="css/portfolio-item.css" rel="stylesheet"> <!-- 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]--> </head> <body> <!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <a class="navbar-brand" href="index.html">Alex Wong's Raytracer Images</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav> <!-- Page Content --> <div class="container"> <!-- Portfolio Item Heading --> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Objective 8 <small>Texture Mapping</small> </h1> </div> </div> <!-- /.row --> <!-- Portfolio Item Row --> <div class="row"> <div class="col-md-8"> <img class="img-responsive" src="images/objective_8_2_texture.png" alt=""> </div> <div class="col-md-4"> <h3>With texture mapping</h3> <p>This screenshot has texture mapping. A texture of the Earth is layered onto the sphere and a wood texture is layered onto the stellated dodecahedron. This was done by mapping the (x,y,z) coordinates of the points to (u,v) coordinates, which were then used to determine which part of the texture to use.</p> <br> <h3><a href="objective_9_1.html">Next</a></h3> </div> </div> <!-- /.row --> <hr> <!-- Footer --> <footer> <div class="row"> <div class="col-lg-12"> <p>Copyright &copy; Alex Wong 2017</p> </div> </div> <!-- /.row --> </footer> </div> <!-- /.container --> <!-- jQuery --> <script src="js/jquery.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> </body> </html>
{'content_hash': '33b5c6e79a21448c4526c322e00132ee', 'timestamp': '', 'source': 'github', 'line_count': 101, 'max_line_length': 325, 'avg_line_length': 30.88118811881188, 'alnum_prop': 0.5280538634177621, 'repo_name': 'aty2wong/raytracer-pictures', 'id': '08174bf3f0fef38cfc8ca6ba7c0c11de182b8cc9', 'size': '3119', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'objective_8_2.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '441'}, {'name': 'HTML', 'bytes': '72488'}]}
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{'content_hash': 'ebb008a54f1e9b65a270c3ca578581af', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 31, 'avg_line_length': 9.692307692307692, 'alnum_prop': 0.7063492063492064, 'repo_name': 'mdoering/backbone', 'id': '2a87729d502effdfd0fc29af29378081564d9a16', 'size': '194', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'life/Plantae/Magnoliophyta/Liliopsida/Poales/Juncaceae/Luzula/Luzula campestris/Luzula campestris australasica/README.md', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{'content_hash': 'd92b56a21315197f41d03a0c3e924c6b', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 39, 'avg_line_length': 10.23076923076923, 'alnum_prop': 0.6917293233082706, 'repo_name': 'mdoering/backbone', 'id': 'aa419f45abcb9ed00197302388dc1f1c6c28bef2', 'size': '186', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'life/Plantae/Magnoliophyta/Liliopsida/Alismatales/Araceae/Amydrium/Amydrium medium/ Syn. Rhaphidophora huegelii/README.md', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>printf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- 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/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.5.3 / printf - 1.0.1</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> printf <small> 1.0.1 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-11-01 06:03:43 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-11-01 06:03:43 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.5.3 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.04.2 The OCaml compiler (virtual package) ocaml-base-compiler 4.04.2 Official 4.04.2 release ocaml-config 1 OCaml Switch Configuration # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;gmalecha@gmail.com&quot; homepage: &quot;https://github.com/gmalecha/coq-printf&quot; dev-repo: &quot;git+https://github.com/gmalecha/coq-printf&quot; bug-reports: &quot;https://github.com/gmalecha/coq-printf/issues&quot; authors: [&quot;Gregory Malecha&quot;] license: &quot;MIT&quot; build: [ [make &quot;-j%{jobs}%&quot;] ] install: [ [make &quot;install&quot;] ] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.8&quot; &amp; &lt; &quot;8.12~&quot;} ] tags: [ &quot;date:2020-03-18&quot; &quot;logpath:Printf&quot; ] synopsis: &quot;Implementation of sprintf for Coq&quot; description: &quot;Library providing implementation of sprintf for Coq&quot; url { src: &quot;https://github.com/gmalecha/coq-printf/archive/v1.0.1.tar.gz&quot; checksum: &quot;sha512=41870c51fc40f751fbb6e793a5b54b2f9cbddc43efc860758c0af0b291f5a9454583676e87a5584b28a5e72ebdcdd0f903c743160c501b3d940fe232738d718d&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-printf.1.0.1 coq.8.5.3</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.5.3). The following dependencies couldn&#39;t be met: - coq-printf -&gt; coq &gt;= 8.8 -&gt; ocaml &gt;= 4.05.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-printf.1.0.1</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
{'content_hash': 'df7a630c793685258a848936ec7a6235', 'timestamp': '', 'source': 'github', 'line_count': 170, 'max_line_length': 159, 'avg_line_length': 39.6, 'alnum_prop': 0.5369875222816399, 'repo_name': 'coq-bench/coq-bench.github.io', 'id': 'a8afbbd12f84331737501d0c5a7fccd759166306', 'size': '6757', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.3/printf/1.0.1.html', 'mode': '33188', 'license': 'mit', 'language': []}
import unittest import os import glob import yaml import numpy as np import matplotlib.pyplot as plt import mastquery from grizli import utils, prep, multifit, GRIZLI_PATH from grizli.pipeline import auto_script TEST_HOME = os.getcwd() HOME_PATH = f'{os.getcwd()}/PipelineTest' if not os.path.exists(HOME_PATH): os.mkdir(HOME_PATH) os.chdir(HOME_PATH) root = '' kwargs = '' visits = None groups = None info = None visit_prep_args = None grp = None def test_config(): """ Fetch config files if CONF not found """ new = [] for subd in ['iref','jref','CONF']: conf_path = os.path.join(GRIZLI_PATH, subd) if not os.path.exists(conf_path): new.append(subd) os.mkdir(conf_path) if 'CONF' in new: print(f'Download config and calib files to {conf_path}') utils.fetch_default_calibs(get_acs=False) utils.fetch_config_files(get_epsf=True) files = glob.glob(f'{conf_path}/*') print('Files: ', '\n'.join(files)) assert(os.path.exists(os.path.join(conf_path, 'G141.F140W.V4.32.conf'))) def test_query(): """ """ from mastquery import query, overlaps global root # "parent" query is grism exposures in GO-11359. Can also query the archive on position with # box=[ra, dec, radius_in_arcmin] parent = query.run_query(box=None, proposal_id=[11359], instruments=['WFC3/IR', 'ACS/WFC'], filters=['G102','G141']) # ### "overlap" query finds anything that overlaps with the exposures # ### in the parent query # extra = query.DEFAULT_EXTRA # ignore calibrations, etc. # ## To match *just* the grism visits, add, e.g., the following: # extra += ["TARGET.TARGET_NAME LIKE 'WFC3-ERSII-G01'"] tabs = overlaps.find_overlaps(parent, buffer_arcmin=0.01, filters=['F140W','G141'], proposal_id=[11359], instruments=['WFC3/IR','WFC3/UVIS','ACS/WFC'], extra={'target_name':'WFC3-ERSII-G01'}, close=False) root = tabs[0].meta['NAME'] def test_set_kwargs(): """ """ global kwargs from grizli.pipeline.auto_script import get_yml_parameters kwargs = get_yml_parameters() kwargs['is_parallel_field'] = False kwargs['fetch_files_args']['reprocess_clean_darks'] = False kwargs['parse_visits_args']['combine_same_pa'] = False def test_fetch_files(): """ """ auto_script.fetch_files(field_root=root, HOME_PATH=HOME_PATH, **kwargs['fetch_files_args']) assert(len(glob.glob(f'{HOME_PATH}/{root}/RAW/*raw.fits')) == 8) assert(len(glob.glob(f'{HOME_PATH}/{root}/RAW/*flt.fits')) == 8) def test_parse_visits(): """ """ global visits, groups, info os.chdir(os.path.join(HOME_PATH, root, 'Prep')) visits, groups, info = auto_script.parse_visits(field_root=root, **kwargs['parse_visits_args']) assert(len(visits) == 2) def test_preprocess(): """ """ global kwargs, visit_prep_args visit_prep_args = kwargs['visit_prep_args'] preprocess_args = kwargs['preprocess_args'] # Maximum shift for "tweakshifts" relative alignment tweak_max_dist = 1. if 'tweak_max_dist' not in visit_prep_args: visit_prep_args['tweak_max_dist'] = tweak_max_dist # Fit and subtract a SExtractor-like background to each visit visit_prep_args['imaging_bkg_params'] = {'bh': 256, 'bw': 256, 'fh': 3, 'fw': 3, 'pixel_scale': 0.1, 'get_median': False} # Alignment reference catalogs, searched in this order visit_prep_args['reference_catalogs'] = ['LS_DR9', 'PS1', 'GAIA', 'SDSS','WISE'] os.chdir(os.path.join(HOME_PATH, root, 'Prep')) auto_script.preprocess(field_root=root, HOME_PATH=HOME_PATH, visit_prep_args=visit_prep_args, **preprocess_args) assert(os.path.exists('wfc3-ersii-g01-b6o-23-119.0-f140w_drz_sci.fits')) assert(os.path.exists('wfc3-ersii-g01-b6o-23-119.0-f140w_shifts.log')) assert(os.path.exists('wfc3-ersii-g01-b6o-23-119.0-f140w_wcs.log')) # def test_fine_alignment(): # """ # """ # global kwargs # fine_alignment_args = kwargs['fine_alignment_args'] # # # Align to GAIA with proper motions evaluated at # # each separate visit execution epoch # fine_alignment_args['catalogs'] = ['GAIA'] # fine_alignment_args['gaia_by_date'] = True # # os.chdir(os.path.join(HOME_PATH, root, 'Prep')) # # out = auto_script.fine_alignment(field_root=root, HOME_PATH=HOME_PATH, # **fine_alignment_args) # # visit_file = auto_script.find_visit_file(root=root) # print('Update exposure footprints in {0}'.format(visit_file)) # res = auto_script.get_visit_exposure_footprints(root=root, # check_paths=['./', '../RAW']) def test_make_mosaics(): """ """ global visits, groups, info # Drizzle mosaics in each filter and combine all IR filters mosaic_args = kwargs['mosaic_args'] mosaic_pixfrac = mosaic_args['mosaic_pixfrac'] os.chdir(os.path.join(HOME_PATH, root, 'Prep')) preprocess_args = kwargs['preprocess_args'] combine_all_filters=True if len(glob.glob('{0}-ir_dr?_sci.fits'.format(root))) == 0: ## Mosaic WCS wcs_ref_file = '{0}_wcs-ref.fits'.format(root) if not os.path.exists(wcs_ref_file): auto_script.make_reference_wcs(info, output=wcs_ref_file, get_hdu=True, **mosaic_args['wcs_params']) if combine_all_filters: all_filters = mosaic_args['ir_filters'] all_filters += mosaic_args['optical_filters'] auto_script.drizzle_overlaps(root, filters=all_filters, min_nexp=1, pixfrac=mosaic_pixfrac, make_combined=True, ref_image=wcs_ref_file, drizzle_filters=False) ## IR filters if 'fix_stars' in visit_prep_args: fix_stars = visit_prep_args['fix_stars'] else: fix_stars = False auto_script.drizzle_overlaps(root, filters=mosaic_args['ir_filters'], min_nexp=1, pixfrac=mosaic_pixfrac, make_combined=(not combine_all_filters), ref_image=wcs_ref_file, include_saturated=fix_stars) ## Mask diffraction spikes mask_spikes=True ir_mosaics = glob.glob('{0}-f*drz_sci.fits'.format(root)) if (len(ir_mosaics) > 0) & (mask_spikes): cat = prep.make_SEP_catalog('{0}-ir'.format(root), threshold=4, save_fits=False, column_case=str.lower) selection = (cat['mag_auto'] < 17) & (cat['flux_radius'] < 4.5) for visit in visits: filt = visit['product'].split('-')[-1] if filt[:2] in ['f0','f1']: auto_script.mask_IR_psf_spikes(visit=visit, selection=selection, cat=cat, minR=5, dy=5) ## Remake mosaics auto_script.drizzle_overlaps(root, filters=mosaic_args['ir_filters'], min_nexp=1, pixfrac=mosaic_pixfrac, make_combined=(not combine_all_filters), ref_image=wcs_ref_file, include_saturated=True) # Fill IR filter mosaics with scaled combined data so they can be used # as grism reference fill_mosaics = mosaic_args['fill_mosaics'] if fill_mosaics: if fill_mosaics == 'grism': # Only fill mosaics if grism filters exist has_grism = utils.column_string_operation(info['FILTER'], ['G141','G102','G800L'], 'count', 'or').sum() > 0 if has_grism: auto_script.fill_filter_mosaics(root) else: auto_script.fill_filter_mosaics(root) mosaics = glob.glob('{0}-ir_dr?_sci.fits'.format(root)) wcs_ref_optical = wcs_ref_file auto_script.drizzle_overlaps(root, filters=mosaic_args['optical_filters'], pixfrac=mosaic_pixfrac, make_combined=(len(mosaics) == 0), ref_image=wcs_ref_optical, min_nexp=1+preprocess_args['skip_single_optical_visits']*1) assert(os.path.exists('j033216m2743-ir_drz_sci.fits')) assert(os.path.exists('j033216m2743-f140w_drz_sci.fits')) if not os.path.exists('{0}.field.jpg'.format(root)): slx, sly, rgb_filts, fig = auto_script.field_rgb(root=root, scl=3, HOME_PATH=None) plt.close(fig) def test_make_phot(): """ """ os.chdir(os.path.join(HOME_PATH, root, 'Prep')) if not os.path.exists(f'{root}_phot.fits'): multiband_catalog_args=kwargs['multiband_catalog_args'] tab = auto_script.multiband_catalog(field_root=root, **multiband_catalog_args) assert(os.path.exists(f'{root}_phot.fits')) assert(os.path.exists(f'{root}-ir.cat.fits')) def test_make_contam_model(): """ """ global grp os.chdir(os.path.join(HOME_PATH, root, 'Prep')) files = glob.glob('*GrismFLT.fits') if len(files) == 0: ### Grism contamination model # Which filter to use as direct image # Will try in order of the list until a match is found. grism_prep_args = kwargs['grism_prep_args'] grism_prep_args['gris_ref_filters'] = {'G141': ['F140W', 'F160W'], 'G102': ['F105W', 'F098M', 'F110W']} grp = auto_script.grism_prep(field_root=root, **grism_prep_args) grp = multifit.GroupFLT(grism_files=glob.glob('*GrismFLT.fits'), catalog=f'{root}-ir.cat.fits', cpu_count=-1, sci_extn=1, pad=256) else: grp = multifit.GroupFLT(grism_files=glob.glob('*GrismFLT.fits'), catalog=f'{root}-ir.cat.fits', cpu_count=-1, sci_extn=1, pad=256) def test_make_field_psf(): """ """ # Make PSF file os.chdir(os.path.join(HOME_PATH, root, 'Prep')) if not os.path.exists('{0}-f140w_psf.fits'.format(root)): auto_script.field_psf(root=root) def test_extract_and_fit(): """ """ global grp import astropy.units as u from grizli import fitting pline = auto_script.DITHERED_PLINE os.chdir(os.path.join(HOME_PATH, root, 'Extractions')) # Generate the parameter dictionary args = auto_script.generate_fit_params(field_root=root, prior=None, MW_EBV=0.005, pline=pline, fit_only_beams=True, run_fit=True, poly_order=7, fsps=True, sys_err = 0.03, fcontam=0.2, zr=[0.05, 3.4], save_file='fit_args.npy') tab = utils.GTable() tab['ra'] = [53.0657456, 53.0624459] tab['dec'] = [-27.720518, -27.707018] idx, dr = grp.catalog.match_to_catalog_sky(tab) assert(np.allclose(dr.value, 0, atol=0.2)) source_ids = grp.catalog['NUMBER'][idx] # Cutouts drizzler_args = kwargs['drizzler_args'] print(yaml.dump(drizzler_args)) os.chdir('../Prep') auto_script.make_rgb_thumbnails(root=root, ids=source_ids, drizzler_args=drizzler_args) os.chdir('../Extractions') id=source_ids[0] auto_script.extract(field_root=root, ids=[id], MW_EBV=0.005, pline=pline, run_fit=False, grp=grp, diff=True) # Redshift fit _res = fitting.run_all_parallel(id) assert(os.path.exists(f'{root}_{id:05d}.row.fits')) row = utils.read_catalog(f'{root}_{id:05d}.row.fits') assert(np.allclose(row['z_map'], 1.7397, rtol=1.e-2)) # # def test_run_full(self): # """ # All in one go # """ # auto_script.go(root=root, HOME_PATH=HOME_PATH, **kwargs) def test_cleanup(): """ """ pass
{'content_hash': 'c972f68c5d450bbcc4cc2ce88c76dc66', 'timestamp': '', 'source': 'github', 'line_count': 395, 'max_line_length': 102, 'avg_line_length': 34.50632911392405, 'alnum_prop': 0.5107850330154072, 'repo_name': 'gbrammer/grizli', 'id': 'dcd0a2a9941d1d569a2e70950c5b5998ace95d3a', 'size': '13630', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'test_pipeline_hst.py', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Cython', 'bytes': '20306'}, {'name': 'Python', 'bytes': '2117532'}]}
package wicket.in.action.chapter07.section_7_2; import org.apache.wicket.markup.html.panel.Panel; /** * @author dashorst */ public class CheesesPanel extends Panel { public CheesesPanel(String id) { super(id); } }
{'content_hash': 'ae7b4c53c42fdc6cbcaec38f0f09f065', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 49, 'avg_line_length': 17.46153846153846, 'alnum_prop': 0.7136563876651982, 'repo_name': 'Letractively/wicketinaction', 'id': '08c3efee8d09e64a8ac8fa51d151758eef9f14a0', 'size': '227', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'src/main/java/wicket/in/action/chapter07/section_7_2/CheesesPanel.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '1922'}, {'name': 'HTML', 'bytes': '97089'}, {'name': 'Java', 'bytes': '284019'}, {'name': 'JavaScript', 'bytes': '40985'}]}
<?php namespace Wisembly\AmqpBundle; /** * Value object for an AMQP connection information * * @author Baptiste Clavié <clavie.b@gmail.com> */ class Connection { /** @var string */ private $name; /** @var string */ private $host; /** @var integer */ private $port; /** @var string */ private $login; /** @var string */ private $password; /** @var string */ private $vhost; /** @var string */ private $query; public function __construct( string $name, string $host, ?int $port, ?string $login, ?string $password, ?string $vhost, ?string $query ) { $this->name = $name; $this->host = $host; $this->port = $port; $this->login = $login; $this->password = $password; $this->vhost = $vhost; $this->query = $query; } public function getName(): string { return $this->name; } public function getHost(): string { return $this->host; } public function getPort(): ?int { return $this->port; } public function getLogin(): ?string { return $this->login; } public function getPassword(): ?string { return $this->password; } public function getVhost(): ?string { return $this->vhost; } public function getQuery(): ?string { return $this->query; } }
{'content_hash': 'ec7f73070d2049287cf9e92153e98e31', 'timestamp': '', 'source': 'github', 'line_count': 84, 'max_line_length': 50, 'avg_line_length': 17.535714285714285, 'alnum_prop': 0.5173116089613035, 'repo_name': 'Wisembly/AMQPBundle', 'id': '53496591a5f1a22bec71c8b202a8150f1877b594', 'size': '1474', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/Connection.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'HTML', 'bytes': '12292'}, {'name': 'PHP', 'bytes': '91103'}]}
""" Demonstrates use of visual.Markers to create a point cloud with a standard turntable camera to fly around with and a centered 3D Axis. """ import sys import numpy as np from vispy import scene from vispy.scene import visuals # create particle data z = np.linspace(0.8, 2, 100) x = np.zeros_like(z) y = np.zeros_like(z) data = np.vstack([x, y, z]).T # # Make a canvas and add simple view # canvas = scene.SceneCanvas(keys='interactive', show=True, bgcolor='w') view = canvas.central_widget.add_view() # view.camera = 'turntable' view.camera = 'arcball' view.camera.fov = 60 # create Enceladus enc = visuals.Sphere(radius=0.8, color=(0, 0, 1), edge_color=(1, 0, 0), parent=view.scene) # add a colored 3D axis for orientation axis = visuals.XYZAxis(parent=view.scene, width=1) scatter = visuals.Markers(depth_test=True) scatter.set_data(data, edge_color=None, face_color=(0.6, 0.5, 0.4), size=5) view.add(scatter) if __name__ == '__main__' and sys.flags.interactive == 0: canvas.app.run()
{'content_hash': '28e3d6323f1bdb679c80ffcbe77e005e', 'timestamp': '', 'source': 'github', 'line_count': 42, 'max_line_length': 75, 'avg_line_length': 24.452380952380953, 'alnum_prop': 0.688412852969815, 'repo_name': 'michaelaye/vispy', 'id': 'e18a0fc09fd8f0f1bb4839c6f1b091202b63f8d3', 'size': '1168', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'examples/basics/scene/lacking_opaqueness.py', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'C', 'bytes': '143081'}, {'name': 'GLSL', 'bytes': '202285'}, {'name': 'JavaScript', 'bytes': '5007'}, {'name': 'Makefile', 'bytes': '1593'}, {'name': 'PowerShell', 'bytes': '4078'}, {'name': 'Python', 'bytes': '2977177'}]}
function Controller($scope, $state, course){ "ngInject"; this.courseName = course.courseTitle; }; module.exports = angular.module('app.views.student.course.controller', [ ]) .controller('Student.Course', Controller);
{'content_hash': '77c80659807a41fe563571313844145b', 'timestamp': '', 'source': 'github', 'line_count': 7, 'max_line_length': 75, 'avg_line_length': 32.285714285714285, 'alnum_prop': 0.7212389380530974, 'repo_name': 'pbremer/astronomy-app', 'id': '7392e20032aa8f056a3133a82541a46edb612c6d', 'size': '226', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/js/views/student/course/controller.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '1707'}, {'name': 'HTML', 'bytes': '53812'}, {'name': 'Java', 'bytes': '259151'}, {'name': 'JavaScript', 'bytes': '113422'}, {'name': 'Nginx', 'bytes': '1592'}, {'name': 'Shell', 'bytes': '220'}]}
"""Utility functions for bitserial operators""" import numpy as np import tvm from topi.transform import concatenate from ..util import get_const_int def bitpack(data, bits, pack_axis, bit_axis, pack_type, name="QuantizeInput"): """Packs data into format necessary for bitserial computation pack_axis : int index of the axis to pack in data bit_axis : int index of axis to place bit axis in resulting packed data""" ishape = data.shape n = len(ishape) if pack_type == 'uint8': data_width = 8 elif pack_type == 'uint16': data_width = 16 elif pack_type == 'uint32': data_width = 32 elif pack_type == 'uint64': data_width = 64 # Data must be in multiples of the data_width assert get_const_int(ishape[pack_axis]) % data_width == 0, "Not a multiple of word size" shape_vec = list(ishape) shape_vec[pack_axis] = (shape_vec[pack_axis] // data_width) shape_vec.insert(bit_axis, 1) bitserial_oshape = tuple(shape_vec) masks = np.array([0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80]) # pack axis shifts if bit axis comes before if bit_axis <= pack_axis: pack_axis += 1 def _bitpack(*indices): packed_data = [tvm.const(0, pack_type)] * bits for k in range(data_width): # Translate indices for packed data back to original idx = [0] * n j = 0 for i in range(n+1): if i == bit_axis: continue elif i == pack_axis: idx[j] = indices[i] * data_width + k else: idx[j] = indices[i] j += 1 element = data(*idx) for b in range(bits): extracted_bit = ((element & tvm.const(masks[b], "int32")) >> b).astype(pack_type) packed_data[b] = (packed_data[b] | extracted_bit) if k < data_width - 1: packed_data[b] = packed_data[b] << 1 if k == data_width - 1: return tuple(packed_data) return tuple(packed_data) output_tuple = tvm.compute(bitserial_oshape, _bitpack, name=name, tag='bitpack') if bits > 1: return concatenate(output_tuple, axis=bit_axis) return output_tuple def binary_op_multiplier(pack_dtype): """"Returns number of bits packed into pack_dtype: string pack type for the operator (must be a uint)""" return int(pack_dtype[4:])
{'content_hash': '67c36b7f379e54aa877e6a7f053516c7', 'timestamp': '', 'source': 'github', 'line_count': 74, 'max_line_length': 97, 'avg_line_length': 33.945945945945944, 'alnum_prop': 0.5672770700636943, 'repo_name': 'mlperf/training_results_v0.7', 'id': '09a301f7c962d339e370365f4c9f0ec424d32700', 'size': '3365', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/tvm/topi/python/topi/nn/bitserial_util.py', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'ANTLR', 'bytes': '1731'}, {'name': 'Awk', 'bytes': '14530'}, {'name': 'Batchfile', 'bytes': '13130'}, {'name': 'C', 'bytes': '172914'}, {'name': 'C++', 'bytes': '13037795'}, {'name': 'CMake', 'bytes': '113458'}, {'name': 'CSS', 'bytes': '70255'}, {'name': 'Clojure', 'bytes': '622652'}, {'name': 'Cuda', 'bytes': '1974745'}, {'name': 'Dockerfile', 'bytes': '149523'}, {'name': 'Groovy', 'bytes': '160449'}, {'name': 'HTML', 'bytes': '171537'}, {'name': 'Java', 'bytes': '189275'}, {'name': 'JavaScript', 'bytes': '98224'}, {'name': 'Julia', 'bytes': '430755'}, {'name': 'Jupyter Notebook', 'bytes': '11091342'}, {'name': 'Lua', 'bytes': '17720'}, {'name': 'MATLAB', 'bytes': '34903'}, {'name': 'Makefile', 'bytes': '215967'}, {'name': 'Perl', 'bytes': '1551186'}, {'name': 'PowerShell', 'bytes': '13906'}, {'name': 'Python', 'bytes': '36943114'}, {'name': 'R', 'bytes': '134921'}, {'name': 'Raku', 'bytes': '7280'}, {'name': 'Ruby', 'bytes': '4930'}, {'name': 'SWIG', 'bytes': '140111'}, {'name': 'Scala', 'bytes': '1304960'}, {'name': 'Shell', 'bytes': '1312832'}, {'name': 'Smalltalk', 'bytes': '3497'}, {'name': 'Starlark', 'bytes': '69877'}, {'name': 'TypeScript', 'bytes': '243012'}]}
/* Change history * Oct 13 2008 Joe Feser joseph.feser@gmail.com * Converted ArrayLists and other .NET 1.1 collections to use Generics * Combined IExtensionElement and IExtensionElementFactory interfaces * */ using System; using System.Collections; using System.Text; using System.Xml; using Google.GData.Client; using System.Globalization; using System.Collections.Generic; namespace Google.GData.Extensions { /// <summary> /// Extensible type used in many places. /// </summary> public abstract class ExtensionBase : IExtensionElementFactory, IVersionAware { private string xmlName; private string xmlPrefix; private string xmlNamespace; private List<XmlNode> unknownChildren; /// <summary> /// this holds the attribute list for an extension element /// </summary> private SortedList attributes; private SortedList attributeNamespaces; /// <summary> /// constructor /// </summary> /// <param name="name">the xml name</param> /// <param name="prefix">the xml prefix</param> /// <param name="ns">the xml namespace</param> protected ExtensionBase(string name, string prefix, string ns) { this.xmlName = name; this.xmlPrefix = prefix; this.xmlNamespace = ns; } private VersionInformation versionInfo = new VersionInformation(); internal VersionInformation VersionInfo { get { return this.versionInfo; } } /// <summary> /// returns the major protocol version number this element /// is working against. /// </summary> /// <returns></returns> public int ProtocolMajor { get { return this.versionInfo.ProtocolMajor; } set { this.versionInfo.ProtocolMajor = value; this.VersionInfoChanged(); } } /// <summary> /// returns the minor protocol version number this element /// is working against. /// </summary> /// <returns></returns> public int ProtocolMinor { get { return this.versionInfo.ProtocolMinor; } set { this.versionInfo.ProtocolMinor = value; this.VersionInfoChanged(); } } /// <summary> /// virtual to be overloaded by subclasses which are interested in reacting on versioninformation /// changes /// </summary> protected virtual void VersionInfoChanged() { } /// <summary> /// method for subclasses who need to change a namespace for parsing/persistence during runtime /// </summary> /// <param name="ns"></param> protected void SetXmlNamespace(string ns) { this.xmlNamespace = ns; } /// <summary>accesses the Attribute list. The keys are the attribute names /// the values the attribute values</summary> /// <returns> </returns> public SortedList Attributes { get { return getAttributes(); } } /// <summary>accesses the Attribute list. The keys are the attribute names /// the values the attribute values</summary> /// <returns> </returns> public SortedList AttributeNamespaces { get { return getAttributeNamespaces(); } } /// <summary> /// returns the attributes list /// </summary> /// <returns>SortedList</returns> internal SortedList getAttributes() { if (this.attributes == null) { this.attributes = new SortedList(); } return this.attributes; } /// <summary> /// returns the attribute namespace list /// </summary> /// <returns>SortedList</returns> internal SortedList getAttributeNamespaces() { if (this.attributeNamespaces == null) { this.attributeNamespaces = new SortedList(); } return this.attributeNamespaces; } #region overloaded for persistence /// <summary>Returns the constant representing this XML element.</summary> public string XmlName { get { return this.xmlName; } } /// <summary>Returns the constant representing this XML element.</summary> public string XmlNameSpace { get { return this.xmlNamespace; } } /// <summary>Returns the constant representing this XML element.</summary> public string XmlPrefix { get { return this.xmlPrefix; } } /// <summary> /// debugging helper /// </summary> /// <returns></returns> public override string ToString() { return base.ToString() + " for: " + XmlNameSpace + "- " + XmlName; } /// <summary> /// returns the list of childnodes that are unknown to the extension /// used for example for the GD:ExtendedProperty /// </summary> /// <returns></returns> public List<XmlNode> ChildNodes { get { if (this.unknownChildren == null) { this.unknownChildren = new List<XmlNode>(); } return this.unknownChildren; } } /// <summary>Parses an xml node to create an instance of this object.</summary> /// <param name="node">the xml parses node, can be NULL</param> /// <param name="parser">the xml parser to use if we need to dive deeper</param> /// <returns>the created IExtensionElement object</returns> public virtual IExtensionElementFactory CreateInstance(XmlNode node, AtomFeedParser parser) { Tracing.TraceCall(); ExtensionBase e = null; if (node != null) { object localname = node.LocalName; if (!localname.Equals(this.XmlName) || !node.NamespaceURI.Equals(this.XmlNameSpace)) { return null; } } // memberwise close is fine here, as everything is identical beside the value e = this.MemberwiseClone() as ExtensionBase; e.InitInstance(this); e.ProcessAttributes(node); e.ProcessChildNodes(node, parser); return e; } /// <summary> /// used to copy the unknown childnodes for later saving /// </summary> public virtual void ProcessChildNodes(XmlNode node, AtomFeedParser parser) { if (node != null && node.HasChildNodes) { XmlNode childNode = node.FirstChild; while (childNode != null) { if (childNode.NodeType == XmlNodeType.Element) { this.ChildNodes.Add(childNode); } childNode = childNode.NextSibling; } } } /// <summary> /// used to copy the attribute lists over /// </summary> /// <param name="factory"></param> protected void InitInstance(ExtensionBase factory) { this.attributes = null; this.attributeNamespaces = null; this.unknownChildren = null; for (int i = 0; i < factory.getAttributes().Count; i++) { string name = factory.getAttributes().GetKey(i) as string; string value = factory.getAttributes().GetByIndex(i) as string; this.getAttributes().Add(name, value); } } /// <summary> /// default method override to handle attribute processing /// the base implementation does process the attributes list /// and reads all that are in there. /// </summary> /// <param name="node">XmlNode with attributes</param> public virtual void ProcessAttributes(XmlNode node) { if (node != null && node.Attributes != null) { for (int i = 0; i < node.Attributes.Count; i++) { this.getAttributes()[node.Attributes[i].LocalName] = node.Attributes[i].Value; } } return; } /// <summary> /// Persistence method for the EnumConstruct object /// </summary> /// <param name="writer">the xmlwriter to write into</param> public virtual void Save(XmlWriter writer) { writer.WriteStartElement(XmlPrefix, XmlName, XmlNameSpace); if (this.attributes != null) { for (int i = 0; i < this.getAttributes().Count; i++) { if (this.getAttributes().GetByIndex(i) != null) { string name = this.getAttributes().GetKey(i) as string; string value = Utilities.ConvertToXSDString(this.getAttributes().GetByIndex(i)); string ns = this.getAttributeNamespaces()[name] as string; if (Utilities.IsPersistable(name) && Utilities.IsPersistable(value)) { if (ns == null) { writer.WriteAttributeString(name, value); } else { writer.WriteAttributeString(name, ns, value); } } } } } SaveInnerXml(writer); foreach (XmlNode node in this.ChildNodes) { if (node != null) { node.WriteTo(writer); } } writer.WriteEndElement(); } /// <summary> /// a subclass that want's to save addtional XML would need to overload this /// the default implementation does nothing /// </summary> /// <param name="writer"></param> public virtual void SaveInnerXml(XmlWriter writer) { } #endregion } }
{'content_hash': '365cb27c171581f79e50e21afdd14465', 'timestamp': '', 'source': 'github', 'line_count': 290, 'max_line_length': 105, 'avg_line_length': 36.33448275862069, 'alnum_prop': 0.5238682737021922, 'repo_name': 'michael-jia-sage/libgoogle', 'id': '201fb8f9a9ac0c08a36086dc20ba110de713b9b6', 'size': '11149', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'src/core/extensionbase.cs', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '7502'}, {'name': 'C#', 'bytes': '3772190'}, {'name': 'CSS', 'bytes': '1083'}, {'name': 'HTML', 'bytes': '58186'}, {'name': 'Makefile', 'bytes': '6965'}, {'name': 'Python', 'bytes': '6338'}, {'name': 'Shell', 'bytes': '1222'}]}
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class bad_visit</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="../variant/reference.html#header.boost.variant.bad_visit_hpp" title="Header &lt;boost/variant/bad_visit.hpp&gt;"> <link rel="prev" href="get_idp97377872.html" title="Function get"> <link rel="next" href="static_visitor.html" title="Class template static_visitor"> </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_idp97377872.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.bad_visit_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="static_visitor.html"><img src="../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.bad_visit"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Class bad_visit</span></h2> <p>boost::bad_visit &#8212; The exception thrown in the event of a visitor unable to handle the visited value.</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="../variant/reference.html#header.boost.variant.bad_visit_hpp" title="Header &lt;boost/variant/bad_visit.hpp&gt;">boost/variant/bad_visit.hpp</a>&gt; </span> <span class="keyword">class</span> <a class="link" href="bad_visit.html" title="Class bad_visit">bad_visit</a> <span class="special">:</span> <span class="keyword">public</span> std::exception <span class="special">{</span> <span class="keyword">public</span><span class="special">:</span> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a class="link" href="bad_visit.html#idp97130192-bb"><span class="identifier">what</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> <a name="idp200753456"></a><h2>Description</h2> <pre class="literallayout"><span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="special">*</span> <a name="idp97130192-bb"></a><span class="identifier">what</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</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; 2002, 2003 Eric Friedman, Itay Maman<p>Distributed under 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="get_idp97377872.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.bad_visit_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="static_visitor.html"><img src="../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
{'content_hash': '8504b3cd56e13426481144f7354f4e75', 'timestamp': '', 'source': 'github', 'line_count': 58, 'max_line_length': 444, 'avg_line_length': 80.46551724137932, 'alnum_prop': 0.6747375187486608, 'repo_name': 'goldcoin/gldcoin', 'id': 'c7e0c150e7a0382aba0bb292d1a8eef157f8b6c1', 'size': '4667', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'BuildDeps/deps/boost/doc/html/boost/bad_visit.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'ASP', 'bytes': '21289'}, {'name': 'Assembly', 'bytes': '1152300'}, {'name': 'Awk', 'bytes': '54072'}, {'name': 'Batchfile', 'bytes': '95617'}, {'name': 'C', 'bytes': '30167843'}, {'name': 'C#', 'bytes': '1801043'}, {'name': 'C++', 'bytes': '143719415'}, {'name': 'CMake', 'bytes': '7934'}, {'name': 'CSS', 'bytes': '369274'}, {'name': 'Cuda', 'bytes': '26749'}, {'name': 'DIGITAL Command Language', 'bytes': '320412'}, {'name': 'Emacs Lisp', 'bytes': '1639'}, {'name': 'FORTRAN', 'bytes': '1387'}, {'name': 'Groff', 'bytes': '29119'}, {'name': 'HTML', 'bytes': '187929099'}, {'name': 'IDL', 'bytes': '14'}, {'name': 'Java', 'bytes': '4131730'}, {'name': 'JavaScript', 'bytes': '210803'}, {'name': 'Lex', 'bytes': '1255'}, {'name': 'Makefile', 'bytes': '1926648'}, {'name': 'Max', 'bytes': '36857'}, {'name': 'NSIS', 'bytes': '5910'}, {'name': 'Objective-C', 'bytes': '88946'}, {'name': 'Objective-C++', 'bytes': '11420'}, {'name': 'OpenEdge ABL', 'bytes': '66157'}, {'name': 'PHP', 'bytes': '60328'}, {'name': 'Perl', 'bytes': '3895713'}, {'name': 'Perl6', 'bytes': '29655'}, {'name': 'Prolog', 'bytes': '42455'}, {'name': 'Protocol Buffer', 'bytes': '2764'}, {'name': 'Python', 'bytes': '1785357'}, {'name': 'QML', 'bytes': '593'}, {'name': 'QMake', 'bytes': '55372'}, {'name': 'R', 'bytes': '4009'}, {'name': 'Rebol', 'bytes': '354'}, {'name': 'Scheme', 'bytes': '4249'}, {'name': 'Shell', 'bytes': '1384609'}, {'name': 'Tcl', 'bytes': '2603631'}, {'name': 'TeX', 'bytes': '13404'}, {'name': 'XS', 'bytes': '198495'}, {'name': 'XSLT', 'bytes': '761090'}, {'name': 'Yacc', 'bytes': '18910'}, {'name': 'eC', 'bytes': '5157'}]}
SYNONYM #### According to Index Fungorum #### Published in Revta Period. Lav. Regia Accad. Sci. , Padova (1857) #### Original name Lichen candelarius L. ### Remarks null
{'content_hash': '7ae062ce473b3a3a8803a7262dce12a4', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 52, 'avg_line_length': 13.307692307692308, 'alnum_prop': 0.6936416184971098, 'repo_name': 'mdoering/backbone', 'id': '3ffc7807323303abd9a020afb94e0f8f8ff12b63', 'size': '230', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'life/Fungi/Ascomycota/Lecanoromycetes/Teloschistales/Teloschistaceae/Xanthoria/Xanthoria candelaria/ Syn. Diblastia candelaria/README.md', 'mode': '33188', 'license': 'apache-2.0', 'language': []}
package swarmize.json import org.scalatest._ import swarmize.TestSwarms class SwarmDefinitionJsonTest extends FlatSpec with Matchers with OptionValues { "SwarmDefinition" should "be serializable from json" in { val definition = TestSwarms.broadbandSurveyJson.as[SwarmDefinition] definition.name shouldBe "Guardian Broadband Survey 2013" definition.description shouldBe "With your help, the Guardian is creating an up-to-date broadband map of Britain, showing advertised versus real speeds. We want to highlight the best and worst-served communities, and bring attention to the broadband blackspots." definition.opens_at.value.getMillis shouldBe 1438513980000L definition.closes_at shouldBe None definition.fields.size shouldBe 10 val field = definition.fields(0) field.field_name shouldBe "Do you have Internet at home?" field.compulsory shouldBe true } }
{'content_hash': '621d8682b0a2e08dc74644adad6bdf50', 'timestamp': '', 'source': 'github', 'line_count': 29, 'max_line_length': 266, 'avg_line_length': 31.344827586206897, 'alnum_prop': 0.7821782178217822, 'repo_name': 'FreeSchoolHackers/swarmize', 'id': '5cc7c623f745b97ba590d1978f11ac1295794148', 'size': '909', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'shared-lib/src/test/scala/swarmize/json/SwarmDefinitionJsonTest.scala', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '8400'}, {'name': 'HTML', 'bytes': '64729'}, {'name': 'JavaScript', 'bytes': '21116'}, {'name': 'Ruby', 'bytes': '170766'}, {'name': 'Scala', 'bytes': '71328'}, {'name': 'Shell', 'bytes': '4747'}]}
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace common\models; use common\models\OrderStatus; class Order extends \yii\db\ActiveRecord { public static function tableName() { return "{{%order}}"; } public function getStatus() { return $this->hasMany(OrderStatus::className(), ['id' => 'order_status'])->from(OrderStatus::tableName(),'order_status'); } }
{'content_hash': 'f234319f3f4a4f96ed798fc87d3cb08e', 'timestamp': '', 'source': 'github', 'line_count': 25, 'max_line_length': 129, 'avg_line_length': 22.08, 'alnum_prop': 0.6684782608695652, 'repo_name': 'hai569246938/CoffeTown', 'id': '6b41ee35164ad0d6ca936fcb68334f3e3712430f', 'size': '552', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'common/models/Order.php', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'Batchfile', 'bytes': '1541'}, {'name': 'CSS', 'bytes': '187648'}, {'name': 'HTML', 'bytes': '119061'}, {'name': 'JavaScript', 'bytes': '248234'}, {'name': 'PHP', 'bytes': '171352'}, {'name': 'Shell', 'bytes': '3257'}]}
define(function (require, exports, module) { "use strict"; exports.snippetText = require("../requirejs/text!./toml.snippets"); exports.scope = "toml"; });
{'content_hash': '89e132a4542eee65be138ab03db62ed9', 'timestamp': '', 'source': 'github', 'line_count': 7, 'max_line_length': 71, 'avg_line_length': 24.142857142857142, 'alnum_prop': 0.6449704142011834, 'repo_name': 'wso2/carbon-analytics', 'id': '36249558cebdd7d0a1ded79003561457a73015b9', 'size': '169', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'components/org.wso2.carbon.siddhi.editor.core/src/main/resources/web/editor/commons/lib/ace-editor/snippets/toml.js', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'ANTLR', 'bytes': '40748'}, {'name': 'Batchfile', 'bytes': '19942'}, {'name': 'CSS', 'bytes': '694856'}, {'name': 'Dockerfile', 'bytes': '1563'}, {'name': 'Groovy', 'bytes': '5041'}, {'name': 'HTML', 'bytes': '882689'}, {'name': 'Handlebars', 'bytes': '618'}, {'name': 'Java', 'bytes': '3680931'}, {'name': 'JavaScript', 'bytes': '24073907'}, {'name': 'PHP', 'bytes': '328'}, {'name': 'Shell', 'bytes': '25121'}, {'name': 'Vim Snippet', 'bytes': '226494'}]}
<?php namespace Metaregistrar\TMCH; class rrpproxyTmchConnection extends cnisTmchConnection { /** * Retrieves standard claim info from TMCH via db.claimnotification.info (Key Systems site) * @param string $key * @return tmchClaimData * @throws tmchException */ public function getCnis($key) { if (!is_string($key)) { throw new tmchException("Key must be filled when requesting CNIS information"); } $url = "http://db.claimnotification.info?token=".urlencode($key); if ($this->logging) { echo "Calling interface $url\n\n"; } $output = file_get_contents($url); if (strlen($output)==0) { throw new tmchException("Empty output received from CNIS service"); } if (strpos($output,'404 Not Found')!==false) { throw new tmchException("Requested URL was not found on this server"); } $result = new tmchClaimData(); $result->loadXML($output); $result->setClaims(); return $result; } }
{'content_hash': 'ad20ba76a17de92fdb3641de2759709d', 'timestamp': '', 'source': 'github', 'line_count': 33, 'max_line_length': 95, 'avg_line_length': 32.75757575757576, 'alnum_prop': 0.5938945420906568, 'repo_name': 'aasiimweDataCare/sugarGirls', 'id': 'ff09703a63c2755077db44d7b3e2f00a32e97c98', 'size': '1081', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'application/third_party/PHPEpp/Registries/rrpproxyTmchConnection/tmchConnection.php', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'ApacheConf', 'bytes': '613'}, {'name': 'CSS', 'bytes': '331402'}, {'name': 'HTML', 'bytes': '511727'}, {'name': 'Java', 'bytes': '99318'}, {'name': 'JavaScript', 'bytes': '1577601'}, {'name': 'PHP', 'bytes': '2453858'}, {'name': 'PLpgSQL', 'bytes': '875'}]}
A wrapper to work with TesseractOCR inside your PHP scripts. ## Instalation Via [composer](http://getcomposer.org/) (https://packagist.org/packages/thiagoalessio/tesseract_ocr) { "require": { "thiagoalessio/tesseract_ocr": ">= 0.2.0" } } Or just clone and put somewhere inside your project folder. $ cd myapp/vendor $ git clone git://github.com/thiagoalessio/tesseract-ocr-for-php.git ### Dependencies - [TesseractOCR](http://code.google.com/p/tesseract-ocr/) **IMPORTANT**: Make sure that the `tesseract` binary is on your $PATH. If you're running PHP on a webserver, the user may be not you, but \_www or similar. If you need, there is always the possibility of modify your $PATH: $path = getenv('PATH'); putenv("PATH=$path:/usr/local/bin"); ### Windows users I received several messages from people trying to get this library running under Windows, so I decided to write a short tutorial that can be found [here](http://thiagoalessio.me/tesseractocr-for-php-on-windows/). ## Usage ### Basic usage <?php require_once '/path/to/TesseractOCR/TesseractOCR.php'; //or require_once 'vendor/autoload.php' if you are using composer $tesseract = new TesseractOCR('images/some-words.jpg'); echo $tesseract->recognize(); ### Defining language Tesseract has training data for several languages, which certainly improve the accuracy of the recognition. <?php require_once '/path/to/TesseractOCR/TesseractOCR.php'; //or require_once 'vendor/autoload.php' if you are using composer $tesseract = new TesseractOCR('images/sind-sie-deutsch.jpg'); $tesseract->setLanguage('deu'); //same 3-letters code as tesseract training data packages echo $tesseract->recognize(); ### Inducing recognition Sometimes tesseract misunderstand some chars, such as: 0 - O 1 - l j - , etc ... But you can improve recognition accuracy by specifing what kind of chars you're sending, for example: <?php $tesseract = new TesseractOCR('my-image.jpg'); $tesseract->setWhitelist(range('a','z')); //tesseract will threat everything as downcase letters echo $tesseract->recognize(); $tesseract = new TesseractOCR('my-image.jpg'); $tesseract->setWhitelist(range('A','Z'), range(0,9), '_-@.'); //you can pass as many ranges as you need You can even do *cool* stuff like this one: <?php $tesseract = new TesseractOCR('617.jpg'); $tesseract->setWhitelist(range('A','Z')); echo $tesseract->recognize(); //will return "GIT" ## Troubleshooting #### Warnings like `Permission denied` or `No such file or directory` To solve this issue you can specify a custom directory for temp files: <?php $tesseract = new TesseractOCR('my-image.jpg'); $tesseract->setTempDir('./my-temp-dir');
{'content_hash': '16cf6000cc5de5938088534ab8dec82b', 'timestamp': '', 'source': 'github', 'line_count': 96, 'max_line_length': 107, 'avg_line_length': 29.822916666666668, 'alnum_prop': 0.6835487251135173, 'repo_name': 'joelgarciajr84/tesseract-ocr-for-php', 'id': 'ca1c62536d96506de778aa13961cb0c2c948406a', 'size': '2887', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'README.md', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'PHP', 'bytes': '6529'}]}
//============================================================================= // Copyright 2006-2010 Daniel W. Dyer // // 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. //============================================================================= package org.uncommons.watchmaker.examples.biomorphs; import java.util.Arrays; /** * <p>Candidate representation for a biomorph. We could just as easily have * used an array of integers or a bit string representation with Gray codes * but for clarity we will use this more object-oriented representation that * conveniently combines state and related logic.</p> * * <p>The Biomporph class encapsulates 9 genes as described by Dawkins in his * "The Evolution of Evolvability" paper.</p> * * @author Daniel Dyer */ public final class Biomorph { /** The total number of genes that make up a biomorph. */ public static final int GENE_COUNT = 9; /** The minimum permitted value for most genes. */ public static final int GENE_MIN = -5; /** The maximum permitted value for most genes. */ public static final int GENE_MAX = 5; /** The index of the gene that controls biomporph size. */ public static final int LENGTH_GENE_INDEX = 8; /** The minimum permitted value for the length gene. */ public static final int LENGTH_GENE_MIN = 1; /** The maximum permitted value for the length gene. */ public static final int LENGTH_GENE_MAX = 7; private final int[] genes; private int[][] phenotype; /** * Creates a biomorph with the specified genes. * @param genes A 9-element array. The final element must be a positive * value. */ public Biomorph(int[] genes) { if (genes.length != GENE_COUNT) { throw new IllegalArgumentException("Biomorph must have " + GENE_COUNT + " genes."); } this.genes = genes.clone(); } /** * Returns an array of integers that represent the graphical pattern * determined by the biomorph's genes. * @return A 2-dimensional array containing the 8-element dx and dy * arrays required to draw the biomorph. */ public int[][] getPatternPhenotype() { if (phenotype == null) { // Decode the genes as per Dawkins' rules. int[] dx = new int[GENE_COUNT - 1]; dx[3] = genes[0]; dx[4] = genes[1]; dx[5] = genes[2]; dx[1] = -dx[3]; dx[0] = -dx[4]; dx[7] = -dx[5]; dx[2] = 0; dx[6] = 0; int[] dy = new int[GENE_COUNT - 1]; dy[2] = genes[3]; dy[3] = genes[4]; dy[4] = genes[5]; dy[5] = genes[6]; dy[6] = genes[7]; dy[0] = dy[4]; dy[1] = dy[3]; dy[7] = dy[5]; phenotype = new int[][]{dx, dy}; } return phenotype; } /** * @return The value of the gene that controls the size of this biomorph. */ public int getLengthPhenotype() { return genes[LENGTH_GENE_INDEX]; } /** * Returns the 9 genes that make up the biomorph's genotype. * @return A 9-element array containing this biomorph's genes. */ public int[] getGenotype() { return genes.clone(); } /** * Compares the genes of two Biomporph objects and returns true if they are * identical. * @param obj The object to compare with this one. * @return True if the argument is a Biomoprh instance and the 2 * biomorphs have the same genes, false otherwise. */ @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } Biomorph biomorph = (Biomorph) obj; return Arrays.equals(genes, biomorph.genes); } /** * Over-ridden to be consistent with {@link #equals(Object)}. Biomorphs * with identical genes return identical hash codes. * @return This object's hash code. */ @Override public int hashCode() { return Arrays.hashCode(genes); } }
{'content_hash': '29bfdfa3b1da47d47ab5be29ac744bb1', 'timestamp': '', 'source': 'github', 'line_count': 160, 'max_line_length': 95, 'avg_line_length': 29.775, 'alnum_prop': 0.5757766582703611, 'repo_name': 'keithlow18/Watchmaker', 'id': '7fe6fd507ea4caea50403f6b3c240bb870d7a6dd', 'size': '4764', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'examples/src/java/main/org/uncommons/watchmaker/examples/biomorphs/Biomorph.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '1066'}, {'name': 'Java', 'bytes': '626084'}, {'name': 'XSLT', 'bytes': '5489'}]}
package org.apache.commons.jexl2.internal; import java.lang.reflect.InvocationTargetException; /** * Specialized executor to set a property in an object. * @since 2.0 */ public final class PropertySetExecutor extends AbstractExecutor.Set { /** Index of the first character of the set{p,P}roperty. */ private static final int SET_START_INDEX = 3; /** The property. */ private final String property; /** * Creates an instance by attempting discovery of the set method. * @param is the introspector * @param clazz the class to introspect * @param identifier the property to set * @param arg the value to set into the property */ public PropertySetExecutor(Introspector is, Class<?> clazz, String identifier, Object arg) { super(clazz, discover(is, clazz, identifier, arg)); property = identifier; } /** {@inheritDoc} */ @Override public Object getTargetProperty() { return property; } /** {@inheritDoc} */ @Override public Object execute(Object o, Object arg) throws IllegalAccessException, InvocationTargetException { Object[] pargs = {arg}; if (method != null) { method.invoke(o, pargs); } return arg; } /** {@inheritDoc} */ @Override public Object tryExecute(Object o, Object identifier, Object arg) { if (o != null && method != null // ensure method name matches the property name && property.equals(identifier) // object class should be same as executor's method declaring class && objectClass.equals(o.getClass()) // we are guaranteed the method has one parameter since it is a set(x) && (arg == null || method.getParameterTypes()[0].equals(arg.getClass()))) { try { return execute(o, arg); } catch (InvocationTargetException xinvoke) { return TRY_FAILED; // fail } catch (IllegalAccessException xill) { return TRY_FAILED;// fail } } return TRY_FAILED; } /** * Discovers the method for a {@link PropertySet}. * <p>The method to be found should be named "set{P,p}property.</p> *@param is the introspector *@param clazz the class to find the get method from *@param property the name of the property to set *@param arg the value to assign to the property *@return the method if found, null otherwise */ private static java.lang.reflect.Method discover(Introspector is, final Class<?> clazz, String property, Object arg) { // first, we introspect for the set<identifier> setter method Object[] params = {arg}; StringBuilder sb = new StringBuilder("set"); sb.append(property); // uppercase nth char char c = sb.charAt(SET_START_INDEX); sb.setCharAt(SET_START_INDEX, Character.toUpperCase(c)); java.lang.reflect.Method method = is.getMethod(clazz, sb.toString(), params); // lowercase nth char if (method == null) { sb.setCharAt(SET_START_INDEX, Character.toLowerCase(c)); method = is.getMethod(clazz, sb.toString(), params); } return method; } }
{'content_hash': 'a167b7bdbd1ebec2de229dae68ca5c5e', 'timestamp': '', 'source': 'github', 'line_count': 95, 'max_line_length': 96, 'avg_line_length': 35.95789473684211, 'alnum_prop': 0.5945550351288056, 'repo_name': 'genome-vendor/libcommons-jexl2-java', 'id': 'ea84580f5c3e5a8d3ff8ae74c79ed111094c6980', 'size': '4233', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/java/org/apache/commons/jexl2/internal/PropertySetExecutor.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Java', 'bytes': '849314'}]}
package org.trefoil.pat.dao.mapper; import org.trefoil.pat.entity.Organizations; public interface OrganizationsMapper { int deleteByPrimaryKey(Integer sid); int insert(Organizations record); int insertSelective(Organizations record); Organizations selectByPrimaryKey(Integer sid); int updateByPrimaryKeySelective(Organizations record); int updateByPrimaryKey(Organizations record); }
{'content_hash': '0283046df3d62042b03e4ce71a29e11a', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 58, 'avg_line_length': 24.352941176470587, 'alnum_prop': 0.7898550724637681, 'repo_name': 'caiyisam/jobboard', 'id': '272e99ad234dc82bd7028b9f7bbc80aa7fed9881', 'size': '414', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/java/org/trefoil/pat/dao/mapper/OrganizationsMapper.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '44513'}, {'name': 'Java', 'bytes': '44773'}, {'name': 'JavaScript', 'bytes': '1870864'}]}
/** * */ package org.olat.presentation.group.run; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.olat.data.basesecurity.Identity; import org.olat.presentation.group.run.BusinessGroupSendToChooserFormUIModel.GroupParameter; import org.olat.system.mail.ContactList; import org.olat.system.mail.ObjectMother; /** * @author patrick * */ public class GroupParameterTest { private List<Identity> groupMemberList; private String translatedContactListName; private List<String> expectedEmailsAsStrings; private List<Long> selectedGroupMemberKeys; private Identity peterBichsel; private Identity heleneMeyer; private Identity miaBrenner; private Identity retoAlbrecht; @Before public void setupDataForValidCase() { groupMemberList = new ArrayList<Identity>(); peterBichsel = ObjectMother.getIdentityFrom(ObjectMother.createPeterBichselPrincipal()); heleneMeyer = ObjectMother.getIdentityFrom(ObjectMother.createHeleneMeyerPrincipial()); miaBrenner = ObjectMother.getIdentityFrom(ObjectMother.createMiaBrennerPrincipal()); retoAlbrecht = ObjectMother.getIdentityFrom(ObjectMother.createRetoAlbrechtPrincipal()); groupMemberList.add(peterBichsel); groupMemberList.add(heleneMeyer); groupMemberList.add(miaBrenner); groupMemberList.add(retoAlbrecht); translatedContactListName = "Your translated Name"; expectedEmailsAsStrings = new ArrayList<String>(); expectedEmailsAsStrings.add(ObjectMother.RETO_ALBRECHT_PRIVATE_EMAIL); expectedEmailsAsStrings.add(ObjectMother.MIA_BRENNER_PRIVATE_EMAIL); expectedEmailsAsStrings.add(ObjectMother.PETER_BICHSEL_PRIVATE_EMAIL); expectedEmailsAsStrings.add(ObjectMother.HELENE_MEYER_PRIVATE_EMAIL); selectedGroupMemberKeys = new ArrayList<Long>(); } @Test public void testSimpleValidAllGroupParameterConversionToContactlist() { // Setup // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, translatedContactListName); ContactList asContactList = groupParameter.asContactList(); // verify assertEquals(translatedContactListName, asContactList.getName()); assertEquals(expectedEmailsAsStrings, asContactList.getEmailsAsStrings()); } @Test(expected = NullPointerException.class) public void testNullAsAllGroupMemberListFailsWithExceptionDuringConstructionTime() { // setup List<Identity> groupMemberList = null; // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, translatedContactListName); groupParameter.asContactList(); // verify fail("expected Exception not thrown"); } @Test(expected = NullPointerException.class) public void testNullAsContactListNameFailsWithExceptionDuringConstructionTime() { // setup translatedContactListName = null; // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, translatedContactListName); groupParameter.asContactList(); // verify fail("expected Exception not thrown"); } @Test(expected = IllegalArgumentException.class) @Ignore("removed IllegalArgumentException, could not find a good reason for keep it") public void testEmptyAllGroupMemberListFailsWithExceptionDuringConstructionTime() { // setup List<Identity> groupMemberList = new ArrayList<Identity>(); // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, translatedContactListName); groupParameter.asContactList(); // verify fail("expected Exception not thrown"); } @Test public void testSimpleValidSelectGroupParameterConversionToContactlist() { // Setup expectedEmailsAsStrings.clear(); selectedGroupMemberKeys.add(miaBrenner.getKey()); selectedGroupMemberKeys.add(peterBichsel.getKey()); expectedEmailsAsStrings.add(ObjectMother.MIA_BRENNER_PRIVATE_EMAIL); expectedEmailsAsStrings.add(ObjectMother.PETER_BICHSEL_PRIVATE_EMAIL); // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, selectedGroupMemberKeys, translatedContactListName); ContactList asContactList = groupParameter.asContactList(); // verify assertEquals(translatedContactListName, asContactList.getName()); assertEquals(expectedEmailsAsStrings, asContactList.getEmailsAsStrings()); } @Test public void testWrongSelectionWithNonEmptyGroupParameterConversionToContactlist() { // Setup expectedEmailsAsStrings.clear(); selectedGroupMemberKeys.add(Long.valueOf(1)); selectedGroupMemberKeys.add(Long.valueOf(2)); // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, selectedGroupMemberKeys, translatedContactListName); ContactList asContactList = groupParameter.asContactList(); // verify assertEquals(translatedContactListName, asContactList.getName()); assertEquals(expectedEmailsAsStrings, asContactList.getEmailsAsStrings()); } @Test public void testEmptySelectionWithNonEmptyGroupParameterConversionToContactlist() { // Setup expectedEmailsAsStrings.clear(); // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, selectedGroupMemberKeys, translatedContactListName); ContactList asContactList = groupParameter.asContactList(); // verify assertEquals(translatedContactListName, asContactList.getName()); assertEquals(expectedEmailsAsStrings, asContactList.getEmailsAsStrings()); } @Test(expected = NullPointerException.class) public void testNullSelectionWithNonEmptyGroupParameterFailsWithExceptionDuringConstructionTime() { // setup selectedGroupMemberKeys = null; // exercise GroupParameter groupParameter = new GroupParameter(groupMemberList, selectedGroupMemberKeys, translatedContactListName); groupParameter.asContactList(); // verify fail("expected Exception not thrown"); } }
{'content_hash': 'b44ced66e108267530a74f53b954aed0', 'timestamp': '', 'source': 'github', 'line_count': 173, 'max_line_length': 128, 'avg_line_length': 37.32947976878613, 'alnum_prop': 0.7353669866831837, 'repo_name': 'huihoo/olat', 'id': '4c33ffadeb8a4ed9803fb1441364ac801c0a8a85', 'size': '6458', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'olat7.8/src/test/java/org/olat/presentation/group/run/GroupParameterTest.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'AMPL', 'bytes': '24445'}, {'name': 'AspectJ', 'bytes': '36132'}, {'name': 'CSS', 'bytes': '2135670'}, {'name': 'HTML', 'bytes': '2950677'}, {'name': 'Java', 'bytes': '50804277'}, {'name': 'JavaScript', 'bytes': '31237972'}, {'name': 'PLSQL', 'bytes': '64492'}, {'name': 'Perl', 'bytes': '10717'}, {'name': 'Shell', 'bytes': '79994'}, {'name': 'XSLT', 'bytes': '186520'}]}
// Code generated by go-swagger; DO NOT EDIT. package storage // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // NewSnapshotPolicyScheduleGetParams creates a new SnapshotPolicyScheduleGetParams object, // with the default timeout for this client. // // Default values are not hydrated, since defaults are normally applied by the API server side. // // To enforce default values in parameter, use SetDefaults or WithDefaults. func NewSnapshotPolicyScheduleGetParams() *SnapshotPolicyScheduleGetParams { return &SnapshotPolicyScheduleGetParams{ timeout: cr.DefaultTimeout, } } // NewSnapshotPolicyScheduleGetParamsWithTimeout creates a new SnapshotPolicyScheduleGetParams object // with the ability to set a timeout on a request. func NewSnapshotPolicyScheduleGetParamsWithTimeout(timeout time.Duration) *SnapshotPolicyScheduleGetParams { return &SnapshotPolicyScheduleGetParams{ timeout: timeout, } } // NewSnapshotPolicyScheduleGetParamsWithContext creates a new SnapshotPolicyScheduleGetParams object // with the ability to set a context for a request. func NewSnapshotPolicyScheduleGetParamsWithContext(ctx context.Context) *SnapshotPolicyScheduleGetParams { return &SnapshotPolicyScheduleGetParams{ Context: ctx, } } // NewSnapshotPolicyScheduleGetParamsWithHTTPClient creates a new SnapshotPolicyScheduleGetParams object // with the ability to set a custom HTTPClient for a request. func NewSnapshotPolicyScheduleGetParamsWithHTTPClient(client *http.Client) *SnapshotPolicyScheduleGetParams { return &SnapshotPolicyScheduleGetParams{ HTTPClient: client, } } /* SnapshotPolicyScheduleGetParams contains all the parameters to send to the API endpoint for the snapshot policy schedule get operation. Typically these are written to a http.Request. */ type SnapshotPolicyScheduleGetParams struct { /* Fields. Specify the fields to return. */ FieldsQueryParameter []string /* ScheduleUUID. Snapshot copy policy schedule ID */ ScheduleUUIDPathParameter string /* SnapshotPolicyUUID. Snapshot copy policy UUID */ SnapshotPolicyUUIDPathParameter string timeout time.Duration Context context.Context HTTPClient *http.Client } // WithDefaults hydrates default values in the snapshot policy schedule get params (not the query body). // // All values with no default are reset to their zero value. func (o *SnapshotPolicyScheduleGetParams) WithDefaults() *SnapshotPolicyScheduleGetParams { o.SetDefaults() return o } // SetDefaults hydrates default values in the snapshot policy schedule get params (not the query body). // // All values with no default are reset to their zero value. func (o *SnapshotPolicyScheduleGetParams) SetDefaults() { // no default values defined for this parameter } // WithTimeout adds the timeout to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) WithTimeout(timeout time.Duration) *SnapshotPolicyScheduleGetParams { o.SetTimeout(timeout) return o } // SetTimeout adds the timeout to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) SetTimeout(timeout time.Duration) { o.timeout = timeout } // WithContext adds the context to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) WithContext(ctx context.Context) *SnapshotPolicyScheduleGetParams { o.SetContext(ctx) return o } // SetContext adds the context to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) SetContext(ctx context.Context) { o.Context = ctx } // WithHTTPClient adds the HTTPClient to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) WithHTTPClient(client *http.Client) *SnapshotPolicyScheduleGetParams { o.SetHTTPClient(client) return o } // SetHTTPClient adds the HTTPClient to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client } // WithFieldsQueryParameter adds the fields to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) WithFieldsQueryParameter(fields []string) *SnapshotPolicyScheduleGetParams { o.SetFieldsQueryParameter(fields) return o } // SetFieldsQueryParameter adds the fields to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) SetFieldsQueryParameter(fields []string) { o.FieldsQueryParameter = fields } // WithScheduleUUIDPathParameter adds the scheduleUUID to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) WithScheduleUUIDPathParameter(scheduleUUID string) *SnapshotPolicyScheduleGetParams { o.SetScheduleUUIDPathParameter(scheduleUUID) return o } // SetScheduleUUIDPathParameter adds the scheduleUuid to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) SetScheduleUUIDPathParameter(scheduleUUID string) { o.ScheduleUUIDPathParameter = scheduleUUID } // WithSnapshotPolicyUUIDPathParameter adds the snapshotPolicyUUID to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) WithSnapshotPolicyUUIDPathParameter(snapshotPolicyUUID string) *SnapshotPolicyScheduleGetParams { o.SetSnapshotPolicyUUIDPathParameter(snapshotPolicyUUID) return o } // SetSnapshotPolicyUUIDPathParameter adds the snapshotPolicyUuid to the snapshot policy schedule get params func (o *SnapshotPolicyScheduleGetParams) SetSnapshotPolicyUUIDPathParameter(snapshotPolicyUUID string) { o.SnapshotPolicyUUIDPathParameter = snapshotPolicyUUID } // WriteToRequest writes these params to a swagger request func (o *SnapshotPolicyScheduleGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { if err := r.SetTimeout(o.timeout); err != nil { return err } var res []error if o.FieldsQueryParameter != nil { // binding items for fields joinedFields := o.bindParamFields(reg) // query array param fields if err := r.SetQueryParam("fields", joinedFields...); err != nil { return err } } // path param schedule.uuid if err := r.SetPathParam("schedule.uuid", o.ScheduleUUIDPathParameter); err != nil { return err } // path param snapshot_policy.uuid if err := r.SetPathParam("snapshot_policy.uuid", o.SnapshotPolicyUUIDPathParameter); err != nil { return err } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } // bindParamSnapshotPolicyScheduleGet binds the parameter fields func (o *SnapshotPolicyScheduleGetParams) bindParamFields(formats strfmt.Registry) []string { fieldsIR := o.FieldsQueryParameter var fieldsIC []string for _, fieldsIIR := range fieldsIR { // explode []string fieldsIIV := fieldsIIR // string as string fieldsIC = append(fieldsIC, fieldsIIV) } // items.CollectionFormat: "csv" fieldsIS := swag.JoinByFormat(fieldsIC, "csv") return fieldsIS }
{'content_hash': '94ee9e1f65d6903f2719d290eabc9e00', 'timestamp': '', 'source': 'github', 'line_count': 219, 'max_line_length': 139, 'avg_line_length': 32.68949771689498, 'alnum_prop': 0.7988545886296969, 'repo_name': 'NetApp/trident', 'id': '576c2dceee35d8256f046912fd96e8bc3b478221', 'size': '7159', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'storage_drivers/ontap/api/rest/client/storage/snapshot_policy_schedule_get_parameters.go', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Dockerfile', 'bytes': '1429'}, {'name': 'Go', 'bytes': '5153619'}, {'name': 'Makefile', 'bytes': '14158'}, {'name': 'Mustache', 'bytes': '4119'}, {'name': 'Python', 'bytes': '43952'}, {'name': 'Shell', 'bytes': '2483'}]}
package com.smallchill.web.model; import org.beetl.sql.core.annotatoin.Table; import com.smallchill.core.annotation.BindID; import com.smallchill.core.base.model.BaseModel; import javax.persistence.Column; /** * 热门关键字 * Generated by shilong. * 2016-11-30 16:34:42 */ @Table(name = "tb_hot_keyword") @BindID(name = "id") @SuppressWarnings("serial") public class HotKeyword extends BaseModel{ @Column(name = "id") private Integer id; @Column(name = "name") private String name; @Column(name = "type") private Integer type; @Column(name = "create_time") private Long createTime; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Long getCreateTime() { return createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } }
{'content_hash': '094d547a6225bc0571f418f4415b8efb', 'timestamp': '', 'source': 'github', 'line_count': 62, 'max_line_length': 48, 'avg_line_length': 18.79032258064516, 'alnum_prop': 0.6257510729613734, 'repo_name': 'ys305751572/shouye', 'id': '661bb84cb63e49bbec52e84434bd93abd0bce35e', 'size': '1175', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/java/com/smallchill/web/model/HotKeyword.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '1669031'}, {'name': 'HTML', 'bytes': '643757'}, {'name': 'Java', 'bytes': '1831571'}, {'name': 'JavaScript', 'bytes': '6437446'}]}
using namespace Oryol; #define TOSTR(code) String(IOStatus::ToString(IOStatus::code)) == #code #define FROMSTR(code) IOStatus::FromString(#code) == IOStatus::code TEST(IOStatusTest) { CHECK(TOSTR(Continue)); CHECK(TOSTR(SwitchingProtocols)); CHECK(TOSTR(OK)); CHECK(TOSTR(Created)); CHECK(TOSTR(Accepted)); CHECK(TOSTR(NonAuthorativeInformation)); CHECK(TOSTR(NoContent)); CHECK(TOSTR(ResetContent)); CHECK(TOSTR(PartialContent)); CHECK(TOSTR(MultipleChoices)); CHECK(TOSTR(MovedPermanently)); CHECK(TOSTR(Found)); CHECK(TOSTR(SeeOther)); CHECK(TOSTR(NotModified)); CHECK(TOSTR(UseProxy)); CHECK(TOSTR(TemporaryRedirect)); CHECK(TOSTR(BadRequest)); CHECK(TOSTR(Unauthorized)); CHECK(TOSTR(PaymentRequired)); CHECK(TOSTR(Forbidden)); CHECK(TOSTR(NotFound)); CHECK(TOSTR(MethodNotAllowed)); CHECK(TOSTR(NotAcceptable)); CHECK(TOSTR(ProxyAuthenticationRequired)); CHECK(TOSTR(RequestTimeout)); CHECK(TOSTR(Conflict)); CHECK(TOSTR(Gone)); CHECK(TOSTR(LengthRequired)); CHECK(TOSTR(PreconditionFailed)); CHECK(TOSTR(RequestEntityTooLarge)); CHECK(TOSTR(RequestURITooLarge)); CHECK(TOSTR(UnsupportedMediaType)); CHECK(TOSTR(RequestedRangeNotSatisfiable)); CHECK(TOSTR(ExpectationFailed)); CHECK(TOSTR(InternalServerError)); CHECK(TOSTR(NotImplemented)); CHECK(TOSTR(BadGateway)); CHECK(TOSTR(ServiceUnavailable)); CHECK(TOSTR(GatewayTimeout)); CHECK(TOSTR(HTTPVersionNotSupported)); CHECK(TOSTR(Cancelled)); CHECK(TOSTR(DownloadError)); }
{'content_hash': '3c07356d80abba5488f1c082627e820c', 'timestamp': '', 'source': 'github', 'line_count': 51, 'max_line_length': 71, 'avg_line_length': 32.470588235294116, 'alnum_prop': 0.6847826086956522, 'repo_name': 'floooh/oryol', 'id': '8fa6a58dab4b4f9b894027e0e888acafb2a4fe21', 'size': '1957', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'code/Modules/IO/UnitTests/IOStatusTest.cc', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Batchfile', 'bytes': '18'}, {'name': 'C', 'bytes': '229386'}, {'name': 'C++', 'bytes': '1225466'}, {'name': 'CMake', 'bytes': '33873'}, {'name': 'CSS', 'bytes': '4785'}, {'name': 'GLSL', 'bytes': '38832'}, {'name': 'HTML', 'bytes': '7392'}, {'name': 'JavaScript', 'bytes': '5456'}, {'name': 'Objective-C', 'bytes': '486169'}, {'name': 'Objective-C++', 'bytes': '127916'}, {'name': 'Python', 'bytes': '234090'}, {'name': 'Shell', 'bytes': '134'}, {'name': 'Vim script', 'bytes': '367'}]}
import numpy as np import wave import struct import matplotlib.pyplot as plt def get_freq(nogui = False): frame_rate = 48000.0 infile = "test.wav" num_samples = 48000 wav_file = wave.open(infile, 'r') data = wav_file.readframes(num_samples) wav_file.close() data = struct.unpack('{n}h'.format(n=num_samples), data) data = np.array(data) data_fft = np.fft.fft(data) # This will give us the frequency we want frequencies = np.abs(data_fft) print("The frequency is {} Hz".format(np.argmax(frequencies))) if nogui: return np.argmax(frequencies) else: plt.subplot(2,1,1) plt.plot(data[:300]) plt.title("Original audio wave") plt.subplot(2,1,2) plt.plot(frequencies) plt.title("Frequencies found") plt.xlim(0,1200) plt.savefig('wave.png') plt.show() if __name__ == "__main__": get_freq()
{'content_hash': '56be3bf1cc00aae43d4343d62ad44dda', 'timestamp': '', 'source': 'github', 'line_count': 40, 'max_line_length': 66, 'avg_line_length': 23.275, 'alnum_prop': 0.6036519871106337, 'repo_name': 'shantnu/PyEng', 'id': '2cfd9ca91e53f33b0794ea0bbe03efd764412b81', 'size': '950', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'audio/get_freq.py', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'HTML', 'bytes': '2140'}, {'name': 'Jupyter Notebook', 'bytes': '29665'}, {'name': 'Perl', 'bytes': '716'}, {'name': 'Python', 'bytes': '27927'}, {'name': 'Shell', 'bytes': '643'}]}
package proc_test import ( "bytes" "encoding/binary" "flag" "fmt" "go/ast" "go/constant" "go/token" "io/ioutil" "math/rand" "net" "net/http" "os" "os/exec" "path/filepath" "reflect" "runtime" "sort" "strconv" "strings" "testing" "text/tabwriter" "time" "github.com/go-delve/delve/pkg/dwarf/frame" "github.com/go-delve/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/regnum" "github.com/go-delve/delve/pkg/goversion" "github.com/go-delve/delve/pkg/logflags" "github.com/go-delve/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc/core" "github.com/go-delve/delve/pkg/proc/gdbserial" "github.com/go-delve/delve/pkg/proc/native" protest "github.com/go-delve/delve/pkg/proc/test" "github.com/go-delve/delve/service/api" ) var normalLoadConfig = proc.LoadConfig{true, 1, 64, 64, -1, 0} var testBackend, buildMode string func init() { runtime.GOMAXPROCS(4) os.Setenv("GOMAXPROCS", "4") } func TestMain(m *testing.M) { flag.StringVar(&testBackend, "backend", "", "selects backend") flag.StringVar(&buildMode, "test-buildmode", "", "selects build mode") var logConf string flag.StringVar(&logConf, "log", "", "configures logging") flag.Parse() protest.DefaultTestBackend(&testBackend) if buildMode != "" && buildMode != "pie" { fmt.Fprintf(os.Stderr, "unknown build mode %q", buildMode) os.Exit(1) } logflags.Setup(logConf != "", logConf, "") os.Exit(protest.RunTestsWithFixtures(m)) } func matchSkipConditions(conditions ...string) bool { for _, cond := range conditions { condfound := false for _, s := range []string{runtime.GOOS, runtime.GOARCH, testBackend, buildMode} { if s == cond { condfound = true break } } if !condfound { return false } } return true } func skipOn(t testing.TB, reason string, conditions ...string) { if matchSkipConditions(conditions...) { t.Skipf("skipped on %s: %s", strings.Join(conditions, "/"), reason) } } func skipUnlessOn(t testing.TB, reason string, conditions ...string) { if !matchSkipConditions(conditions...) { t.Skipf("skipped on %s: %s", strings.Join(conditions, "/"), reason) } } func withTestProcess(name string, t testing.TB, fn func(p *proc.Target, fixture protest.Fixture)) { withTestProcessArgs(name, t, ".", []string{}, 0, fn) } func withTestProcessArgs(name string, t testing.TB, wd string, args []string, buildFlags protest.BuildFlags, fn func(p *proc.Target, fixture protest.Fixture)) { if buildMode == "pie" { buildFlags |= protest.BuildModePIE } fixture := protest.BuildFixture(name, buildFlags) var p *proc.Target var err error var tracedir string switch testBackend { case "native": p, err = native.Launch(append([]string{fixture.Path}, args...), wd, 0, []string{}, "", [3]string{}) case "lldb": p, err = gdbserial.LLDBLaunch(append([]string{fixture.Path}, args...), wd, 0, []string{}, "", [3]string{}) case "rr": protest.MustHaveRecordingAllowed(t) t.Log("recording") p, tracedir, err = gdbserial.RecordAndReplay(append([]string{fixture.Path}, args...), wd, true, []string{}, [3]string{}) t.Logf("replaying %q", tracedir) default: t.Fatal("unknown backend") } if err != nil { t.Fatal("Launch():", err) } defer func() { p.Detach(true) }() fn(p, fixture) } func getRegisters(p *proc.Target, t *testing.T) proc.Registers { regs, err := p.CurrentThread().Registers() if err != nil { t.Fatal("Registers():", err) } return regs } func dataAtAddr(thread proc.MemoryReadWriter, addr uint64) ([]byte, error) { data := make([]byte, 1) _, err := thread.ReadMemory(data, addr) return data, err } func assertNoError(err error, t testing.TB, s string) { if err != nil { _, file, line, _ := runtime.Caller(1) fname := filepath.Base(file) t.Fatalf("failed assertion at %s:%d: %s - %s\n", fname, line, s, err) } } func currentPC(p *proc.Target, t *testing.T) uint64 { regs, err := p.CurrentThread().Registers() if err != nil { t.Fatal(err) } return regs.PC() } func currentLineNumber(p *proc.Target, t *testing.T) (string, int) { pc := currentPC(p, t) f, l, _ := p.BinInfo().PCToLine(pc) return f, l } func assertLineNumber(p *proc.Target, t *testing.T, lineno int, descr string) (string, int) { f, l := currentLineNumber(p, t) if l != lineno { _, callerFile, callerLine, _ := runtime.Caller(1) t.Fatalf("%s expected line :%d got %s:%d\n\tat %s:%d", descr, lineno, f, l, callerFile, callerLine) } return f, l } func TestExit(t *testing.T) { protest.AllowRecording(t) withTestProcess("continuetestprog", t, func(p *proc.Target, fixture protest.Fixture) { err := p.Continue() pe, ok := err.(proc.ErrProcessExited) if !ok { t.Fatalf("Continue() returned unexpected error type %s", err) } if pe.Status != 0 { t.Errorf("Unexpected error status: %d", pe.Status) } if pe.Pid != p.Pid() { t.Errorf("Unexpected process id: %d", pe.Pid) } }) } func TestExitAfterContinue(t *testing.T) { protest.AllowRecording(t) withTestProcess("continuetestprog", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.sayhi") assertNoError(p.Continue(), t, "First Continue()") err := p.Continue() pe, ok := err.(proc.ErrProcessExited) if !ok { t.Fatalf("Continue() returned unexpected error type %s", pe) } if pe.Status != 0 { t.Errorf("Unexpected error status: %d", pe.Status) } if pe.Pid != p.Pid() { t.Errorf("Unexpected process id: %d", pe.Pid) } }) } func setFunctionBreakpoint(p *proc.Target, t testing.TB, fname string) *proc.Breakpoint { _, f, l, _ := runtime.Caller(1) f = filepath.Base(f) addrs, err := proc.FindFunctionLocation(p, fname, 0) if err != nil { t.Fatalf("%s:%d: FindFunctionLocation(%s): %v", f, l, fname, err) } if len(addrs) != 1 { t.Fatalf("%s:%d: setFunctionBreakpoint(%s): too many results %v", f, l, fname, addrs) } bp, err := p.SetBreakpoint(int(addrs[0]), addrs[0], proc.UserBreakpoint, nil) if err != nil { t.Fatalf("%s:%d: FindFunctionLocation(%s): %v", f, l, fname, err) } return bp } func setFileBreakpoint(p *proc.Target, t testing.TB, path string, lineno int) *proc.Breakpoint { _, f, l, _ := runtime.Caller(1) f = filepath.Base(f) addrs, err := proc.FindFileLocation(p, path, lineno) if err != nil { t.Fatalf("%s:%d: FindFileLocation(%s, %d): %v", f, l, path, lineno, err) } if len(addrs) != 1 { t.Fatalf("%s:%d: setFileLineBreakpoint(%s, %d): too many (or not enough) results %v", f, l, path, lineno, addrs) } bp, err := p.SetBreakpoint(int(addrs[0]), addrs[0], proc.UserBreakpoint, nil) if err != nil { t.Fatalf("%s:%d: SetBreakpoint: %v", f, l, err) } return bp } func findFunctionLocation(p *proc.Target, t *testing.T, fnname string) uint64 { _, f, l, _ := runtime.Caller(1) f = filepath.Base(f) addrs, err := proc.FindFunctionLocation(p, fnname, 0) if err != nil { t.Fatalf("%s:%d: FindFunctionLocation(%s): %v", f, l, fnname, err) } if len(addrs) != 1 { t.Fatalf("%s:%d: FindFunctionLocation(%s): too many results %v", f, l, fnname, addrs) } return addrs[0] } func findFileLocation(p *proc.Target, t *testing.T, file string, lineno int) uint64 { _, f, l, _ := runtime.Caller(1) f = filepath.Base(f) addrs, err := proc.FindFileLocation(p, file, lineno) if err != nil { t.Fatalf("%s:%d: FindFileLocation(%s, %d): %v", f, l, file, lineno, err) } if len(addrs) != 1 { t.Fatalf("%s:%d: FindFileLocation(%s, %d): too many results %v", f, l, file, lineno, addrs) } return addrs[0] } func TestHalt(t *testing.T) { stopChan := make(chan interface{}, 1) withTestProcess("loopprog", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) setFunctionBreakpoint(p, t, "main.loop") assertNoError(grp.Continue(), t, "Continue") resumeChan := make(chan struct{}, 1) go func() { <-resumeChan time.Sleep(100 * time.Millisecond) stopChan <- grp.RequestManualStop() }() grp.ResumeNotify(resumeChan) assertNoError(grp.Continue(), t, "Continue") retVal := <-stopChan if err, ok := retVal.(error); ok && err != nil { t.Fatal() } }) } func TestStep(t *testing.T) { protest.AllowRecording(t) withTestProcess("testprog", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.helloworld") assertNoError(p.Continue(), t, "Continue()") regs := getRegisters(p, t) rip := regs.PC() err := p.CurrentThread().StepInstruction() assertNoError(err, t, "Step()") regs = getRegisters(p, t) if rip >= regs.PC() { t.Errorf("Expected %#v to be greater than %#v", regs.PC(), rip) } }) } func TestBreakpoint(t *testing.T) { protest.AllowRecording(t) withTestProcess("testprog", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.helloworld") assertNoError(p.Continue(), t, "Continue()") regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers") pc := regs.PC() if bp.Logical.TotalHitCount != 1 { t.Fatalf("Breakpoint should be hit once, got %d\n", bp.Logical.TotalHitCount) } if pc-1 != bp.Addr && pc != bp.Addr { f, l, _ := p.BinInfo().PCToLine(pc) t.Fatalf("Break not respected:\nPC:%#v %s:%d\nFN:%#v \n", pc, f, l, bp.Addr) } }) } func TestBreakpointInSeparateGoRoutine(t *testing.T) { protest.AllowRecording(t) withTestProcess("testthreads", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.anotherthread") assertNoError(p.Continue(), t, "Continue") regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers") pc := regs.PC() f, l, _ := p.BinInfo().PCToLine(pc) if f != "testthreads.go" && l != 8 { t.Fatal("Program did not hit breakpoint") } }) } func TestBreakpointWithNonExistantFunction(t *testing.T) { withTestProcess("testprog", t, func(p *proc.Target, fixture protest.Fixture) { _, err := p.SetBreakpoint(0, 0, proc.UserBreakpoint, nil) if err == nil { t.Fatal("Should not be able to break at non existent function") } }) } func TestClearBreakpointBreakpoint(t *testing.T) { withTestProcess("testprog", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.sleepytime") err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint()") data, err := dataAtAddr(p.Memory(), bp.Addr) assertNoError(err, t, "dataAtAddr") int3 := []byte{0xcc} if bytes.Equal(data, int3) { t.Fatalf("Breakpoint was not cleared data: %#v, int3: %#v", data, int3) } if countBreakpoints(p) != 0 { t.Fatal("Breakpoint not removed internally") } }) } type nextTest struct { begin, end int } func countBreakpoints(p *proc.Target) int { bpcount := 0 for _, bp := range p.Breakpoints().M { if bp.LogicalID() >= 0 { bpcount++ } } return bpcount } type contFunc int const ( contContinue contFunc = iota contNext contStep contStepout contReverseNext contReverseStep contReverseStepout contContinueToBreakpoint ) type seqTest struct { cf contFunc pos interface{} } func testseq(program string, contFunc contFunc, testcases []nextTest, initialLocation string, t *testing.T) { seqTestcases := make([]seqTest, len(testcases)+1) seqTestcases[0] = seqTest{contContinue, testcases[0].begin} for i := range testcases { if i > 0 { if testcases[i-1].end != testcases[i].begin { panic(fmt.Errorf("begin/end mismatch at index %d", i)) } } seqTestcases[i+1] = seqTest{contFunc, testcases[i].end} } testseq2(t, program, initialLocation, seqTestcases) } const traceTestseq2 = true func testseq2(t *testing.T, program string, initialLocation string, testcases []seqTest) { testseq2Args(".", []string{}, 0, t, program, initialLocation, testcases) } func testseq2Args(wd string, args []string, buildFlags protest.BuildFlags, t *testing.T, program string, initialLocation string, testcases []seqTest) { protest.AllowRecording(t) withTestProcessArgs(program, t, wd, args, buildFlags, func(p *proc.Target, fixture protest.Fixture) { var bp *proc.Breakpoint if initialLocation != "" { bp = setFunctionBreakpoint(p, t, initialLocation) } else if testcases[0].cf == contContinue { bp = setFileBreakpoint(p, t, fixture.Source, testcases[0].pos.(int)) } else { panic("testseq2 can not set initial breakpoint") } if traceTestseq2 { t.Logf("initial breakpoint %v", bp) } regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers") f, ln := currentLineNumber(p, t) for i, tc := range testcases { switch tc.cf { case contNext: if traceTestseq2 { t.Log("next") } assertNoError(p.Next(), t, "Next() returned an error") case contStep: if traceTestseq2 { t.Log("step") } assertNoError(p.Step(), t, "Step() returned an error") case contStepout: if traceTestseq2 { t.Log("stepout") } assertNoError(p.StepOut(), t, "StepOut() returned an error") case contContinue: if traceTestseq2 { t.Log("continue") } assertNoError(p.Continue(), t, "Continue() returned an error") if i == 0 { if traceTestseq2 { t.Log("clearing initial breakpoint") } err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint() returned an error") } case contReverseNext: if traceTestseq2 { t.Log("reverse-next") } assertNoError(p.ChangeDirection(proc.Backward), t, "direction switch") assertNoError(p.Next(), t, "reverse Next() returned an error") assertNoError(p.ChangeDirection(proc.Forward), t, "direction switch") case contReverseStep: if traceTestseq2 { t.Log("reverse-step") } assertNoError(p.ChangeDirection(proc.Backward), t, "direction switch") assertNoError(p.Step(), t, "reverse Step() returned an error") assertNoError(p.ChangeDirection(proc.Forward), t, "direction switch") case contReverseStepout: if traceTestseq2 { t.Log("reverse-stepout") } assertNoError(p.ChangeDirection(proc.Backward), t, "direction switch") assertNoError(p.StepOut(), t, "reverse StepOut() returned an error") assertNoError(p.ChangeDirection(proc.Forward), t, "direction switch") case contContinueToBreakpoint: bp := setFileBreakpoint(p, t, fixture.Source, tc.pos.(int)) if traceTestseq2 { t.Log("continue") } assertNoError(p.Continue(), t, "Continue() returned an error") err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint() returned an error") } f, ln = currentLineNumber(p, t) regs, _ = p.CurrentThread().Registers() pc := regs.PC() if traceTestseq2 { t.Logf("at %#x %s:%d", pc, f, ln) fmt.Printf("at %#x %s:%d\n", pc, f, ln) } switch pos := tc.pos.(type) { case int: if pos >= 0 && ln != pos { t.Fatalf("Program did not continue to correct next location expected %d was %s:%d (%#x) (testcase %d)", pos, filepath.Base(f), ln, pc, i) } case string: v := strings.Split(pos, ":") tgtln, _ := strconv.Atoi(v[1]) if !strings.HasSuffix(f, v[0]) || (ln != tgtln) { t.Fatalf("Program did not continue to correct next location, expected %s was %s:%d (%#x) (testcase %d)", pos, filepath.Base(f), ln, pc, i) } } } if countBreakpoints(p) != 0 { t.Fatal("Not all breakpoints were cleaned up", len(p.Breakpoints().M)) } }) } func TestNextGeneral(t *testing.T) { var testcases []nextTest ver, _ := goversion.Parse(runtime.Version()) if ver.Major < 0 || ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 7, Rev: -1}) { testcases = []nextTest{ {17, 19}, {19, 20}, {20, 23}, {23, 24}, {24, 26}, {26, 31}, {31, 23}, {23, 24}, {24, 26}, {26, 31}, {31, 23}, {23, 24}, {24, 26}, {26, 27}, {27, 28}, {28, 34}, } } else { testcases = []nextTest{ {17, 19}, {19, 20}, {20, 23}, {23, 24}, {24, 26}, {26, 31}, {31, 23}, {23, 24}, {24, 26}, {26, 31}, {31, 23}, {23, 24}, {24, 26}, {26, 27}, {27, 34}, } } testseq("testnextprog", contNext, testcases, "main.testnext", t) } func TestNextConcurrent(t *testing.T) { skipOn(t, "broken", "freebsd") testcases := []nextTest{ {8, 9}, {9, 10}, {10, 11}, } protest.AllowRecording(t) withTestProcess("parallel_next", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.sayhi") assertNoError(p.Continue(), t, "Continue") f, ln := currentLineNumber(p, t) initV := evalVariable(p, t, "n") initVval, _ := constant.Int64Val(initV.Value) err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint()") for _, tc := range testcases { g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG()") if p.SelectedGoroutine().ID != g.ID { t.Fatalf("SelectedGoroutine not CurrentThread's goroutine: %d %d", g.ID, p.SelectedGoroutine().ID) } if ln != tc.begin { t.Fatalf("Program not stopped at correct spot expected %d was %s:%d", tc.begin, filepath.Base(f), ln) } assertNoError(p.Next(), t, "Next() returned an error") f, ln = assertLineNumber(p, t, tc.end, "Program did not continue to the expected location") v := evalVariable(p, t, "n") vval, _ := constant.Int64Val(v.Value) if vval != initVval { t.Fatal("Did not end up on same goroutine") } } }) } func TestNextConcurrentVariant2(t *testing.T) { skipOn(t, "broken", "freebsd") // Just like TestNextConcurrent but instead of removing the initial breakpoint we check that when it happens is for other goroutines testcases := []nextTest{ {8, 9}, {9, 10}, {10, 11}, } protest.AllowRecording(t) withTestProcess("parallel_next", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.sayhi") assertNoError(p.Continue(), t, "Continue") f, ln := currentLineNumber(p, t) initV := evalVariable(p, t, "n") initVval, _ := constant.Int64Val(initV.Value) for _, tc := range testcases { t.Logf("test case %v", tc) g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG()") if p.SelectedGoroutine().ID != g.ID { t.Fatalf("SelectedGoroutine not CurrentThread's goroutine: %d %d", g.ID, p.SelectedGoroutine().ID) } if ln != tc.begin { t.Fatalf("Program not stopped at correct spot expected %d was %s:%d", tc.begin, filepath.Base(f), ln) } assertNoError(p.Next(), t, "Next() returned an error") var vval int64 for { v := evalVariable(p, t, "n") for _, thread := range p.ThreadList() { proc.GetG(thread) } vval, _ = constant.Int64Val(v.Value) if bpstate := p.CurrentThread().Breakpoint(); bpstate.Breakpoint == nil { if vval != initVval { t.Fatal("Did not end up on same goroutine") } break } else { if vval == initVval { t.Fatal("Initial breakpoint triggered twice for the same goroutine") } assertNoError(p.Continue(), t, "Continue 2") } } f, ln = assertLineNumber(p, t, tc.end, "Program did not continue to the expected location") } }) } func TestNextFunctionReturn(t *testing.T) { testcases := []nextTest{ {13, 14}, {14, 15}, {15, 35}, } protest.AllowRecording(t) testseq("testnextprog", contNext, testcases, "main.helloworld", t) } func TestNextFunctionReturnDefer(t *testing.T) { var testcases []nextTest ver, _ := goversion.Parse(runtime.Version()) if ver.Major < 0 || ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 9, Rev: -1}) { testcases = []nextTest{ {5, 6}, {6, 9}, {9, 10}, } } else { testcases = []nextTest{ {5, 8}, {8, 9}, {9, 10}, } } protest.AllowRecording(t) testseq("testnextdefer", contNext, testcases, "main.main", t) } func TestNextNetHTTP(t *testing.T) { testcases := []nextTest{ {11, 12}, {12, 13}, } withTestProcess("testnextnethttp", t, func(p *proc.Target, fixture protest.Fixture) { go func() { // Wait for program to start listening. for { conn, err := net.Dial("tcp", "127.0.0.1:9191") if err == nil { conn.Close() break } time.Sleep(50 * time.Millisecond) } http.Get("http://127.0.0.1:9191") }() if err := p.Continue(); err != nil { t.Fatal(err) } f, ln := currentLineNumber(p, t) for _, tc := range testcases { if ln != tc.begin { t.Fatalf("Program not stopped at correct spot expected %d was %s:%d", tc.begin, filepath.Base(f), ln) } assertNoError(p.Next(), t, "Next() returned an error") f, ln = assertLineNumber(p, t, tc.end, "Program did not continue to correct next location") } }) } func TestRuntimeBreakpoint(t *testing.T) { withTestProcess("testruntimebreakpoint", t, func(p *proc.Target, fixture protest.Fixture) { err := p.Continue() if err != nil { t.Fatal(err) } regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers") pc := regs.PC() f, l, _ := p.BinInfo().PCToLine(pc) if l != 10 { t.Fatalf("did not respect breakpoint %s:%d", f, l) } }) } func returnAddress(thread proc.Thread) (uint64, error) { locations, err := proc.ThreadStacktrace(thread, 2) if err != nil { return 0, err } if len(locations) < 2 { return 0, fmt.Errorf("no return address for function: %s", locations[0].Current.Fn.BaseName()) } return locations[1].Current.PC, nil } func TestFindReturnAddress(t *testing.T) { protest.AllowRecording(t) withTestProcess("testnextprog", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 24) err := p.Continue() if err != nil { t.Fatal(err) } addr, err := returnAddress(p.CurrentThread()) if err != nil { t.Fatal(err) } _, l, _ := p.BinInfo().PCToLine(addr) if l != 40 { t.Fatalf("return address not found correctly, expected line 40") } }) } func TestFindReturnAddressTopOfStackFn(t *testing.T) { protest.AllowRecording(t) withTestProcess("testreturnaddress", t, func(p *proc.Target, fixture protest.Fixture) { fnName := "runtime.rt0_go" setFunctionBreakpoint(p, t, fnName) if err := p.Continue(); err != nil { t.Fatal(err) } if _, err := returnAddress(p.CurrentThread()); err == nil { t.Fatal("expected error to be returned") } }) } func TestSwitchThread(t *testing.T) { protest.AllowRecording(t) withTestProcess("testnextprog", t, func(p *proc.Target, fixture protest.Fixture) { // With invalid thread id err := p.SwitchThread(-1) if err == nil { t.Fatal("Expected error for invalid thread id") } setFunctionBreakpoint(p, t, "main.main") err = p.Continue() if err != nil { t.Fatal(err) } var nt int ct := p.CurrentThread().ThreadID() for _, thread := range p.ThreadList() { if thread.ThreadID() != ct { nt = thread.ThreadID() break } } if nt == 0 { t.Fatal("could not find thread to switch to") } // With valid thread id err = p.SwitchThread(nt) if err != nil { t.Fatal(err) } if p.CurrentThread().ThreadID() != nt { t.Fatal("Did not switch threads") } }) } func TestCGONext(t *testing.T) { // Test if one can do 'next' in a cgo binary // On OSX with Go < 1.5 CGO is not supported due to: https://github.com/golang/go/issues/8973 if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 5) { skipOn(t, "upstream issue", "darwin") } protest.MustHaveCgo(t) skipOn(t, "broken - cgo stacktraces", "darwin", "arm64") skipOn(t, "broken - see https://github.com/go-delve/delve/issues/3158", "darwin", "amd64") protest.AllowRecording(t) withTestProcess("cgotest", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Next(), t, "Next()") }) } func TestCGOBreakpointLocation(t *testing.T) { protest.MustHaveCgo(t) protest.AllowRecording(t) withTestProcess("cgotest", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "C.foo") if !strings.Contains(bp.File, "cgotest.go") { t.Fatalf("incorrect breakpoint location, expected cgotest.go got %s", bp.File) } }) } type loc struct { line int fn string } func (l1 *loc) match(l2 proc.Stackframe) bool { if l1.line >= 0 { if l1.line != l2.Call.Line { return false } } return l1.fn == l2.Call.Fn.Name } func TestStacktrace(t *testing.T) { stacks := [][]loc{ {{4, "main.stacktraceme"}, {8, "main.func1"}, {16, "main.main"}}, {{4, "main.stacktraceme"}, {8, "main.func1"}, {12, "main.func2"}, {17, "main.main"}}, } protest.AllowRecording(t) withTestProcess("stacktraceprog", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.stacktraceme") for i := range stacks { assertNoError(p.Continue(), t, "Continue()") locations, err := proc.ThreadStacktrace(p.CurrentThread(), 40) assertNoError(err, t, "Stacktrace()") if len(locations) != len(stacks[i])+2 { t.Fatalf("Wrong stack trace size %d %d\n", len(locations), len(stacks[i])+2) } t.Logf("Stacktrace %d:\n", i) for i := range locations { t.Logf("\t%s:%d\n", locations[i].Call.File, locations[i].Call.Line) } for j := range stacks[i] { if !stacks[i][j].match(locations[j]) { t.Fatalf("Wrong stack trace pos %d\n", j) } } } p.ClearBreakpoint(bp.Addr) p.Continue() }) } func TestStacktrace2(t *testing.T) { withTestProcess("retstack", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") locations, err := proc.ThreadStacktrace(p.CurrentThread(), 40) assertNoError(err, t, "Stacktrace()") if !stackMatch([]loc{{-1, "main.f"}, {16, "main.main"}}, locations, false) { for i := range locations { t.Logf("\t%s:%d [%s]\n", locations[i].Call.File, locations[i].Call.Line, locations[i].Call.Fn.Name) } t.Fatalf("Stack error at main.f()\n%v\n", locations) } assertNoError(p.Continue(), t, "Continue()") locations, err = proc.ThreadStacktrace(p.CurrentThread(), 40) assertNoError(err, t, "Stacktrace()") if !stackMatch([]loc{{-1, "main.g"}, {17, "main.main"}}, locations, false) { for i := range locations { t.Logf("\t%s:%d [%s]\n", locations[i].Call.File, locations[i].Call.Line, locations[i].Call.Fn.Name) } t.Fatalf("Stack error at main.g()\n%v\n", locations) } }) } func stackMatch(stack []loc, locations []proc.Stackframe, skipRuntime bool) bool { if len(stack) > len(locations) { return false } i := 0 for j := range locations { if i >= len(stack) { break } if skipRuntime { if locations[j].Call.Fn == nil || strings.HasPrefix(locations[j].Call.Fn.Name, "runtime.") { continue } } if !stack[i].match(locations[j]) { return false } i++ } return i >= len(stack) } func TestStacktraceGoroutine(t *testing.T) { skipOn(t, "broken - cgo stacktraces", "darwin", "arm64") mainStack := []loc{{14, "main.stacktraceme"}, {29, "main.main"}} if goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { mainStack[0].line = 15 } agoroutineStacks := [][]loc{ {{8, "main.agoroutine"}}, {{9, "main.agoroutine"}}, {{10, "main.agoroutine"}}, } lenient := 0 if runtime.GOOS == "windows" { lenient = 1 } protest.AllowRecording(t) withTestProcess("goroutinestackprog", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.stacktraceme") assertNoError(p.Continue(), t, "Continue()") gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo") agoroutineCount := 0 mainCount := 0 for i, g := range gs { locations, err := g.Stacktrace(40, 0) if err != nil { // On windows we do not have frame information for goroutines doing system calls. t.Logf("Could not retrieve goroutine stack for goid=%d: %v", g.ID, err) continue } if stackMatch(mainStack, locations, false) { mainCount++ } found := false for _, agoroutineStack := range agoroutineStacks { if stackMatch(agoroutineStack, locations, true) { found = true } } if found { agoroutineCount++ } else { t.Logf("Non-goroutine stack: %d (%d)", i, len(locations)) for i := range locations { name := "" if locations[i].Call.Fn != nil { name = locations[i].Call.Fn.Name } t.Logf("\t%s:%d %s (%#x) %x %v\n", locations[i].Call.File, locations[i].Call.Line, name, locations[i].Current.PC, locations[i].FrameOffset(), locations[i].SystemStack) } } } if mainCount != 1 { t.Fatalf("Main goroutine stack not found %d", mainCount) } if agoroutineCount < 10-lenient { t.Fatalf("Goroutine stacks not found (%d)", agoroutineCount) } p.ClearBreakpoint(bp.Addr) p.Continue() }) } func TestKill(t *testing.T) { skipOn(t, "N/A", "lldb") // k command presumably works but leaves the process around? withTestProcess("testprog", t, func(p *proc.Target, fixture protest.Fixture) { if err := p.Detach(true); err != nil { t.Fatal(err) } if valid, _ := p.Valid(); valid { t.Fatal("expected process to have exited") } if runtime.GOOS == "linux" { if runtime.GOARCH == "arm64" { //there is no any sync between signal sended(tracee handled) and open /proc/%d/. It may fail on arm64 return } _, err := os.Open(fmt.Sprintf("/proc/%d/", p.Pid())) if err == nil { t.Fatal("process has not exited", p.Pid()) } } }) } func testGSupportFunc(name string, t *testing.T, p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, name+": Continue()") g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, name+": GetG()") if g == nil { t.Fatal(name + ": g was nil") } t.Logf(name+": g is: %v", g) p.ClearBreakpoint(bp.Addr) } func TestGetG(t *testing.T) { withTestProcess("testprog", t, func(p *proc.Target, fixture protest.Fixture) { testGSupportFunc("nocgo", t, p, fixture) }) // On OSX with Go < 1.5 CGO is not supported due to: https://github.com/golang/go/issues/8973 if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 5) { skipOn(t, "upstream issue", "darwin") } protest.MustHaveCgo(t) protest.AllowRecording(t) withTestProcess("cgotest", t, func(p *proc.Target, fixture protest.Fixture) { testGSupportFunc("cgo", t, p, fixture) }) } func TestContinueMulti(t *testing.T) { protest.AllowRecording(t) withTestProcess("integrationprog", t, func(p *proc.Target, fixture protest.Fixture) { bp1 := setFunctionBreakpoint(p, t, "main.main") bp2 := setFunctionBreakpoint(p, t, "main.sayhi") mainCount := 0 sayhiCount := 0 for { err := p.Continue() if valid, _ := p.Valid(); !valid { break } assertNoError(err, t, "Continue()") if bp := p.CurrentThread().Breakpoint(); bp.LogicalID() == bp1.LogicalID() { mainCount++ } if bp := p.CurrentThread().Breakpoint(); bp.LogicalID() == bp2.LogicalID() { sayhiCount++ } } if mainCount != 1 { t.Fatalf("Main breakpoint hit wrong number of times: %d\n", mainCount) } if sayhiCount != 3 { t.Fatalf("Sayhi breakpoint hit wrong number of times: %d\n", sayhiCount) } }) } func TestBreakpointOnFunctionEntry(t *testing.T) { testseq2(t, "testprog", "main.main", []seqTest{{contContinue, 17}}) } func TestProcessReceivesSIGCHLD(t *testing.T) { protest.AllowRecording(t) withTestProcess("sigchldprog", t, func(p *proc.Target, fixture protest.Fixture) { err := p.Continue() _, ok := err.(proc.ErrProcessExited) if !ok { t.Fatalf("Continue() returned unexpected error type %v", err) } }) } func TestIssue239(t *testing.T) { withTestProcess("is sue239", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 17) assertNoError(p.Continue(), t, "Continue()") }) } func findFirstNonRuntimeFrame(p *proc.Target) (proc.Stackframe, error) { frames, err := proc.ThreadStacktrace(p.CurrentThread(), 10) if err != nil { return proc.Stackframe{}, err } for _, frame := range frames { if frame.Current.Fn != nil && !strings.HasPrefix(frame.Current.Fn.Name, "runtime.") { return frame, nil } } return proc.Stackframe{}, fmt.Errorf("non-runtime frame not found") } func evalVariableOrError(p *proc.Target, symbol string) (*proc.Variable, error) { var scope *proc.EvalScope var err error if testBackend == "rr" { var frame proc.Stackframe frame, err = findFirstNonRuntimeFrame(p) if err == nil { scope = proc.FrameToScope(p, p.Memory(), nil, frame) } } else { scope, err = proc.GoroutineScope(p, p.CurrentThread()) } if err != nil { return nil, err } return scope.EvalExpression(symbol, normalLoadConfig) } func evalVariable(p *proc.Target, t testing.TB, symbol string) *proc.Variable { v, err := evalVariableOrError(p, symbol) if err != nil { _, file, line, _ := runtime.Caller(1) fname := filepath.Base(file) t.Fatalf("%s:%d: EvalVariable(%q): %v", fname, line, symbol, err) } return v } func setVariable(p *proc.Target, symbol, value string) error { scope, err := proc.GoroutineScope(p, p.CurrentThread()) if err != nil { return err } return scope.SetVariable(symbol, value) } func TestVariableEvaluation(t *testing.T) { protest.AllowRecording(t) testcases := []struct { name string st reflect.Kind value interface{} length, cap int64 childrenlen int }{ {"a1", reflect.String, "foofoofoofoofoofoo", 18, 0, 0}, {"a11", reflect.Array, nil, 3, -1, 3}, {"a12", reflect.Slice, nil, 2, 2, 2}, {"a13", reflect.Slice, nil, 3, 3, 3}, {"a2", reflect.Int, int64(6), 0, 0, 0}, {"a3", reflect.Float64, float64(7.23), 0, 0, 0}, {"a4", reflect.Array, nil, 2, -1, 2}, {"a5", reflect.Slice, nil, 5, 5, 5}, {"a6", reflect.Struct, nil, 2, 0, 2}, {"a7", reflect.Ptr, nil, 1, 0, 1}, {"a8", reflect.Struct, nil, 2, 0, 2}, {"a9", reflect.Ptr, nil, 1, 0, 1}, {"baz", reflect.String, "bazburzum", 9, 0, 0}, {"neg", reflect.Int, int64(-1), 0, 0, 0}, {"f32", reflect.Float32, float64(float32(1.2)), 0, 0, 0}, {"c64", reflect.Complex64, complex128(complex64(1 + 2i)), 0, 0, 0}, {"c128", reflect.Complex128, complex128(2 + 3i), 0, 0, 0}, {"a6.Baz", reflect.Int, int64(8), 0, 0, 0}, {"a7.Baz", reflect.Int, int64(5), 0, 0, 0}, {"a8.Baz", reflect.String, "feh", 3, 0, 0}, {"a8", reflect.Struct, nil, 2, 0, 2}, {"i32", reflect.Array, nil, 2, -1, 2}, {"b1", reflect.Bool, true, 0, 0, 0}, {"b2", reflect.Bool, false, 0, 0, 0}, {"f", reflect.Func, "main.barfoo", 0, 0, 0}, {"ba", reflect.Slice, nil, 200, 200, 64}, } withTestProcess("testvariables", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue() returned an error") for _, tc := range testcases { v := evalVariable(p, t, tc.name) if v.Kind != tc.st { t.Fatalf("%s simple type: expected: %s got: %s", tc.name, tc.st, v.Kind.String()) } if v.Value == nil && tc.value != nil { t.Fatalf("%s value: expected: %v got: %v", tc.name, tc.value, v.Value) } else { switch v.Kind { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: x, _ := constant.Int64Val(v.Value) if y, ok := tc.value.(int64); !ok || x != y { t.Fatalf("%s value: expected: %v got: %v", tc.name, tc.value, v.Value) } case reflect.Float32, reflect.Float64: x, _ := constant.Float64Val(v.Value) if y, ok := tc.value.(float64); !ok || x != y { t.Fatalf("%s value: expected: %v got: %v", tc.name, tc.value, v.Value) } case reflect.Complex64, reflect.Complex128: xr, _ := constant.Float64Val(constant.Real(v.Value)) xi, _ := constant.Float64Val(constant.Imag(v.Value)) if y, ok := tc.value.(complex128); !ok || complex(xr, xi) != y { t.Fatalf("%s value: expected: %v got: %v", tc.name, tc.value, v.Value) } case reflect.String: if y, ok := tc.value.(string); !ok || constant.StringVal(v.Value) != y { t.Fatalf("%s value: expected: %v got: %v", tc.name, tc.value, v.Value) } } } if v.Len != tc.length { t.Fatalf("%s len: expected: %d got: %d", tc.name, tc.length, v.Len) } if v.Cap != tc.cap { t.Fatalf("%s cap: expected: %d got: %d", tc.name, tc.cap, v.Cap) } if len(v.Children) != tc.childrenlen { t.Fatalf("%s children len: expected %d got: %d", tc.name, tc.childrenlen, len(v.Children)) } } }) } func TestFrameEvaluation(t *testing.T) { protest.AllowRecording(t) lenient := false if runtime.GOOS == "windows" { lenient = true } withTestProcess("goroutinestackprog", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.stacktraceme") assertNoError(p.Continue(), t, "Continue()") t.Logf("stopped on thread %d, goroutine: %#v", p.CurrentThread().ThreadID(), p.SelectedGoroutine()) // Testing evaluation on goroutines gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo") found := make([]bool, 10) for _, g := range gs { frame := -1 frames, err := g.Stacktrace(40, 0) if err != nil { t.Logf("could not stacktrace goroutine %d: %v\n", g.ID, err) continue } t.Logf("Goroutine %d %#v", g.ID, g.Thread) logStacktrace(t, p, frames) for i := range frames { if frames[i].Call.Fn != nil && frames[i].Call.Fn.Name == "main.agoroutine" { frame = i break } } if frame < 0 { t.Logf("Goroutine %d: could not find correct frame", g.ID) continue } scope, err := proc.ConvertEvalScope(p, g.ID, frame, 0) assertNoError(err, t, "ConvertEvalScope()") t.Logf("scope = %v", scope) v, err := scope.EvalExpression("i", normalLoadConfig) t.Logf("v = %v", v) if err != nil { t.Logf("Goroutine %d: %v\n", g.ID, err) continue } vval, _ := constant.Int64Val(v.Value) found[vval] = true } for i := range found { if !found[i] { if lenient { lenient = false } else { t.Fatalf("Goroutine %d not found\n", i) } } } // Testing evaluation on frames assertNoError(p.Continue(), t, "Continue() 2") g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG()") frames, err := g.Stacktrace(40, 0) t.Logf("Goroutine %d %#v", g.ID, g.Thread) logStacktrace(t, p, frames) for i := 0; i <= 3; i++ { scope, err := proc.ConvertEvalScope(p, g.ID, i+1, 0) assertNoError(err, t, fmt.Sprintf("ConvertEvalScope() on frame %d", i+1)) v, err := scope.EvalExpression("n", normalLoadConfig) assertNoError(err, t, fmt.Sprintf("EvalVariable() on frame %d", i+1)) n, _ := constant.Int64Val(v.Value) t.Logf("frame %d n %d\n", i+1, n) if n != int64(3-i) { t.Fatalf("On frame %d value of n is %d (not %d)", i+1, n, 3-i) } } }) } func TestThreadFrameEvaluation(t *testing.T) { skipOn(t, "upstream issue - https://github.com/golang/go/issues/29322", "pie") deadlockBp := proc.FatalThrow if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { t.SkipNow() } withTestProcess("testdeadlock", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") bp := p.CurrentThread().Breakpoint() if bp.Breakpoint == nil || bp.Logical.Name != deadlockBp { t.Fatalf("did not stop at deadlock breakpoint %v", bp) } // There is no selected goroutine during a deadlock, so the scope will // be a thread scope. scope, err := proc.ConvertEvalScope(p, 0, 0, 0) assertNoError(err, t, "ConvertEvalScope() on frame 0") _, err = scope.EvalExpression("s", normalLoadConfig) assertNoError(err, t, "EvalVariable(\"s\") on frame 0") }) } func TestPointerSetting(t *testing.T) { withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue() returned an error") pval := func(n int64) { variable := evalVariable(p, t, "p1") c0val, _ := constant.Int64Val(variable.Children[0].Value) if c0val != n { t.Fatalf("Wrong value of p1, *%d expected *%d", c0val, n) } } pval(1) // change p1 to point to i2 scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "Scope()") i2addr, err := scope.EvalExpression("i2", normalLoadConfig) assertNoError(err, t, "EvalExpression()") assertNoError(setVariable(p, "p1", fmt.Sprintf("(*int)(0x%x)", i2addr.Addr)), t, "SetVariable()") pval(2) // change the value of i2 check that p1 also changes assertNoError(setVariable(p, "i2", "5"), t, "SetVariable()") pval(5) }) } func TestVariableFunctionScoping(t *testing.T) { withTestProcess("testvariables", t, func(p *proc.Target, fixture protest.Fixture) { err := p.Continue() assertNoError(err, t, "Continue() returned an error") evalVariable(p, t, "a1") evalVariable(p, t, "a2") // Move scopes, a1 exists here by a2 does not err = p.Continue() assertNoError(err, t, "Continue() returned an error") evalVariable(p, t, "a1") _, err = evalVariableOrError(p, "a2") if err == nil { t.Fatalf("Can eval out of scope variable a2") } }) } func TestRecursiveStructure(t *testing.T) { protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") v := evalVariable(p, t, "aas") t.Logf("v: %v\n", v) }) } func TestIssue316(t *testing.T) { // A pointer loop that includes one interface should not send dlv into an infinite loop protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") evalVariable(p, t, "iface5") }) } func TestIssue325(t *testing.T) { // nil pointer dereference when evaluating interfaces to function pointers protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") iface2fn1v := evalVariable(p, t, "iface2fn1") t.Logf("iface2fn1: %v\n", iface2fn1v) iface2fn2v := evalVariable(p, t, "iface2fn2") t.Logf("iface2fn2: %v\n", iface2fn2v) }) } func TestBreakpointCounts(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("bpcountstest", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 12) for { if err := p.Continue(); err != nil { if _, exited := err.(proc.ErrProcessExited); exited { break } assertNoError(err, t, "Continue()") } } t.Logf("TotalHitCount: %d", bp.Logical.TotalHitCount) if bp.Logical.TotalHitCount != 200 { t.Fatalf("Wrong TotalHitCount for the breakpoint (%d)", bp.Logical.TotalHitCount) } if len(bp.Logical.HitCount) != 2 { t.Fatalf("Wrong number of goroutines for breakpoint (%d)", len(bp.Logical.HitCount)) } for _, v := range bp.Logical.HitCount { if v != 100 { t.Fatalf("Wrong HitCount for breakpoint (%v)", bp.Logical.HitCount) } } }) } func TestHardcodedBreakpointCounts(t *testing.T) { skipOn(t, "broken", "freebsd") withTestProcess("hcbpcountstest", t, func(p *proc.Target, fixture protest.Fixture) { counts := map[int64]int{} for { if err := p.Continue(); err != nil { if _, exited := err.(proc.ErrProcessExited); exited { break } assertNoError(err, t, "Continue()") } for _, th := range p.ThreadList() { bp := th.Breakpoint().Breakpoint if bp == nil { continue } if bp.Logical.Name != proc.HardcodedBreakpoint { t.Fatalf("wrong breakpoint name %s", bp.Logical.Name) } g, err := proc.GetG(th) assertNoError(err, t, "GetG") counts[g.ID]++ } } if len(counts) != 2 { t.Fatalf("Wrong number of goroutines for hardcoded breakpoint (%d)", len(counts)) } for goid, count := range counts { if count != 100 { t.Fatalf("Wrong hit count for hardcoded breakpoint (%d) on goroutine %d", count, goid) } } }) } func BenchmarkArray(b *testing.B) { // each bencharr struct is 128 bytes, bencharr is 64 elements long b.SetBytes(int64(64 * 128)) withTestProcess("testvariables2", b, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), b, "Continue()") b.ResetTimer() for i := 0; i < b.N; i++ { evalVariable(p, b, "bencharr") } }) } const doTestBreakpointCountsWithDetection = false func TestBreakpointCountsWithDetection(t *testing.T) { if !doTestBreakpointCountsWithDetection { return } m := map[int64]int64{} protest.AllowRecording(t) withTestProcess("bpcountstest", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 12) for { if err := p.Continue(); err != nil { if _, exited := err.(proc.ErrProcessExited); exited { break } assertNoError(err, t, "Continue()") } for _, th := range p.ThreadList() { if bp := th.Breakpoint(); bp.Breakpoint == nil { continue } scope, err := proc.GoroutineScope(p, th) assertNoError(err, t, "Scope()") v, err := scope.EvalExpression("i", normalLoadConfig) assertNoError(err, t, "evalVariable") i, _ := constant.Int64Val(v.Value) v, err = scope.EvalExpression("id", normalLoadConfig) assertNoError(err, t, "evalVariable") id, _ := constant.Int64Val(v.Value) m[id] = i } total := int64(0) for i := range m { total += m[i] + 1 } if uint64(total) != bp.Logical.TotalHitCount { t.Fatalf("Mismatched total count %d %d\n", total, bp.Logical.TotalHitCount) } } t.Logf("TotalHitCount: %d", bp.Logical.TotalHitCount) if bp.Logical.TotalHitCount != 200 { t.Fatalf("Wrong TotalHitCount for the breakpoint (%d)", bp.Logical.TotalHitCount) } if len(bp.Logical.HitCount) != 2 { t.Fatalf("Wrong number of goroutines for breakpoint (%d)", len(bp.Logical.HitCount)) } for _, v := range bp.Logical.HitCount { if v != 100 { t.Fatalf("Wrong HitCount for breakpoint (%v)", bp.Logical.HitCount) } } }) } func BenchmarkArrayPointer(b *testing.B) { // each bencharr struct is 128 bytes, benchparr is an array of 64 pointers to bencharr // each read will read 64 bencharr structs plus the 64 pointers of benchparr b.SetBytes(int64(64*128 + 64*8)) withTestProcess("testvariables2", b, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), b, "Continue()") b.ResetTimer() for i := 0; i < b.N; i++ { evalVariable(p, b, "bencharr") } }) } func BenchmarkMap(b *testing.B) { // m1 contains 41 entries, each one has a value that's 2 int values (2* 8 bytes) and a string key // each string key has an average of 9 character // reading strings and the map structure imposes a overhead that we ignore here b.SetBytes(int64(41 * (2*8 + 9))) withTestProcess("testvariables2", b, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), b, "Continue()") b.ResetTimer() for i := 0; i < b.N; i++ { evalVariable(p, b, "m1") } }) } func BenchmarkGoroutinesInfo(b *testing.B) { withTestProcess("testvariables2", b, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), b, "Continue()") b.ResetTimer() for i := 0; i < b.N; i++ { p.ClearCaches() _, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, b, "GoroutinesInfo") } }) } func TestIssue262(t *testing.T) { // Continue does not work when the current breakpoint is set on a NOP instruction protest.AllowRecording(t) withTestProcess("issue262", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 11) assertNoError(p.Continue(), t, "Continue()") err := p.Continue() if err == nil { t.Fatalf("No error on second continue") } _, exited := err.(proc.ErrProcessExited) if !exited { t.Fatalf("Process did not exit after second continue: %v", err) } }) } func TestIssue305(t *testing.T) { // If 'next' hits a breakpoint on the goroutine it's stepping through // the internal breakpoints aren't cleared preventing further use of // 'next' command protest.AllowRecording(t) withTestProcess("issue305", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 5) assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Next(), t, "Next() 1") assertNoError(p.Next(), t, "Next() 2") assertNoError(p.Next(), t, "Next() 3") assertNoError(p.Next(), t, "Next() 4") assertNoError(p.Next(), t, "Next() 5") }) } func TestPointerLoops(t *testing.T) { // Pointer loops through map entries, pointers and slices // Regression test for issue #341 protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") for _, expr := range []string{"mapinf", "ptrinf", "sliceinf"} { t.Logf("requesting %s", expr) v := evalVariable(p, t, expr) t.Logf("%s: %v\n", expr, v) } }) } func BenchmarkLocalVariables(b *testing.B) { withTestProcess("testvariables", b, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), b, "Continue() returned an error") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, b, "Scope()") b.ResetTimer() for i := 0; i < b.N; i++ { _, err := scope.LocalVariables(normalLoadConfig) assertNoError(err, b, "LocalVariables()") } }) } func TestCondBreakpoint(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("parallel_next", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 9) bp.UserBreaklet().Cond = &ast.BinaryExpr{ Op: token.EQL, X: &ast.Ident{Name: "n"}, Y: &ast.BasicLit{Kind: token.INT, Value: "7"}, } assertNoError(p.Continue(), t, "Continue()") nvar := evalVariable(p, t, "n") n, _ := constant.Int64Val(nvar.Value) if n != 7 { t.Fatalf("Stopped on wrong goroutine %d\n", n) } }) } func TestCondBreakpointError(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("parallel_next", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 9) bp.UserBreaklet().Cond = &ast.BinaryExpr{ Op: token.EQL, X: &ast.Ident{Name: "nonexistentvariable"}, Y: &ast.BasicLit{Kind: token.INT, Value: "7"}, } err := p.Continue() if err == nil { t.Fatalf("No error on first Continue()") } if err.Error() != "error evaluating expression: could not find symbol value for nonexistentvariable" && err.Error() != "multiple errors evaluating conditions" { t.Fatalf("Unexpected error on first Continue(): %v", err) } bp.UserBreaklet().Cond = &ast.BinaryExpr{ Op: token.EQL, X: &ast.Ident{Name: "n"}, Y: &ast.BasicLit{Kind: token.INT, Value: "7"}, } err = p.Continue() if err != nil { if _, exited := err.(proc.ErrProcessExited); !exited { t.Fatalf("Unexpected error on second Continue(): %v", err) } } else { nvar := evalVariable(p, t, "n") n, _ := constant.Int64Val(nvar.Value) if n != 7 { t.Fatalf("Stopped on wrong goroutine %d\n", n) } } }) } func TestHitCondBreakpointEQ(t *testing.T) { withTestProcess("break", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 7) bp.Logical.HitCond = &struct { Op token.Token Val int }{token.EQL, 3} assertNoError(p.Continue(), t, "Continue()") ivar := evalVariable(p, t, "i") i, _ := constant.Int64Val(ivar.Value) if i != 3 { t.Fatalf("Stopped on wrong hitcount %d\n", i) } err := p.Continue() if _, exited := err.(proc.ErrProcessExited); !exited { t.Fatalf("Unexpected error on Continue(): %v", err) } }) } func TestHitCondBreakpointGEQ(t *testing.T) { protest.AllowRecording(t) withTestProcess("break", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 7) bp.Logical.HitCond = &struct { Op token.Token Val int }{token.GEQ, 3} for it := 3; it <= 10; it++ { assertNoError(p.Continue(), t, "Continue()") ivar := evalVariable(p, t, "i") i, _ := constant.Int64Val(ivar.Value) if int(i) != it { t.Fatalf("Stopped on wrong hitcount %d\n", i) } } assertNoError(p.Continue(), t, "Continue()") }) } func TestHitCondBreakpointREM(t *testing.T) { protest.AllowRecording(t) withTestProcess("break", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 7) bp.Logical.HitCond = &struct { Op token.Token Val int }{token.REM, 2} for it := 2; it <= 10; it += 2 { assertNoError(p.Continue(), t, "Continue()") ivar := evalVariable(p, t, "i") i, _ := constant.Int64Val(ivar.Value) if int(i) != it { t.Fatalf("Stopped on wrong hitcount %d\n", i) } } err := p.Continue() if _, exited := err.(proc.ErrProcessExited); !exited { t.Fatalf("Unexpected error on Continue(): %v", err) } }) } func TestIssue356(t *testing.T) { // slice with a typedef does not get printed correctly protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue() returned an error") mmvar := evalVariable(p, t, "mainMenu") if mmvar.Kind != reflect.Slice { t.Fatalf("Wrong kind for mainMenu: %v\n", mmvar.Kind) } }) } func TestStepIntoFunction(t *testing.T) { withTestProcess("teststep", t, func(p *proc.Target, fixture protest.Fixture) { // Continue until breakpoint assertNoError(p.Continue(), t, "Continue() returned an error") // Step into function assertNoError(p.Step(), t, "Step() returned an error") // We should now be inside the function. loc, err := p.CurrentThread().Location() if err != nil { t.Fatal(err) } if loc.Fn.Name != "main.callme" { t.Fatalf("expected to be within the 'callme' function, was in %s instead", loc.Fn.Name) } if !strings.Contains(loc.File, "teststep") { t.Fatalf("debugger stopped at incorrect location: %s:%d", loc.File, loc.Line) } if loc.Line != 8 { t.Fatalf("debugger stopped at incorrect line: %d", loc.Line) } }) } func TestIssue332_Part1(t *testing.T) { // Next shouldn't step inside a function call protest.AllowRecording(t) withTestProcess("issue332", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 8) assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Next(), t, "first Next()") locations, err := proc.ThreadStacktrace(p.CurrentThread(), 2) assertNoError(err, t, "Stacktrace()") if locations[0].Call.Fn == nil { t.Fatalf("Not on a function") } if locations[0].Call.Fn.Name != "main.main" { t.Fatalf("Not on main.main after Next: %s (%s:%d)", locations[0].Call.Fn.Name, locations[0].Call.File, locations[0].Call.Line) } if locations[0].Call.Line != 9 { t.Fatalf("Not on line 9 after Next: %s (%s:%d)", locations[0].Call.Fn.Name, locations[0].Call.File, locations[0].Call.Line) } }) } func TestIssue332_Part2(t *testing.T) { // Step should skip a function's prologue // In some parts of the prologue, for some functions, the FDE data is incorrect // which leads to 'next' and 'stack' failing with error "could not find FDE for PC: <garbage>" // because the incorrect FDE data leads to reading the wrong stack address as the return address protest.AllowRecording(t) withTestProcess("issue332", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 8) assertNoError(p.Continue(), t, "Continue()") // step until we enter changeMe for { assertNoError(p.Step(), t, "Step()") locations, err := proc.ThreadStacktrace(p.CurrentThread(), 2) assertNoError(err, t, "Stacktrace()") if locations[0].Call.Fn == nil { t.Fatalf("Not on a function") } if locations[0].Call.Fn.Name == "main.changeMe" { break } } regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers()") pc := regs.PC() pcAfterPrologue := findFunctionLocation(p, t, "main.changeMe") if pcAfterPrologue == p.BinInfo().LookupFunc["main.changeMe"].Entry { t.Fatalf("main.changeMe and main.changeMe:0 are the same (%x)", pcAfterPrologue) } if pc != pcAfterPrologue { t.Fatalf("Step did not skip the prologue: current pc: %x, first instruction after prologue: %x", pc, pcAfterPrologue) } assertNoError(p.Next(), t, "first Next()") assertNoError(p.Next(), t, "second Next()") assertNoError(p.Next(), t, "third Next()") err = p.Continue() if _, exited := err.(proc.ErrProcessExited); !exited { assertNoError(err, t, "final Continue()") } }) } func TestIssue414(t *testing.T) { skipOn(t, "broken", "linux", "386", "pie") // test occasionally hangs on linux/386/pie // Stepping until the program exits protest.AllowRecording(t) withTestProcess("math", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 9) assertNoError(p.Continue(), t, "Continue()") for { pc := currentPC(p, t) f, ln := currentLineNumber(p, t) t.Logf("at %s:%d %#x\n", f, ln, pc) var err error // Stepping through the runtime is not generally safe so after we are out // of main.main just use Next. // See: https://github.com/go-delve/delve/pull/2082 if f == fixture.Source { err = p.Step() } else { err = p.Next() } if err != nil { if _, exited := err.(proc.ErrProcessExited); exited { break } } assertNoError(err, t, "Step()") } }) } func TestPackageVariables(t *testing.T) { var skippedVariable = map[string]bool{ "runtime.uint16Eface": true, "runtime.uint32Eface": true, "runtime.uint64Eface": true, "runtime.stringEface": true, "runtime.sliceEface": true, } protest.AllowRecording(t) withTestProcess("testvariables", t, func(p *proc.Target, fixture protest.Fixture) { err := p.Continue() assertNoError(err, t, "Continue()") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "Scope()") vars, err := scope.PackageVariables(normalLoadConfig) assertNoError(err, t, "PackageVariables()") failed := false for _, v := range vars { if skippedVariable[v.Name] { continue } if v.Unreadable != nil && v.Unreadable.Error() != "no location attribute Location" { failed = true t.Logf("Unreadable variable %s: %v", v.Name, v.Unreadable) } } if failed { t.Fatalf("previous errors") } }) } func TestIssue149(t *testing.T) { ver, _ := goversion.Parse(runtime.Version()) if ver.Major > 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 7, Rev: -1}) { return } // setting breakpoint on break statement withTestProcess("break", t, func(p *proc.Target, fixture protest.Fixture) { findFileLocation(p, t, fixture.Source, 8) }) } func TestPanicBreakpoint(t *testing.T) { protest.AllowRecording(t) withTestProcess("panic", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") bp := p.CurrentThread().Breakpoint() if bp.Breakpoint == nil || bp.Logical.Name != proc.UnrecoveredPanic { t.Fatalf("not on unrecovered-panic breakpoint: %v", bp) } }) } func TestCmdLineArgs(t *testing.T) { expectSuccess := func(p *proc.Target, fixture protest.Fixture) { err := p.Continue() bp := p.CurrentThread().Breakpoint() if bp.Breakpoint != nil && bp.Logical.Name == proc.UnrecoveredPanic { t.Fatalf("testing args failed on unrecovered-panic breakpoint: %v", bp) } exit, exited := err.(proc.ErrProcessExited) if !exited { t.Fatalf("Process did not exit: %v", err) } else { if exit.Status != 0 { t.Fatalf("process exited with invalid status %d", exit.Status) } } } expectPanic := func(p *proc.Target, fixture protest.Fixture) { p.Continue() bp := p.CurrentThread().Breakpoint() if bp.Breakpoint == nil || bp.Logical.Name != proc.UnrecoveredPanic { t.Fatalf("not on unrecovered-panic breakpoint: %v", bp) } } // make sure multiple arguments (including one with spaces) are passed to the binary correctly withTestProcessArgs("testargs", t, ".", []string{"test"}, 0, expectSuccess) withTestProcessArgs("testargs", t, ".", []string{"-test"}, 0, expectPanic) withTestProcessArgs("testargs", t, ".", []string{"test", "pass flag"}, 0, expectSuccess) // check that arguments with spaces are *only* passed correctly when correctly called withTestProcessArgs("testargs", t, ".", []string{"test pass", "flag"}, 0, expectPanic) withTestProcessArgs("testargs", t, ".", []string{"test", "pass", "flag"}, 0, expectPanic) withTestProcessArgs("testargs", t, ".", []string{"test pass flag"}, 0, expectPanic) // and that invalid cases (wrong arguments or no arguments) panic withTestProcess("testargs", t, expectPanic) withTestProcessArgs("testargs", t, ".", []string{"invalid"}, 0, expectPanic) withTestProcessArgs("testargs", t, ".", []string{"test", "invalid"}, 0, expectPanic) withTestProcessArgs("testargs", t, ".", []string{"invalid", "pass flag"}, 0, expectPanic) } func TestIssue462(t *testing.T) { skipOn(t, "broken", "windows") // Stacktrace of Goroutine 0 fails with an error withTestProcess("testnextnethttp", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) go func() { // Wait for program to start listening. for { conn, err := net.Dial("tcp", "127.0.0.1:9191") if err == nil { conn.Close() break } time.Sleep(50 * time.Millisecond) } grp.RequestManualStop() }() assertNoError(grp.Continue(), t, "Continue()") _, err := proc.ThreadStacktrace(p.CurrentThread(), 40) assertNoError(err, t, "Stacktrace()") }) } func TestNextParked(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("parallel_next", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.sayhi") // continue until a parked goroutine exists var parkedg *proc.G for parkedg == nil { err := p.Continue() if _, exited := err.(proc.ErrProcessExited); exited { t.Log("could not find parked goroutine") return } assertNoError(err, t, "Continue()") gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo()") // Search for a parked goroutine that we know for sure will have to be // resumed before the program can exit. This is a parked goroutine that: // 1. is executing main.sayhi // 2. hasn't called wg.Done yet for _, g := range gs { if g.Thread != nil { continue } frames, _ := g.Stacktrace(5, 0) for _, frame := range frames { // line 11 is the line where wg.Done is called if frame.Current.Fn != nil && frame.Current.Fn.Name == "main.sayhi" && frame.Current.Line < 11 { parkedg = g break } } if parkedg != nil { break } } } assertNoError(p.SwitchGoroutine(parkedg), t, "SwitchGoroutine()") p.ClearBreakpoint(bp.Addr) assertNoError(p.Next(), t, "Next()") if p.SelectedGoroutine().ID != parkedg.ID { t.Fatalf("Next did not continue on the selected goroutine, expected %d got %d", parkedg.ID, p.SelectedGoroutine().ID) } }) } func TestStepParked(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("parallel_next", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.sayhi") // continue until a parked goroutine exists var parkedg *proc.G LookForParkedG: for { err := p.Continue() if _, exited := err.(proc.ErrProcessExited); exited { t.Log("could not find parked goroutine") return } assertNoError(err, t, "Continue()") gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo()") for _, g := range gs { if g.Thread == nil && g.CurrentLoc.Fn != nil && g.CurrentLoc.Fn.Name == "main.sayhi" { parkedg = g break LookForParkedG } } } t.Logf("Parked g is: %v\n", parkedg) frames, _ := parkedg.Stacktrace(20, 0) for _, frame := range frames { name := "" if frame.Call.Fn != nil { name = frame.Call.Fn.Name } t.Logf("\t%s:%d in %s (%#x)", frame.Call.File, frame.Call.Line, name, frame.Current.PC) } assertNoError(p.SwitchGoroutine(parkedg), t, "SwitchGoroutine()") p.ClearBreakpoint(bp.Addr) assertNoError(p.Step(), t, "Step()") if p.SelectedGoroutine().ID != parkedg.ID { t.Fatalf("Step did not continue on the selected goroutine, expected %d got %d", parkedg.ID, p.SelectedGoroutine().ID) } }) } func TestUnsupportedArch(t *testing.T) { ver, _ := goversion.Parse(runtime.Version()) if ver.Major < 0 || !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 6, Rev: -1}) || ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 7, Rev: -1}) { // cross compile (with -N?) works only on select versions of go return } fixturesDir := protest.FindFixturesDir() infile := filepath.Join(fixturesDir, "math.go") outfile := filepath.Join(fixturesDir, "_math_debug_386") cmd := exec.Command("go", "build", "-gcflags=-N -l", "-o", outfile, infile) for _, v := range os.Environ() { if !strings.HasPrefix(v, "GOARCH=") { cmd.Env = append(cmd.Env, v) } } cmd.Env = append(cmd.Env, "GOARCH=386") out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go build failed: %v: %v", err, string(out)) } defer os.Remove(outfile) var p *proc.Target switch testBackend { case "native": p, err = native.Launch([]string{outfile}, ".", 0, []string{}, "", [3]string{}) case "lldb": p, err = gdbserial.LLDBLaunch([]string{outfile}, ".", 0, []string{}, "", [3]string{}) default: t.Skip("test not valid for this backend") } if err == nil { p.Detach(true) t.Fatal("Launch is expected to fail, but succeeded") } if _, ok := err.(*proc.ErrUnsupportedArch); ok { // all good return } t.Fatal(err) } func TestIssue573(t *testing.T) { // calls to runtime.duffzero and runtime.duffcopy jump directly into the middle // of the function and the internal breakpoint set by StepInto may be missed. protest.AllowRecording(t) withTestProcess("issue573", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.foo") assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Step(), t, "Step() #1") assertNoError(p.Step(), t, "Step() #2") // Bug exits here. assertNoError(p.Step(), t, "Step() #3") // Third step ought to be possible; program ought not have exited. }) } func TestTestvariables2Prologue(t *testing.T) { withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { addrEntry := p.BinInfo().LookupFunc["main.main"].Entry addrPrologue := findFunctionLocation(p, t, "main.main") if addrEntry == addrPrologue { t.Fatalf("Prologue detection failed on testvariables2.go/main.main") } }) } func TestNextDeferReturnAndDirectCall(t *testing.T) { // Next should not step into a deferred function if it is called // directly, only if it is called through a panic or a deferreturn. // Here we test the case where the function is called by a deferreturn testseq("defercall", contNext, []nextTest{ {9, 10}, {10, 11}, {11, 12}, {12, 13}, {13, 28}}, "main.callAndDeferReturn", t) } func TestNextPanicAndDirectCall(t *testing.T) { // Next should not step into a deferred function if it is called // directly, only if it is called through a panic or a deferreturn. // Here we test the case where the function is called by a panic if goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { testseq("defercall", contNext, []nextTest{ {15, 16}, {16, 17}, {17, 18}, {18, 6}}, "main.callAndPanic2", t) } else { testseq("defercall", contNext, []nextTest{ {15, 16}, {16, 17}, {17, 18}, {18, 5}}, "main.callAndPanic2", t) } } func TestStepCall(t *testing.T) { testseq("testnextprog", contStep, []nextTest{ {34, 13}, {13, 14}}, "", t) } func TestStepCallPtr(t *testing.T) { // Tests that Step works correctly when calling functions with a // function pointer. if goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) && !protest.RegabiSupported() { testseq("teststepprog", contStep, []nextTest{ {9, 10}, {10, 6}, {6, 7}, {7, 11}}, "", t) } else { testseq("teststepprog", contStep, []nextTest{ {9, 10}, {10, 5}, {5, 6}, {6, 7}, {7, 11}}, "", t) } } func TestStepReturnAndPanic(t *testing.T) { // Tests that Step works correctly when returning from functions // and when a deferred function is called when panic'ing. switch { case goversion.VersionAfterOrEqual(runtime.Version(), 1, 11): testseq("defercall", contStep, []nextTest{ {17, 6}, {6, 7}, {7, 18}, {18, 6}, {6, 7}}, "", t) case goversion.VersionAfterOrEqual(runtime.Version(), 1, 10): testseq("defercall", contStep, []nextTest{ {17, 5}, {5, 6}, {6, 7}, {7, 18}, {18, 5}, {5, 6}, {6, 7}}, "", t) case goversion.VersionAfterOrEqual(runtime.Version(), 1, 9): testseq("defercall", contStep, []nextTest{ {17, 5}, {5, 6}, {6, 7}, {7, 17}, {17, 18}, {18, 5}, {5, 6}, {6, 7}}, "", t) default: testseq("defercall", contStep, []nextTest{ {17, 5}, {5, 6}, {6, 7}, {7, 18}, {18, 5}, {5, 6}, {6, 7}}, "", t) } } func TestStepDeferReturn(t *testing.T) { // Tests that Step works correctly when a deferred function is // called during a return. if goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { testseq("defercall", contStep, []nextTest{ {11, 6}, {6, 7}, {7, 12}, {12, 13}, {13, 6}, {6, 7}, {7, 13}, {13, 28}}, "", t) } else { testseq("defercall", contStep, []nextTest{ {11, 5}, {5, 6}, {6, 7}, {7, 12}, {12, 13}, {13, 5}, {5, 6}, {6, 7}, {7, 13}, {13, 28}}, "", t) } } func TestStepIgnorePrivateRuntime(t *testing.T) { // Tests that Step will ignore calls to private runtime functions // (such as runtime.convT2E in this case) switch { case goversion.VersionAfterOrEqual(runtime.Version(), 1, 17) && protest.RegabiSupported(): testseq("teststepprog", contStep, []nextTest{ {21, 13}, {13, 14}, {14, 15}, {15, 17}, {17, 22}}, "", t) case goversion.VersionAfterOrEqual(runtime.Version(), 1, 17): testseq("teststepprog", contStep, []nextTest{ {21, 14}, {14, 15}, {15, 17}, {17, 22}}, "", t) case goversion.VersionAfterOrEqual(runtime.Version(), 1, 11): testseq("teststepprog", contStep, []nextTest{ {21, 14}, {14, 15}, {15, 22}}, "", t) case goversion.VersionAfterOrEqual(runtime.Version(), 1, 10): testseq("teststepprog", contStep, []nextTest{ {21, 13}, {13, 14}, {14, 15}, {15, 22}}, "", t) case goversion.VersionAfterOrEqual(runtime.Version(), 1, 7): testseq("teststepprog", contStep, []nextTest{ {21, 13}, {13, 14}, {14, 15}, {15, 14}, {14, 17}, {17, 22}}, "", t) default: testseq("teststepprog", contStep, []nextTest{ {21, 13}, {13, 14}, {14, 15}, {15, 17}, {17, 22}}, "", t) } } func TestIssue561(t *testing.T) { // Step fails to make progress when PC is at a CALL instruction // where a breakpoint is also set. protest.AllowRecording(t) withTestProcess("issue561", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 10) assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Step(), t, "Step()") assertLineNumber(p, t, 5, "wrong line number after Step,") }) } func TestGoroutineLables(t *testing.T) { withTestProcess("goroutineLabels", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG()") if len(g.Labels()) != 0 { t.Fatalf("No labels expected") } assertNoError(p.Continue(), t, "Continue()") g, err = proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG()") labels := g.Labels() if v := labels["k1"]; v != "v1" { t.Errorf("Unexpected label value k1=%v", v) } if v := labels["k2"]; v != "v2" { t.Errorf("Unexpected label value k2=%v", v) } }) } func TestStepOut(t *testing.T) { testseq2(t, "testnextprog", "main.helloworld", []seqTest{{contContinue, 13}, {contStepout, 35}}) } func TestStepConcurrentDirect(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("teststepconcurrent", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 37) assertNoError(p.Continue(), t, "Continue()") err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint()") for _, b := range p.Breakpoints().M { if b.Logical.Name == proc.UnrecoveredPanic { err := p.ClearBreakpoint(b.Addr) assertNoError(err, t, "ClearBreakpoint(unrecovered-panic)") break } } gid := p.SelectedGoroutine().ID seq := []int{37, 38, 13, 15, 16, 38} i := 0 count := 0 for { anyerr := false if p.SelectedGoroutine().ID != gid { t.Errorf("Step switched to different goroutine %d %d\n", gid, p.SelectedGoroutine().ID) anyerr = true } f, ln := currentLineNumber(p, t) if ln != seq[i] { if i == 1 && ln == 40 { // loop exited break } frames, err := proc.ThreadStacktrace(p.CurrentThread(), 20) if err != nil { t.Errorf("Could not get stacktrace of goroutine %d\n", p.SelectedGoroutine().ID) } else { t.Logf("Goroutine %d (thread: %d):", p.SelectedGoroutine().ID, p.CurrentThread().ThreadID()) for _, frame := range frames { t.Logf("\t%s:%d (%#x)", frame.Call.File, frame.Call.Line, frame.Current.PC) } } t.Errorf("Program did not continue at expected location (%d) %s:%d [i %d count %d]", seq[i], f, ln, i, count) anyerr = true } if anyerr { t.FailNow() } i = (i + 1) % len(seq) if i == 0 { count++ } assertNoError(p.Step(), t, "Step()") } if count != 100 { t.Fatalf("Program did not loop expected number of times: %d", count) } }) } func TestStepConcurrentPtr(t *testing.T) { skipOn(t, "broken", "freebsd") protest.AllowRecording(t) withTestProcess("teststepconcurrent", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 24) for _, b := range p.Breakpoints().M { if b.Logical.Name == proc.UnrecoveredPanic { err := p.ClearBreakpoint(b.Addr) assertNoError(err, t, "ClearBreakpoint(unrecovered-panic)") break } } kvals := map[int64]int64{} count := 0 for { err := p.Continue() _, exited := err.(proc.ErrProcessExited) if exited { break } assertNoError(err, t, "Continue()") f, ln := currentLineNumber(p, t) if ln != 24 { for _, th := range p.ThreadList() { t.Logf("thread %d stopped on breakpoint %v", th.ThreadID(), th.Breakpoint()) } curbp := p.CurrentThread().Breakpoint() t.Fatalf("Program did not continue at expected location (24): %s:%d %#x [%v] (gid %d count %d)", f, ln, currentPC(p, t), curbp, p.SelectedGoroutine().ID, count) } gid := p.SelectedGoroutine().ID kvar := evalVariable(p, t, "k") k, _ := constant.Int64Val(kvar.Value) if oldk, ok := kvals[gid]; ok { if oldk >= k { t.Fatalf("Goroutine %d did not make progress?", gid) } } kvals[gid] = k assertNoError(p.Step(), t, "Step()") for p.Breakpoints().HasSteppingBreakpoints() { if p.SelectedGoroutine().ID == gid { t.Fatalf("step did not step into function call (but internal breakpoints still active?) (%d %d)", gid, p.SelectedGoroutine().ID) } assertNoError(p.Continue(), t, "Continue()") } if p.SelectedGoroutine().ID != gid { t.Fatalf("Step switched goroutines (wanted: %d got: %d)", gid, p.SelectedGoroutine().ID) } f, ln = assertLineNumber(p, t, 13, "Step did not step into function call") count++ if count > 50 { // this test could potentially go on for 10000 cycles, since that's // too slow we cut the execution after 50 cycles break } } if count == 0 { t.Fatalf("Breakpoint never hit") } }) } func TestStepOutBreakpoint(t *testing.T) { protest.AllowRecording(t) withTestProcess("testnextprog", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 13) assertNoError(p.Continue(), t, "Continue()") p.ClearBreakpoint(bp.Addr) // StepOut should be interrupted by a breakpoint on the same goroutine. setFileBreakpoint(p, t, fixture.Source, 14) assertNoError(p.StepOut(), t, "StepOut()") assertLineNumber(p, t, 14, "wrong line number") if p.Breakpoints().HasSteppingBreakpoints() { t.Fatal("has internal breakpoints after hitting breakpoint on same goroutine") } }) } func TestNextBreakpoint(t *testing.T) { protest.AllowRecording(t) withTestProcess("testnextprog", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 34) assertNoError(p.Continue(), t, "Continue()") p.ClearBreakpoint(bp.Addr) // Next should be interrupted by a breakpoint on the same goroutine. setFileBreakpoint(p, t, fixture.Source, 14) assertNoError(p.Next(), t, "Next()") assertLineNumber(p, t, 14, "wrong line number") if p.Breakpoints().HasSteppingBreakpoints() { t.Fatal("has internal breakpoints after hitting breakpoint on same goroutine") } }) } func TestNextBreakpointKeepsSteppingBreakpoints(t *testing.T) { protest.AllowRecording(t) withTestProcess("testnextprog", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) grp.KeepSteppingBreakpoints = proc.TracepointKeepsSteppingBreakpoints bp := setFileBreakpoint(p, t, fixture.Source, 34) assertNoError(grp.Continue(), t, "Continue()") p.ClearBreakpoint(bp.Addr) // Next should be interrupted by a tracepoint on the same goroutine. bp = setFileBreakpoint(p, t, fixture.Source, 14) bp.Logical.Tracepoint = true assertNoError(grp.Next(), t, "Next()") assertLineNumber(p, t, 14, "wrong line number") if !p.Breakpoints().HasSteppingBreakpoints() { t.Fatal("does not have internal breakpoints after hitting tracepoint on same goroutine") } // Continue to complete next. assertNoError(grp.Continue(), t, "Continue()") assertLineNumber(p, t, 35, "wrong line number") if p.Breakpoints().HasSteppingBreakpoints() { t.Fatal("has internal breakpoints after completing next") } }) } func TestStepOutDefer(t *testing.T) { protest.AllowRecording(t) withTestProcess("testnextdefer", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 9) assertNoError(p.Continue(), t, "Continue()") p.ClearBreakpoint(bp.Addr) assertLineNumber(p, t, 9, "wrong line number") assertNoError(p.StepOut(), t, "StepOut()") f, l, _ := p.BinInfo().PCToLine(currentPC(p, t)) if f == fixture.Source || l == 6 { t.Fatalf("wrong location %s:%d, expected to end somewhere in runtime", f, l) } }) } func TestStepOutDeferReturnAndDirectCall(t *testing.T) { // StepOut should not step into a deferred function if it is called // directly, only if it is called through a panic. // Here we test the case where the function is called by a deferreturn testseq2(t, "defercall", "", []seqTest{ {contContinue, 11}, {contStepout, 28}}) } func TestStepInstructionOnBreakpoint(t *testing.T) { if runtime.GOARCH != "amd64" { t.Skipf("skipping since not amd64") } // StepInstruction should step one instruction forward when // PC is on a 1 byte instruction with a software breakpoint. protest.AllowRecording(t) withTestProcess("break/", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, filepath.ToSlash(filepath.Join(fixture.BuildDir, "break_amd64.s")), 4) assertNoError(p.Continue(), t, "Continue()") pc := getRegisters(p, t).PC() assertNoError(p.StepInstruction(), t, "StepInstruction()") if pc == getRegisters(p, t).PC() { t.Fatal("Could not step a single instruction") } }) } func TestStepOnCallPtrInstr(t *testing.T) { protest.AllowRecording(t) withTestProcess("teststepprog", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 10) assertNoError(p.Continue(), t, "Continue()") found := false for { _, ln := currentLineNumber(p, t) if ln != 10 { break } regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers()") pc := regs.PC() text, err := proc.Disassemble(p.Memory(), regs, p.Breakpoints(), p.BinInfo(), pc, pc+uint64(p.BinInfo().Arch.MaxInstructionLength())) assertNoError(err, t, "Disassemble()") if text[0].IsCall() { found = true break } assertNoError(p.StepInstruction(), t, "StepInstruction()") } if !found { t.Fatal("Could not find CALL instruction") } assertNoError(p.Step(), t, "Step()") if goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) && !protest.RegabiSupported() { assertLineNumber(p, t, 6, "Step continued to wrong line,") } else { assertLineNumber(p, t, 5, "Step continued to wrong line,") } }) } func TestIssue594(t *testing.T) { skipOn(t, "upstream issue", "darwin", "lldb") // debugserver will receive an EXC_BAD_ACCESS for this, at that point // there is no way to reconvert this exception into a unix signal and send // it to the process. // This is a bug in debugserver/lldb: // https://bugs.llvm.org//show_bug.cgi?id=22868 // Exceptions that aren't caused by breakpoints should be propagated // back to the target. // In particular the target should be able to cause a nil pointer // dereference panic and recover from it. protest.AllowRecording(t) withTestProcess("issue594", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") var f string var ln int if testBackend == "rr" { frame, err := findFirstNonRuntimeFrame(p) assertNoError(err, t, "findFirstNonRuntimeFrame") f, ln = frame.Current.File, frame.Current.Line } else { f, ln = currentLineNumber(p, t) } if ln != 21 { t.Fatalf("Program stopped at %s:%d, expected :21", f, ln) } }) } func TestStepOutPanicAndDirectCall(t *testing.T) { // StepOut should not step into a deferred function if it is called // directly, only if it is called through a panic. // Here we test the case where the function is called by a panic if goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { testseq2(t, "defercall", "", []seqTest{ {contContinue, 17}, {contStepout, 6}}) } else { testseq2(t, "defercall", "", []seqTest{ {contContinue, 17}, {contStepout, 5}}) } } func TestWorkDir(t *testing.T) { wd := os.TempDir() // For Darwin `os.TempDir()` returns `/tmp` which is symlink to `/private/tmp`. if runtime.GOOS == "darwin" { wd = "/private/tmp" } protest.AllowRecording(t) withTestProcessArgs("workdir", t, wd, []string{}, 0, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 14) p.Continue() v := evalVariable(p, t, "pwd") str := constant.StringVal(v.Value) if wd != str { t.Fatalf("Expected %s got %s\n", wd, str) } }) } func TestNegativeIntEvaluation(t *testing.T) { testcases := []struct { name string typ string value interface{} }{ {"ni8", "int8", int64(-5)}, {"ni16", "int16", int64(-5)}, {"ni32", "int32", int64(-5)}, } protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") for _, tc := range testcases { v := evalVariable(p, t, tc.name) if typ := v.RealType.String(); typ != tc.typ { t.Fatalf("Wrong type for variable %q: %q (expected: %q)", tc.name, typ, tc.typ) } if val, _ := constant.Int64Val(v.Value); val != tc.value { t.Fatalf("Wrong value for variable %q: %v (expected: %v)", tc.name, val, tc.value) } } }) } func TestIssue683(t *testing.T) { // Step panics when source file can not be found protest.AllowRecording(t) withTestProcess("issue683", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "First Continue()") for i := 0; i < 20; i++ { // eventually an error about the source file not being found will be // returned, the important thing is that we shouldn't panic err := p.Step() if err != nil { break } } }) } func TestIssue664(t *testing.T) { protest.AllowRecording(t) withTestProcess("issue664", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 4) assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Next(), t, "Next()") assertLineNumber(p, t, 5, "Did not continue to correct location,") }) } // Benchmarks (*Process).Continue + (*Scope).FunctionArguments func BenchmarkTrace(b *testing.B) { withTestProcess("traceperf", b, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, b, "main.PerfCheck") b.ResetTimer() for i := 0; i < b.N; i++ { assertNoError(p.Continue(), b, "Continue()") s, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, b, "Scope()") _, err = s.FunctionArguments(proc.LoadConfig{false, 0, 64, 0, 3, 0}) assertNoError(err, b, "FunctionArguments()") } b.StopTimer() }) } func TestNextInDeferReturn(t *testing.T) { // runtime.deferreturn updates the G struct in a way that for one // instruction leaves the curg._defer field non-nil but with curg._defer.fn // field being nil. // We need to deal with this without panicing. protest.AllowRecording(t) withTestProcess("defercall", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "runtime.deferreturn") assertNoError(p.Continue(), t, "First Continue()") // Set a breakpoint on the deferred function so that the following loop // can not step out of the runtime.deferreturn and all the way to the // point where the target program panics. setFunctionBreakpoint(p, t, "main.sampleFunction") for i := 0; i < 20; i++ { loc, err := p.CurrentThread().Location() assertNoError(err, t, "CurrentThread().Location()") t.Logf("at %#x %s:%d", loc.PC, loc.File, loc.Line) if loc.Fn != nil && loc.Fn.Name == "main.sampleFunction" { break } assertNoError(p.Next(), t, fmt.Sprintf("Next() %d", i)) } }) } func getg(goid int64, gs []*proc.G) *proc.G { for _, g := range gs { if g.ID == goid { return g } } return nil } func TestAttachDetach(t *testing.T) { if testBackend == "lldb" && runtime.GOOS == "linux" { bs, _ := ioutil.ReadFile("/proc/sys/kernel/yama/ptrace_scope") if bs == nil || strings.TrimSpace(string(bs)) != "0" { t.Logf("can not run TestAttachDetach: %v\n", bs) return } } if testBackend == "rr" { return } var buildFlags protest.BuildFlags if buildMode == "pie" { buildFlags |= protest.BuildModePIE } fixture := protest.BuildFixture("testnextnethttp", buildFlags) cmd := exec.Command(fixture.Path) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr assertNoError(cmd.Start(), t, "starting fixture") // wait for testnextnethttp to start listening t0 := time.Now() for { conn, err := net.Dial("tcp", "127.0.0.1:9191") if err == nil { conn.Close() break } time.Sleep(50 * time.Millisecond) if time.Since(t0) > 10*time.Second { t.Fatal("fixture did not start") } } var p *proc.Target var err error switch testBackend { case "native": p, err = native.Attach(cmd.Process.Pid, []string{}) case "lldb": path := "" if runtime.GOOS == "darwin" { path = fixture.Path } p, err = gdbserial.LLDBAttach(cmd.Process.Pid, path, []string{}) default: err = fmt.Errorf("unknown backend %q", testBackend) } assertNoError(err, t, "Attach") go func() { time.Sleep(1 * time.Second) http.Get("http://127.0.0.1:9191") }() assertNoError(p.Continue(), t, "Continue") assertLineNumber(p, t, 11, "Did not continue to correct location,") assertNoError(p.Detach(false), t, "Detach") if runtime.GOOS != "darwin" { // Debugserver sometimes will leave a zombie process after detaching, this // seems to be a bug with debugserver. resp, err := http.Get("http://127.0.0.1:9191/nobp") assertNoError(err, t, "Page request after detach") bs, err := ioutil.ReadAll(resp.Body) assertNoError(err, t, "Reading /nobp page") if out := string(bs); !strings.Contains(out, "hello, world!") { t.Fatalf("/nobp page does not contain \"hello, world!\": %q", out) } } cmd.Process.Kill() } func TestVarSum(t *testing.T) { protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") sumvar := evalVariable(p, t, "s1[0] + s1[1]") sumvarstr := constant.StringVal(sumvar.Value) if sumvarstr != "onetwo" { t.Fatalf("s1[0] + s1[1] == %q (expected \"onetwo\")", sumvarstr) } if sumvar.Len != int64(len(sumvarstr)) { t.Fatalf("sumvar.Len == %d (expected %d)", sumvar.Len, len(sumvarstr)) } }) } func TestPackageWithPathVar(t *testing.T) { protest.AllowRecording(t) withTestProcess("pkgrenames", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") evalVariable(p, t, "pkg.SomeVar") evalVariable(p, t, "pkg.SomeVar.X") }) } func TestEnvironment(t *testing.T) { protest.AllowRecording(t) os.Setenv("SOMEVAR", "bah") withTestProcess("testenv", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") v := evalVariable(p, t, "x") vv := constant.StringVal(v.Value) t.Logf("v = %q", vv) if vv != "bah" { t.Fatalf("value of v is %q (expected \"bah\")", vv) } }) } func getFrameOff(p *proc.Target, t *testing.T) int64 { frameoffvar := evalVariable(p, t, "runtime.frameoff") frameoff, _ := constant.Int64Val(frameoffvar.Value) return frameoff } func TestRecursiveNext(t *testing.T) { protest.AllowRecording(t) testcases := []nextTest{ {6, 7}, {7, 10}, {10, 11}, {11, 17}, } testseq("increment", contNext, testcases, "main.Increment", t) withTestProcess("increment", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFunctionBreakpoint(p, t, "main.Increment") assertNoError(p.Continue(), t, "Continue") err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint") assertNoError(p.Next(), t, "Next 1") assertNoError(p.Next(), t, "Next 2") assertNoError(p.Next(), t, "Next 3") frameoff0 := getFrameOff(p, t) assertNoError(p.Step(), t, "Step") frameoff1 := getFrameOff(p, t) if frameoff0 == frameoff1 { t.Fatalf("did not step into function?") } assertLineNumber(p, t, 6, "program did not continue to expected location,") assertNoError(p.Next(), t, "Next 4") assertLineNumber(p, t, 7, "program did not continue to expected location,") assertNoError(p.StepOut(), t, "StepOut") assertLineNumber(p, t, 11, "program did not continue to expected location,") frameoff2 := getFrameOff(p, t) if frameoff0 != frameoff2 { t.Fatalf("frame offset mismatch %x != %x", frameoff0, frameoff2) } }) } // TestIssue877 ensures that the environment variables starting with DYLD_ and LD_ // are passed when executing the binary on OSX via debugserver func TestIssue877(t *testing.T) { if runtime.GOOS != "darwin" && testBackend == "lldb" { return } if os.Getenv("TRAVIS") == "true" && runtime.GOOS == "darwin" { // Something changed on Travis side that makes the Go compiler fail if // DYLD_LIBRARY_PATH is set. t.Skip("broken") } const envval = "/usr/local/lib" os.Setenv("DYLD_LIBRARY_PATH", envval) withTestProcess("issue877", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") v := evalVariable(p, t, "dyldenv") vv := constant.StringVal(v.Value) t.Logf("v = %q", vv) if vv != envval { t.Fatalf("value of v is %q (expected %q)", vv, envval) } }) } func TestIssue893(t *testing.T) { // Test what happens when next is called immediately after launching the // executable, acceptable behaviors are: (a) no error, (b) no source at PC // error, (c) program runs to completion protest.AllowRecording(t) withTestProcess("increment", t, func(p *proc.Target, fixture protest.Fixture) { err := p.Next() if err == nil { return } if _, ok := err.(*frame.ErrNoFDEForPC); ok { return } if _, ok := err.(*proc.ErrNoSourceForPC); ok { return } if _, ok := err.(proc.ErrProcessExited); ok { return } assertNoError(err, t, "Next") }) } func TestStepInstructionNoGoroutine(t *testing.T) { protest.AllowRecording(t) withTestProcess("increment", t, func(p *proc.Target, fixture protest.Fixture) { // Call StepInstruction immediately after launching the program, it should // work even though no goroutine is selected. assertNoError(p.StepInstruction(), t, "StepInstruction") }) } func TestIssue871(t *testing.T) { protest.AllowRecording(t) withTestProcess("issue871", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue") var scope *proc.EvalScope var err error if testBackend == "rr" { var frame proc.Stackframe frame, err = findFirstNonRuntimeFrame(p) if err == nil { scope = proc.FrameToScope(p, p.Memory(), nil, frame) } } else { scope, err = proc.GoroutineScope(p, p.CurrentThread()) } assertNoError(err, t, "scope") locals, err := scope.LocalVariables(normalLoadConfig) assertNoError(err, t, "LocalVariables") foundA, foundB := false, false for _, v := range locals { t.Logf("local %v", v) switch v.Name { case "a": foundA = true if v.Flags&proc.VariableEscaped == 0 { t.Errorf("variable a not flagged as escaped") } case "b": foundB = true } } if !foundA { t.Errorf("variable a not found") } if !foundB { t.Errorf("variable b not found") } }) } func TestShadowedFlag(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 9, Rev: -1}) { return } withTestProcess("testshadow", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") locals, err := scope.LocalVariables(normalLoadConfig) assertNoError(err, t, "LocalVariables") foundShadowed := false foundNonShadowed := false for _, v := range locals { if v.Flags&proc.VariableShadowed != 0 { if v.Name != "a" { t.Errorf("wrong shadowed variable %s", v.Name) } foundShadowed = true if n, _ := constant.Int64Val(v.Value); n != 0 { t.Errorf("wrong value for shadowed variable a: %d", n) } } else { if v.Name != "a" { t.Errorf("wrong non-shadowed variable %s", v.Name) } foundNonShadowed = true if n, _ := constant.Int64Val(v.Value); n != 1 { t.Errorf("wrong value for non-shadowed variable a: %d", n) } } } if !foundShadowed { t.Error("could not find any shadowed variable") } if !foundNonShadowed { t.Error("could not find any non-shadowed variable") } }) } func TestAttachStripped(t *testing.T) { if testBackend == "lldb" && runtime.GOOS == "linux" { bs, _ := ioutil.ReadFile("/proc/sys/kernel/yama/ptrace_scope") if bs == nil || strings.TrimSpace(string(bs)) != "0" { t.Logf("can not run TestAttachStripped: %v\n", bs) return } } if testBackend == "rr" { return } if runtime.GOOS == "darwin" { t.Log("-s does not produce stripped executables on macOS") return } if buildMode != "" { t.Skip("not enabled with buildmode=PIE") } fixture := protest.BuildFixture("testnextnethttp", protest.LinkStrip) cmd := exec.Command(fixture.Path) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr assertNoError(cmd.Start(), t, "starting fixture") // wait for testnextnethttp to start listening t0 := time.Now() for { conn, err := net.Dial("tcp", "127.0.0.1:9191") if err == nil { conn.Close() break } time.Sleep(50 * time.Millisecond) if time.Since(t0) > 10*time.Second { t.Fatal("fixture did not start") } } var p *proc.Target var err error switch testBackend { case "native": p, err = native.Attach(cmd.Process.Pid, []string{}) case "lldb": path := "" if runtime.GOOS == "darwin" { path = fixture.Path } p, err = gdbserial.LLDBAttach(cmd.Process.Pid, path, []string{}) default: t.Fatalf("unknown backend %q", testBackend) } t.Logf("error is %v", err) if err == nil { p.Detach(true) t.Fatalf("expected error after attach, got nothing") } else { cmd.Process.Kill() } os.Remove(fixture.Path) } func TestIssue844(t *testing.T) { // Conditional breakpoints should not prevent next from working if their // condition isn't met. withTestProcess("nextcond", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 9) condbp := setFileBreakpoint(p, t, fixture.Source, 10) condbp.UserBreaklet().Cond = &ast.BinaryExpr{ Op: token.EQL, X: &ast.Ident{Name: "n"}, Y: &ast.BasicLit{Kind: token.INT, Value: "11"}, } assertNoError(p.Continue(), t, "Continue") assertNoError(p.Next(), t, "Next") assertLineNumber(p, t, 10, "continued to wrong location,") }) } func logStacktrace(t *testing.T, p *proc.Target, frames []proc.Stackframe) { w := tabwriter.NewWriter(os.Stderr, 0, 0, 3, ' ', 0) fmt.Fprintf(w, "\n%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t\n", "Call PC", "Frame Offset", "Frame Pointer Offset", "PC", "Return", "Function", "Location", "Top Defer", "Defers") for j := range frames { name := "?" if frames[j].Current.Fn != nil { name = frames[j].Current.Fn.Name } if frames[j].Call.Fn != nil && frames[j].Current.Fn != frames[j].Call.Fn { name = fmt.Sprintf("%s inlined in %s", frames[j].Call.Fn.Name, frames[j].Current.Fn.Name) } topmostdefer := "" if frames[j].TopmostDefer != nil { _, _, fn := frames[j].TopmostDefer.DeferredFunc(p) fnname := "" if fn != nil { fnname = fn.Name } topmostdefer = fmt.Sprintf("%#x %s", frames[j].TopmostDefer.DwrapPC, fnname) } defers := "" for deferIdx, _defer := range frames[j].Defers { _, _, fn := _defer.DeferredFunc(p) fnname := "" if fn != nil { fnname = fn.Name } defers += fmt.Sprintf("%d %#x %s |", deferIdx, _defer.DwrapPC, fnname) } frame := frames[j] fmt.Fprintf(w, "%#x\t%#x\t%#x\t%#x\t%#x\t%s\t%s:%d\t%s\t%s\t\n", frame.Call.PC, frame.FrameOffset(), frame.FramePointerOffset(), frame.Current.PC, frame.Ret, name, filepath.Base(frame.Call.File), frame.Call.Line, topmostdefer, defers) } w.Flush() } // stacktraceCheck checks that all the functions listed in tc appear in // frames in the same order. // Checks that all the functions in tc starting with "C." or with "!" are in // a systemstack frame. // Returns a slice m where m[i] is the index in frames of the function tc[i] // or nil if any check fails. func stacktraceCheck(t *testing.T, tc []string, frames []proc.Stackframe) []int { m := make([]int, len(tc)) i, j := 0, 0 for i < len(tc) { tcname := tc[i] tcsystem := strings.HasPrefix(tcname, "C.") if tcname[0] == '!' { tcsystem = true tcname = tcname[1:] } for j < len(frames) { name := "?" if frames[j].Current.Fn != nil { name = frames[j].Current.Fn.Name } if name == tcname { m[i] = j if tcsystem != frames[j].SystemStack { t.Logf("system stack check failed for frame %d (expected %v got %v)", j, tcsystem, frames[j].SystemStack) t.Logf("expected: %v\n", tc) return nil } break } j++ } if j >= len(frames) { t.Logf("couldn't find frame %d %s", i, tc) t.Logf("expected: %v\n", tc) return nil } i++ } return m } func frameInFile(frame proc.Stackframe, file string) bool { for _, loc := range []proc.Location{frame.Current, frame.Call} { if !strings.HasSuffix(loc.File, file) && !strings.HasSuffix(loc.File, "/"+file) && !strings.HasSuffix(loc.File, "\\"+file) { return false } if loc.Line <= 0 { return false } } return true } func TestCgoStacktrace(t *testing.T) { if runtime.GOOS == "windows" { ver, _ := goversion.Parse(runtime.Version()) if ver.Major > 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 9, Rev: -1}) { t.Skip("disabled on windows with go before version 1.9") } } if runtime.GOOS == "darwin" { ver, _ := goversion.Parse(runtime.Version()) if ver.Major > 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 8, Rev: -1}) { t.Skip("disabled on macOS with go before version 1.8") } } skipOn(t, "broken - cgo stacktraces", "386") protest.MustHaveCgo(t) // Tests that: // a) we correctly identify the goroutine while we are executing cgo code // b) that we can stitch together the system stack (where cgo code // executes) and the normal goroutine stack // Each test case describes how the stack trace should appear after a // continue. The first function on each test case is the topmost function // that should be found on the stack, the actual stack trace can have more // frame than those listed here but all the frames listed must appear in // the specified order. testCases := [][]string{ []string{"main.main"}, []string{"C.helloworld_pt2", "C.helloworld", "main.main"}, []string{"main.helloWorldS", "main.helloWorld", "C.helloworld_pt2", "C.helloworld", "main.main"}, []string{"C.helloworld_pt4", "C.helloworld_pt3", "main.helloWorldS", "main.helloWorld", "C.helloworld_pt2", "C.helloworld", "main.main"}, []string{"main.helloWorld2", "C.helloworld_pt4", "C.helloworld_pt3", "main.helloWorldS", "main.helloWorld", "C.helloworld_pt2", "C.helloworld", "main.main"}} var gid int64 frameOffs := map[string]int64{} framePointerOffs := map[string]int64{} withTestProcess("cgostacktest/", t, func(p *proc.Target, fixture protest.Fixture) { for itidx, tc := range testCases { t.Logf("iteration step %d", itidx) assertNoError(p.Continue(), t, fmt.Sprintf("Continue at iteration step %d", itidx)) g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, fmt.Sprintf("GetG at iteration step %d", itidx)) if itidx == 0 { gid = g.ID } else { if gid != g.ID { t.Fatalf("wrong goroutine id at iteration step %d (expected %d got %d)", itidx, gid, g.ID) } } frames, err := g.Stacktrace(100, 0) assertNoError(err, t, fmt.Sprintf("Stacktrace at iteration step %d", itidx)) logStacktrace(t, p, frames) m := stacktraceCheck(t, tc, frames) mismatch := (m == nil) for i, j := range m { if strings.HasPrefix(tc[i], "C.hellow") { if !frameInFile(frames[j], "hello.c") { t.Logf("position in %q is %s:%d (call %s:%d)", tc[i], frames[j].Current.File, frames[j].Current.Line, frames[j].Call.File, frames[j].Call.Line) mismatch = true break } } if frameOff, ok := frameOffs[tc[i]]; ok { if frameOff != frames[j].FrameOffset() { t.Logf("frame %s offset mismatch", tc[i]) } if framePointerOffs[tc[i]] != frames[j].FramePointerOffset() { t.Logf("frame %s pointer offset mismatch, expected: %#v actual: %#v", tc[i], framePointerOffs[tc[i]], frames[j].FramePointerOffset()) } } else { frameOffs[tc[i]] = frames[j].FrameOffset() framePointerOffs[tc[i]] = frames[j].FramePointerOffset() } } // also check that ThreadStacktrace produces the same list of frames threadFrames, err := proc.ThreadStacktrace(p.CurrentThread(), 100) assertNoError(err, t, fmt.Sprintf("ThreadStacktrace at iteration step %d", itidx)) if len(threadFrames) != len(frames) { mismatch = true } else { for j := range frames { if frames[j].Current.File != threadFrames[j].Current.File || frames[j].Current.Line != threadFrames[j].Current.Line { t.Logf("stack mismatch between goroutine stacktrace and thread stacktrace") t.Logf("thread stacktrace:") logStacktrace(t, p, threadFrames) mismatch = true break } } } if mismatch { t.Fatal("see previous loglines") } } }) } func TestCgoSources(t *testing.T) { if runtime.GOOS == "windows" { ver, _ := goversion.Parse(runtime.Version()) if ver.Major > 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 9, Rev: -1}) { t.Skip("disabled on windows with go before version 1.9") } } if runtime.GOARCH == "386" { t.Skip("cgo stacktraces not supported on i386 for now") } protest.MustHaveCgo(t) withTestProcess("cgostacktest/", t, func(p *proc.Target, fixture protest.Fixture) { sources := p.BinInfo().Sources for _, needle := range []string{"main.go", "hello.c"} { found := false for _, k := range sources { if strings.HasSuffix(k, needle) || strings.HasSuffix(k, "/"+needle) || strings.HasSuffix(k, "\\"+needle) { found = true break } } if !found { t.Errorf("File %s not found", needle) } } }) } func TestSystemstackStacktrace(t *testing.T) { // check that we can follow a stack switch initiated by runtime.systemstack() withTestProcess("panic", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "runtime.startpanic_m") assertNoError(p.Continue(), t, "first continue") assertNoError(p.Continue(), t, "second continue") g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG") frames, err := g.Stacktrace(100, 0) assertNoError(err, t, "stacktrace") logStacktrace(t, p, frames) m := stacktraceCheck(t, []string{"!runtime.startpanic_m", "runtime.gopanic", "main.main"}, frames) if m == nil { t.Fatal("see previous loglines") } }) } func TestSystemstackOnRuntimeNewstack(t *testing.T) { // The bug being tested here manifests as follows: // - set a breakpoint somewhere or interrupt the program with Ctrl-C // - try to look at stacktraces of other goroutines // If one of the other goroutines is resizing its own stack the stack // command won't work for it. withTestProcess("binarytrees", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "first continue") g, err := proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG") mainGoroutineID := g.ID setFunctionBreakpoint(p, t, "runtime.newstack") for { assertNoError(p.Continue(), t, "second continue") g, err = proc.GetG(p.CurrentThread()) assertNoError(err, t, "GetG") if g.ID == mainGoroutineID { break } } frames, err := g.Stacktrace(100, 0) assertNoError(err, t, "stacktrace") logStacktrace(t, p, frames) m := stacktraceCheck(t, []string{"!runtime.newstack", "main.main"}, frames) if m == nil { t.Fatal("see previous loglines") } }) } func TestIssue1034(t *testing.T) { skipOn(t, "broken - cgo stacktraces", "386") protest.MustHaveCgo(t) // The external linker on macOS produces an abbrev for DW_TAG_subprogram // without the "has children" flag, we should support this. withTestProcess("cgostacktest/", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "Continue()") frames, err := p.SelectedGoroutine().Stacktrace(10, 0) assertNoError(err, t, "Stacktrace") scope := proc.FrameToScope(p, p.Memory(), nil, frames[2:]...) args, _ := scope.FunctionArguments(normalLoadConfig) assertNoError(err, t, "FunctionArguments()") if len(args) > 0 { t.Fatalf("wrong number of arguments for frame %v (%d)", frames[2], len(args)) } }) } func TestIssue1008(t *testing.T) { skipOn(t, "broken - cgo stacktraces", "386") protest.MustHaveCgo(t) // The external linker on macOS inserts "end of sequence" extended opcodes // in debug_line. which we should support correctly. withTestProcess("cgostacktest/", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "Continue()") loc, err := p.CurrentThread().Location() assertNoError(err, t, "CurrentThread().Location()") t.Logf("location %v\n", loc) if !strings.HasSuffix(loc.File, "/main.go") { t.Errorf("unexpected location %s:%d\n", loc.File, loc.Line) } if loc.Line > 31 { t.Errorf("unexpected location %s:%d (file only has 30 lines)\n", loc.File, loc.Line) } }) } func testDeclLineCount(t *testing.T, p *proc.Target, lineno int, tgtvars []string) { sort.Strings(tgtvars) assertLineNumber(p, t, lineno, "Program did not continue to correct next location") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, fmt.Sprintf("GoroutineScope (:%d)", lineno)) vars, err := scope.Locals(0) assertNoError(err, t, fmt.Sprintf("Locals (:%d)", lineno)) if len(vars) != len(tgtvars) { t.Fatalf("wrong number of variables %d (:%d)", len(vars), lineno) } outvars := make([]string, len(vars)) for i, v := range vars { outvars[i] = v.Name } sort.Strings(outvars) for i := range outvars { if tgtvars[i] != outvars[i] { t.Fatalf("wrong variables, got: %q expected %q\n", outvars, tgtvars) } } } func TestDeclLine(t *testing.T) { ver, _ := goversion.Parse(runtime.Version()) if ver.Major > 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { t.Skip("go 1.9 and prior versions do not emit DW_AT_decl_line") } withTestProcess("decllinetest", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 8) setFileBreakpoint(p, t, fixture.Source, 9) setFileBreakpoint(p, t, fixture.Source, 10) setFileBreakpoint(p, t, fixture.Source, 11) setFileBreakpoint(p, t, fixture.Source, 14) assertNoError(p.Continue(), t, "Continue 1") if goversion.VersionAfterOrEqual(runtime.Version(), 1, 15) { testDeclLineCount(t, p, 8, []string{}) } else { testDeclLineCount(t, p, 8, []string{"a"}) } assertNoError(p.Continue(), t, "Continue 2") testDeclLineCount(t, p, 9, []string{"a"}) assertNoError(p.Continue(), t, "Continue 3") if goversion.VersionAfterOrEqual(runtime.Version(), 1, 15) { testDeclLineCount(t, p, 10, []string{"a"}) } else { testDeclLineCount(t, p, 10, []string{"a", "b"}) } assertNoError(p.Continue(), t, "Continue 4") testDeclLineCount(t, p, 11, []string{"a", "b"}) assertNoError(p.Continue(), t, "Continue 5") testDeclLineCount(t, p, 14, []string{"a", "b"}) }) } func TestIssue1137(t *testing.T) { withTestProcess("dotpackagesiface", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") v := evalVariable(p, t, "iface") assertNoError(v.Unreadable, t, "iface unreadable") v2 := evalVariable(p, t, "iface2") assertNoError(v2.Unreadable, t, "iface2 unreadable") }) } func TestIssue1101(t *testing.T) { // If a breakpoint is hit close to process death on a thread that isn't the // group leader the process could die while we are trying to stop it. // // This can be easily reproduced by having the goroutine that's executing // main.main (which will almost always run on the thread group leader) wait // for a second goroutine before exiting, then setting a breakpoint on the // second goroutine and stepping through it (see TestIssue1101 in // proc_test.go). // // When stepping over the return instruction of main.f the deferred // wg.Done() call will be executed which will cause the main goroutine to // resume and proceed to exit. Both the temporary breakpoint on wg.Done and // the temporary breakpoint on the return address of main.f will be in // close proximity to main.main calling os.Exit() and causing the death of // the thread group leader. withTestProcess("issue1101", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.f") assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Next(), t, "Next() 1") assertNoError(p.Next(), t, "Next() 2") lastCmd := "Next() 3" exitErr := p.Next() if exitErr == nil { lastCmd = "final Continue()" exitErr = p.Continue() } if pexit, exited := exitErr.(proc.ErrProcessExited); exited { if pexit.Status != 2 && testBackend != "lldb" && (runtime.GOOS != "linux" || runtime.GOARCH != "386") { // Looks like there's a bug with debugserver on macOS that sometimes // will report exit status 0 instead of the proper exit status. // // Also it seems that sometimes on linux/386 we will not receive the // exit status. This happens if the process exits at the same time as it // receives a signal. t.Fatalf("process exited status %d (expected 2)", pexit.Status) } } else { assertNoError(exitErr, t, lastCmd) t.Fatalf("process did not exit after %s", lastCmd) } }) } func TestIssue1145(t *testing.T) { withTestProcess("sleep", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) setFileBreakpoint(p, t, fixture.Source, 18) assertNoError(grp.Continue(), t, "Continue()") resumeChan := make(chan struct{}, 1) grp.ResumeNotify(resumeChan) go func() { <-resumeChan time.Sleep(100 * time.Millisecond) grp.RequestManualStop() }() assertNoError(grp.Next(), t, "Next()") if p.Breakpoints().HasSteppingBreakpoints() { t.Fatal("has internal breakpoints after manual stop request") } }) } func TestHaltKeepsSteppingBreakpoints(t *testing.T) { withTestProcess("sleep", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) grp.KeepSteppingBreakpoints = proc.HaltKeepsSteppingBreakpoints setFileBreakpoint(p, t, fixture.Source, 18) assertNoError(grp.Continue(), t, "Continue()") resumeChan := make(chan struct{}, 1) grp.ResumeNotify(resumeChan) go func() { <-resumeChan time.Sleep(100 * time.Millisecond) grp.RequestManualStop() }() assertNoError(grp.Next(), t, "Next()") if !p.Breakpoints().HasSteppingBreakpoints() { t.Fatal("does not have internal breakpoints after manual stop request") } }) } func TestDisassembleGlobalVars(t *testing.T) { skipOn(t, "broken - global variable symbolication", "arm64") // On ARM64 symLookup can't look up variables due to how they are loaded, see issue #1778 // On 386 linux when pie, the genered code use __x86.get_pc_thunk to ensure position-independent. // Locate global variable by // `CALL __x86.get_pc_thunk.ax(SB) 0xb0f7f // LEAL 0xc0a19(AX), AX` // dynamically. if runtime.GOARCH == "386" && runtime.GOOS == "linux" && buildMode == "pie" { t.Skip("On 386 linux when pie, symLookup can't look up global variables") } withTestProcess("teststepconcurrent", t, func(p *proc.Target, fixture protest.Fixture) { mainfn := p.BinInfo().LookupFunc["main.main"] regs, _ := p.CurrentThread().Registers() text, err := proc.Disassemble(p.Memory(), regs, p.Breakpoints(), p.BinInfo(), mainfn.Entry, mainfn.End) assertNoError(err, t, "Disassemble") found := false for i := range text { if strings.Index(text[i].Text(proc.IntelFlavour, p.BinInfo()), "main.v") > 0 { found = true break } } if !found { t.Fatalf("could not find main.v reference in disassembly") } }) } func checkFrame(frame proc.Stackframe, fnname, file string, line int, inlined bool) error { if frame.Call.Fn == nil || frame.Call.Fn.Name != fnname { return fmt.Errorf("wrong function name: %s", fnname) } if file != "" { if frame.Call.File != file || frame.Call.Line != line { return fmt.Errorf("wrong file:line %s:%d", frame.Call.File, frame.Call.Line) } } if frame.Inlined != inlined { if inlined { return fmt.Errorf("not inlined") } return fmt.Errorf("inlined") } return nil } func TestAllPCsForFileLines(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } withTestProcessArgs("testinline", t, ".", []string{}, protest.EnableInlining, func(p *proc.Target, fixture protest.Fixture) { l2pcs := p.BinInfo().AllPCsForFileLines(fixture.Source, []int{7, 20}) if len(l2pcs) != 2 { t.Fatalf("expected two map entries for %s:{%d,%d} (got %d: %v)", fixture.Source, 7, 20, len(l2pcs), l2pcs) } pcs := l2pcs[20] if len(pcs) < 1 { t.Fatalf("expected at least one location for %s:%d (got %d: %#x)", fixture.Source, 20, len(pcs), pcs) } pcs = l2pcs[7] if len(pcs) < 2 { t.Fatalf("expected at least two locations for %s:%d (got %d: %#x)", fixture.Source, 7, len(pcs), pcs) } }) } func TestInlinedStacktraceAndVariables(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } firstCallCheck := &scopeCheck{ line: 7, ok: false, varChecks: []varCheck{ varCheck{ name: "a", typ: "int", kind: reflect.Int, hasVal: true, intVal: 3, }, varCheck{ name: "z", typ: "int", kind: reflect.Int, hasVal: true, intVal: 9, }, }, } secondCallCheck := &scopeCheck{ line: 7, ok: false, varChecks: []varCheck{ varCheck{ name: "a", typ: "int", kind: reflect.Int, hasVal: true, intVal: 4, }, varCheck{ name: "z", typ: "int", kind: reflect.Int, hasVal: true, intVal: 16, }, }, } withTestProcessArgs("testinline", t, ".", []string{}, protest.EnableInlining, func(p *proc.Target, fixture protest.Fixture) { pcs, err := proc.FindFileLocation(p, fixture.Source, 7) assertNoError(err, t, "LineToPC") if len(pcs) < 2 { t.Fatalf("expected at least two locations for %s:%d (got %d: %#x)", fixture.Source, 7, len(pcs), pcs) } for _, pc := range pcs { t.Logf("setting breakpoint at %#x\n", pc) _, err := p.SetBreakpoint(0, pc, proc.UserBreakpoint, nil) assertNoError(err, t, fmt.Sprintf("SetBreakpoint(%#x)", pc)) } // first inlined call assertNoError(p.Continue(), t, "Continue") frames, err := proc.ThreadStacktrace(p.CurrentThread(), 20) assertNoError(err, t, "ThreadStacktrace") t.Logf("Stacktrace:\n") for i := range frames { t.Logf("\t%s at %s:%d (%#x)\n", frames[i].Call.Fn.Name, frames[i].Call.File, frames[i].Call.Line, frames[i].Current.PC) } if err := checkFrame(frames[0], "main.inlineThis", fixture.Source, 7, true); err != nil { t.Fatalf("Wrong frame 0: %v", err) } if err := checkFrame(frames[1], "main.main", fixture.Source, 18, false); err != nil { t.Fatalf("Wrong frame 1: %v", err) } if avar, _ := constant.Int64Val(evalVariable(p, t, "a").Value); avar != 3 { t.Fatalf("value of 'a' variable is not 3 (%d)", avar) } if zvar, _ := constant.Int64Val(evalVariable(p, t, "z").Value); zvar != 9 { t.Fatalf("value of 'z' variable is not 9 (%d)", zvar) } if _, ok := firstCallCheck.checkLocalsAndArgs(p, t); !ok { t.Fatalf("exiting for past errors") } // second inlined call assertNoError(p.Continue(), t, "Continue") frames, err = proc.ThreadStacktrace(p.CurrentThread(), 20) assertNoError(err, t, "ThreadStacktrace (2)") t.Logf("Stacktrace 2:\n") for i := range frames { t.Logf("\t%s at %s:%d (%#x)\n", frames[i].Call.Fn.Name, frames[i].Call.File, frames[i].Call.Line, frames[i].Current.PC) } if err := checkFrame(frames[0], "main.inlineThis", fixture.Source, 7, true); err != nil { t.Fatalf("Wrong frame 0: %v", err) } if err := checkFrame(frames[1], "main.main", fixture.Source, 19, false); err != nil { t.Fatalf("Wrong frame 1: %v", err) } if avar, _ := constant.Int64Val(evalVariable(p, t, "a").Value); avar != 4 { t.Fatalf("value of 'a' variable is not 3 (%d)", avar) } if zvar, _ := constant.Int64Val(evalVariable(p, t, "z").Value); zvar != 16 { t.Fatalf("value of 'z' variable is not 9 (%d)", zvar) } if bvar, err := evalVariableOrError(p, "b"); err == nil { t.Fatalf("expected error evaluating 'b', but it succeeded instead: %v", bvar) } if _, ok := secondCallCheck.checkLocalsAndArgs(p, t); !ok { t.Fatalf("exiting for past errors") } }) } func TestInlineStep(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } testseq2Args(".", []string{}, protest.EnableInlining, t, "testinline", "", []seqTest{ {contContinue, 18}, {contStep, 6}, {contStep, 7}, {contStep, 18}, {contStep, 19}, }) } func TestInlineNext(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } testseq2Args(".", []string{}, protest.EnableInlining, t, "testinline", "", []seqTest{ {contContinue, 18}, {contStep, 6}, {contNext, 7}, {contNext, 18}, {contNext, 19}, }) } func TestInlineStepOver(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } testseq2Args(".", []string{}, protest.EnableInlining, t, "testinline", "", []seqTest{ {contContinue, 18}, {contNext, 19}, {contNext, 20}, }) } func TestInlineStepOut(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } testseq2Args(".", []string{}, protest.EnableInlining, t, "testinline", "", []seqTest{ {contContinue, 18}, {contStep, 6}, {contStepout, 18}, }) } func TestInlineFunctionList(t *testing.T) { // We should be able to list all functions, even inlined ones. if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } withTestProcessArgs("testinline", t, ".", []string{}, protest.EnableInlining|protest.EnableOptimization, func(p *proc.Target, fixture protest.Fixture) { var found bool for _, fn := range p.BinInfo().Functions { if strings.Contains(fn.Name, "inlineThis") { found = true break } } if !found { t.Fatal("inline function not returned") } }) } func TestInlineBreakpoint(t *testing.T) { // We should be able to set a breakpoint on the call site of an inlined function. if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } withTestProcessArgs("testinline", t, ".", []string{}, protest.EnableInlining|protest.EnableOptimization, func(p *proc.Target, fixture protest.Fixture) { pcs, err := proc.FindFileLocation(p, fixture.Source, 17) if err != nil { t.Fatal(err) } t.Logf("%#v\n", pcs) if len(pcs) != 1 { t.Fatalf("unable to get PC for inlined function call: %v", pcs) } fn := p.BinInfo().PCToFunc(pcs[0]) expectedFn := "main.main" if fn.Name != expectedFn { t.Fatalf("incorrect function returned, expected %s, got %s", expectedFn, fn.Name) } _, err = p.SetBreakpoint(0, pcs[0], proc.UserBreakpoint, nil) if err != nil { t.Fatalf("unable to set breakpoint: %v", err) } }) } func TestDoubleInlineBreakpoint(t *testing.T) { // We should be able to set a breakpoint on an inlined function that // has been inlined within an inlined function. if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { // Versions of go before 1.10 do not have DWARF information for inlined calls t.Skip("inlining not supported") } withTestProcessArgs("doubleinline", t, ".", []string{}, protest.EnableInlining|protest.EnableOptimization, func(p *proc.Target, fixture protest.Fixture) { fns, err := p.BinInfo().FindFunction("main.(*Rectangle).Height") if err != nil { t.Fatal(err) } if len(fns) != 1 { t.Fatalf("expected one function for Height, got %d", len(fns)) } if len(fns[0].InlinedCalls) != 1 { t.Fatalf("expected one inlined call for Height, got %d", len(fns[0].InlinedCalls)) } }) } func TestIssue951(t *testing.T) { if ver, _ := goversion.Parse(runtime.Version()); ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 9, Rev: -1}) { t.Skip("scopes not implemented in <=go1.8") } withTestProcess("issue951", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") args, err := scope.FunctionArguments(normalLoadConfig) assertNoError(err, t, "FunctionArguments") t.Logf("%#v", args[0]) if args[0].Flags&proc.VariableShadowed == 0 { t.Error("argument is not shadowed") } vars, err := scope.LocalVariables(normalLoadConfig) assertNoError(err, t, "LocalVariables") shadowed, notShadowed := 0, 0 for i := range vars { t.Logf("var %d: %#v\n", i, vars[i]) if vars[i].Flags&proc.VariableShadowed != 0 { shadowed++ } else { notShadowed++ } } if shadowed != 1 || notShadowed != 1 { t.Errorf("Wrong number of shadowed/non-shadowed local variables: %d %d", shadowed, notShadowed) } }) } func TestDWZCompression(t *testing.T) { // If dwz is not available in the system, skip this test if _, err := exec.LookPath("dwz"); err != nil { t.Skip("dwz not installed") } withTestProcessArgs("dwzcompression", t, ".", []string{}, protest.EnableDWZCompression, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "C.fortytwo") assertNoError(p.Continue(), t, "first Continue()") val := evalVariable(p, t, "stdin") if val.RealType == nil { t.Errorf("Can't find type for \"stdin\" global variable") } }) } func TestMapLoadConfigWithReslice(t *testing.T) { // Check that load configuration is respected for resliced maps. withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { zolotovLoadCfg := proc.LoadConfig{FollowPointers: true, MaxStructFields: -1, MaxVariableRecurse: 3, MaxStringLen: 10, MaxArrayValues: 10} assertNoError(p.Continue(), t, "First Continue()") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") m1, err := scope.EvalExpression("m1", zolotovLoadCfg) assertNoError(err, t, "EvalVariable") t.Logf("m1 returned children %d (%d)", len(m1.Children)/2, m1.Len) expr := fmt.Sprintf("(*(*%q)(%d))[10:]", m1.DwarfType.String(), m1.Addr) t.Logf("expr %q\n", expr) m1cont, err := scope.EvalExpression(expr, zolotovLoadCfg) assertNoError(err, t, "EvalVariable") t.Logf("m1cont returned children %d", len(m1cont.Children)/2) if len(m1cont.Children) != 20 { t.Fatalf("wrong number of children returned %d\n", len(m1cont.Children)/2) } }) } func TestStepOutReturn(t *testing.T) { ver, _ := goversion.Parse(runtime.Version()) if ver.Major >= 0 && !ver.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 10, Rev: -1}) { t.Skip("return variables aren't marked on 1.9 or earlier") } withTestProcess("stepoutret", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.stepout") assertNoError(p.Continue(), t, "Continue") assertNoError(p.StepOut(), t, "StepOut") ret := p.CurrentThread().Common().ReturnValues(normalLoadConfig) if len(ret) != 2 { t.Fatalf("wrong number of return values %v", ret) } stridx := 0 numidx := 1 if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 12) { // in 1.11 and earlier the order of return values in DWARF is // unspecified, in 1.11 and later it follows the order of definition // specified by the user for i := range ret { if ret[i].Name == "str" { stridx = i numidx = 1 - i break } } } if ret[stridx].Name != "str" { t.Fatalf("(str) bad return value name %s", ret[stridx].Name) } if ret[stridx].Kind != reflect.String { t.Fatalf("(str) bad return value kind %v", ret[stridx].Kind) } if s := constant.StringVal(ret[stridx].Value); s != "return 47" { t.Fatalf("(str) bad return value %q", s) } if ret[numidx].Name != "num" { t.Fatalf("(num) bad return value name %s", ret[numidx].Name) } if ret[numidx].Kind != reflect.Int { t.Fatalf("(num) bad return value kind %v", ret[numidx].Kind) } if n, _ := constant.Int64Val(ret[numidx].Value); n != 48 { t.Fatalf("(num) bad return value %d", n) } }) } func TestOptimizationCheck(t *testing.T) { withTestProcess("continuetestprog", t, func(p *proc.Target, fixture protest.Fixture) { fn := p.BinInfo().LookupFunc["main.main"] if fn.Optimized() { t.Fatalf("main.main is optimized") } }) if goversion.VersionAfterOrEqual(runtime.Version(), 1, 10) { withTestProcessArgs("continuetestprog", t, ".", []string{}, protest.EnableOptimization|protest.EnableInlining, func(p *proc.Target, fixture protest.Fixture) { fn := p.BinInfo().LookupFunc["main.main"] if !fn.Optimized() { t.Fatalf("main.main is not optimized") } }) } } func TestIssue1264(t *testing.T) { // It should be possible to set a breakpoint condition that consists only // of evaluating a single boolean variable. withTestProcess("issue1264", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 8) bp.UserBreaklet().Cond = &ast.Ident{Name: "equalsTwo"} assertNoError(p.Continue(), t, "Continue()") assertLineNumber(p, t, 8, "after continue") }) } func TestReadDefer(t *testing.T) { withTestProcess("deferstack", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue") frames, err := p.SelectedGoroutine().Stacktrace(10, proc.StacktraceReadDefers) assertNoError(err, t, "Stacktrace") logStacktrace(t, p, frames) examples := []struct { frameIdx int topmostDefer string defers []string }{ // main.call3 (defers nothing, topmost defer main.f2) {0, "main.f2", []string{}}, // main.call2 (defers main.f2, main.f3, topmost defer main.f2) {1, "main.f2", []string{"main.f2", "main.f3"}}, // main.call1 (defers main.f1, main.f2, topmost defer main.f1) {2, "main.f1", []string{"main.f1", "main.f2"}}, // main.main (defers nothing) {3, "", []string{}}} defercheck := func(d *proc.Defer, deferName, tgt string, frameIdx int) { if d == nil { t.Fatalf("expected %q as %s of frame %d, got nothing", tgt, deferName, frameIdx) } if d.Unreadable != nil { t.Fatalf("expected %q as %s of frame %d, got unreadable defer: %v", tgt, deferName, frameIdx, d.Unreadable) } _, _, dfn := d.DeferredFunc(p) if dfn == nil { t.Fatalf("expected %q as %s of frame %d, got %#x", tgt, deferName, frameIdx, d.DwrapPC) } if dfn.Name != tgt { t.Fatalf("expected %q as %s of frame %d, got %q", tgt, deferName, frameIdx, dfn.Name) } } for _, example := range examples { frame := &frames[example.frameIdx] if example.topmostDefer != "" { defercheck(frame.TopmostDefer, "topmost defer", example.topmostDefer, example.frameIdx) } if len(example.defers) != len(frames[example.frameIdx].Defers) { t.Fatalf("expected %d defers for %d, got %v", len(example.defers), example.frameIdx, frame.Defers) } for deferIdx := range example.defers { defercheck(frame.Defers[deferIdx], fmt.Sprintf("defer %d", deferIdx), example.defers[deferIdx], example.frameIdx) } } }) } func TestNextUnknownInstr(t *testing.T) { skipUnlessOn(t, "amd64 only", "amd64") if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 10) { t.Skip("versions of Go before 1.10 can't assemble the instruction VPUNPCKLWD") } withTestProcess("nodisasm/", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.asmFunc") assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Next(), t, "Next()") }) } func TestReadDeferArgs(t *testing.T) { if goversion.VersionAfterOrEqual(runtime.Version(), 1, 17) { // When regabi is enabled in Go 1.17 and later, reading arguments of // deferred functions becomes significantly more complicated because of // the autogenerated code used to unpack the argument frame stored in // runtime._defer into registers. // We either need to know how to do the translation, implementing the ABI1 // rules in Delve, or have some assistance from the compiler (for example // have the dwrap function contain entries for each of the captured // variables with a location describing their offset from DX). // Ultimately this feature is unimportant enough that we can leave it // disabled for now. t.Skip("unsupported") } var tests = []struct { frame, deferCall int a, b int64 }{ {1, 1, 42, 61}, {2, 2, 1, -1}, } withTestProcess("deferstack", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") for _, test := range tests { scope, err := proc.ConvertEvalScope(p, -1, test.frame, test.deferCall) assertNoError(err, t, fmt.Sprintf("ConvertEvalScope(-1, %d, %d)", test.frame, test.deferCall)) if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 17) { // In Go 1.17 deferred function calls can end up inside a wrapper, and // the scope for this evaluation needs to be the wrapper. if scope.Fn.Name != "main.f2" { t.Fatalf("expected function \"main.f2\" got %q", scope.Fn.Name) } } avar, err := scope.EvalExpression("a", normalLoadConfig) if err != nil { t.Fatal(err) } bvar, err := scope.EvalExpression("b", normalLoadConfig) if err != nil { t.Fatal(err) } a, _ := constant.Int64Val(avar.Value) b, _ := constant.Int64Val(bvar.Value) if a != test.a { t.Errorf("value of argument 'a' at frame %d, deferred call %d: %d (expected %d)", test.frame, test.deferCall, a, test.a) } if b != test.b { t.Errorf("value of argument 'b' at frame %d, deferred call %d: %d (expected %d)", test.frame, test.deferCall, b, test.b) } } }) } func TestIssue1374(t *testing.T) { // Continue did not work when stopped at a breakpoint immediately after calling CallFunction. protest.MustSupportFunctionCalls(t, testBackend) withTestProcess("issue1374", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) setFileBreakpoint(p, t, fixture.Source, 7) assertNoError(grp.Continue(), t, "First Continue") assertLineNumber(p, t, 7, "Did not continue to correct location (first continue),") assertNoError(proc.EvalExpressionWithCalls(grp, p.SelectedGoroutine(), "getNum()", normalLoadConfig, true), t, "Call") err := grp.Continue() if _, isexited := err.(proc.ErrProcessExited); !isexited { regs, _ := p.CurrentThread().Registers() f, l, _ := p.BinInfo().PCToLine(regs.PC()) t.Fatalf("expected process exited error got %v at %s:%d", err, f, l) } }) } func TestIssue1432(t *testing.T) { // Check that taking the address of a struct, casting it into a pointer to // the struct's type and then accessing a member field will still: // - perform auto-dereferencing on struct member access // - yield a Variable that's ultimately assignable (i.e. has an address) withTestProcess("issue1432", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue") svar := evalVariable(p, t, "s") t.Logf("%#x", svar.Addr) scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope()") err = scope.SetVariable(fmt.Sprintf("(*\"main.s\")(%#x).i", svar.Addr), "10") assertNoError(err, t, "SetVariable") }) } func TestGoroutinesInfoLimit(t *testing.T) { withTestProcess("teststepconcurrent", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 37) assertNoError(p.Continue(), t, "Continue()") gcount := 0 nextg := 0 const goroutinesInfoLimit = 10 for nextg >= 0 { oldnextg := nextg var gs []*proc.G var err error gs, nextg, err = proc.GoroutinesInfo(p, nextg, goroutinesInfoLimit) assertNoError(err, t, fmt.Sprintf("GoroutinesInfo(%d, %d)", oldnextg, goroutinesInfoLimit)) gcount += len(gs) t.Logf("got %d goroutines\n", len(gs)) } t.Logf("number of goroutines: %d\n", gcount) gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo(0, 0)") t.Logf("number of goroutines (full scan): %d\n", gcount) if len(gs) != gcount { t.Fatalf("mismatch in the number of goroutines %d %d\n", gcount, len(gs)) } }) } func TestIssue1469(t *testing.T) { withTestProcess("issue1469", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 13) assertNoError(p.Continue(), t, "Continue()") gid2thread := make(map[int64][]proc.Thread) for _, thread := range p.ThreadList() { g, _ := proc.GetG(thread) if g == nil { continue } gid2thread[g.ID] = append(gid2thread[g.ID], thread) } for gid := range gid2thread { if len(gid2thread[gid]) > 1 { t.Logf("too many threads running goroutine %d", gid) for _, thread := range gid2thread[gid] { t.Logf("\tThread %d", thread.ThreadID()) frames, err := proc.ThreadStacktrace(thread, 20) if err != nil { t.Logf("\t\tcould not get stacktrace %v", err) } for _, frame := range frames { t.Logf("\t\t%#x at %s:%d (systemstack: %v)", frame.Call.PC, frame.Call.File, frame.Call.Line, frame.SystemStack) } } } } }) } func TestDeadlockBreakpoint(t *testing.T) { skipOn(t, "upstream issue - https://github.com/golang/go/issues/29322", "pie") deadlockBp := proc.FatalThrow if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { deadlockBp = proc.UnrecoveredPanic } withTestProcess("testdeadlock", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") bp := p.CurrentThread().Breakpoint() if bp.Breakpoint == nil || bp.Logical.Name != deadlockBp { t.Fatalf("did not stop at deadlock breakpoint %v", bp) } }) } func findSource(source string, sources []string) bool { for _, s := range sources { if s == source { return true } } return false } func TestListImages(t *testing.T) { pluginFixtures := protest.WithPlugins(t, protest.AllNonOptimized, "plugin1/", "plugin2/") withTestProcessArgs("plugintest", t, ".", []string{pluginFixtures[0].Path, pluginFixtures[1].Path}, protest.AllNonOptimized, func(p *proc.Target, fixture protest.Fixture) { if !findSource(fixture.Source, p.BinInfo().Sources) { t.Fatalf("could not find %s in sources: %q\n", fixture.Source, p.BinInfo().Sources) } assertNoError(p.Continue(), t, "first continue") f, l := currentLineNumber(p, t) plugin1Found := false t.Logf("Libraries before %s:%d:", f, l) for _, image := range p.BinInfo().Images { t.Logf("\t%#x %q err:%v", image.StaticBase, image.Path, image.LoadError()) if image.Path == pluginFixtures[0].Path { plugin1Found = true } } if !plugin1Found { t.Fatalf("Could not find plugin1") } if !findSource(fixture.Source, p.BinInfo().Sources) { // Source files for the base program must be available even after a plugin is loaded. Issue #2074. t.Fatalf("could not find %s in sources (after loading plugin): %q\n", fixture.Source, p.BinInfo().Sources) } assertNoError(p.Continue(), t, "second continue") f, l = currentLineNumber(p, t) plugin1Found, plugin2Found := false, false t.Logf("Libraries after %s:%d:", f, l) for _, image := range p.BinInfo().Images { t.Logf("\t%#x %q err:%v", image.StaticBase, image.Path, image.LoadError()) switch image.Path { case pluginFixtures[0].Path: plugin1Found = true case pluginFixtures[1].Path: plugin2Found = true } } if !plugin1Found { t.Fatalf("Could not find plugin1") } if !plugin2Found { t.Fatalf("Could not find plugin2") } }) } func TestAncestors(t *testing.T) { if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) { t.Skip("not supported on Go <= 1.10") } savedGodebug := os.Getenv("GODEBUG") os.Setenv("GODEBUG", "tracebackancestors=100") defer os.Setenv("GODEBUG", savedGodebug) withTestProcess("testnextprog", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.testgoroutine") assertNoError(p.Continue(), t, "Continue()") as, err := proc.Ancestors(p, p.SelectedGoroutine(), 1000) assertNoError(err, t, "Ancestors") t.Logf("ancestors: %#v\n", as) if len(as) != 1 { t.Fatalf("expected only one ancestor got %d", len(as)) } mainFound := false for i, a := range as { astack, err := a.Stack(100) assertNoError(err, t, fmt.Sprintf("Ancestor %d stack", i)) t.Logf("ancestor %d\n", i) logStacktrace(t, p, astack) for _, frame := range astack { if frame.Current.Fn != nil && frame.Current.Fn.Name == "main.main" { mainFound = true } } } if !mainFound { t.Fatal("could not find main.main function in ancestors") } }) } func testCallConcurrentCheckReturns(p *proc.Target, t *testing.T, gid1, gid2 int64) int { found := 0 for _, thread := range p.ThreadList() { g, _ := proc.GetG(thread) if g == nil || (g.ID != gid1 && g.ID != gid2) { continue } retvals := thread.Common().ReturnValues(normalLoadConfig) if len(retvals) == 0 { continue } n, _ := constant.Int64Val(retvals[0].Value) t.Logf("injection on goroutine %d (thread %d) returned %v\n", g.ID, thread.ThreadID(), n) switch g.ID { case gid1: if n != 11 { t.Errorf("wrong return value for goroutine %d", g.ID) } found++ case gid2: if n != 12 { t.Errorf("wrong return value for goroutine %d", g.ID) } found++ } } return found } func TestCallConcurrent(t *testing.T) { skipOn(t, "broken", "freebsd") protest.MustSupportFunctionCalls(t, testBackend) withTestProcess("teststepconcurrent", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) bp := setFileBreakpoint(p, t, fixture.Source, 24) assertNoError(grp.Continue(), t, "Continue()") //_, err := p.ClearBreakpoint(bp.Addr) //assertNoError(err, t, "ClearBreakpoint() returned an error") gid1 := p.SelectedGoroutine().ID t.Logf("starting injection in %d / %d", p.SelectedGoroutine().ID, p.CurrentThread().ThreadID()) assertNoError(proc.EvalExpressionWithCalls(grp, p.SelectedGoroutine(), "Foo(10, 1)", normalLoadConfig, false), t, "EvalExpressionWithCalls()") returned := testCallConcurrentCheckReturns(p, t, gid1, -1) curthread := p.CurrentThread() if curbp := curthread.Breakpoint(); curbp.Breakpoint == nil || curbp.LogicalID() != bp.LogicalID() || returned > 0 { t.Logf("skipping test, the call injection terminated before we hit a breakpoint in a different thread") return } err := p.ClearBreakpoint(bp.Addr) assertNoError(err, t, "ClearBreakpoint() returned an error") gid2 := p.SelectedGoroutine().ID t.Logf("starting second injection in %d / %d", p.SelectedGoroutine().ID, p.CurrentThread().ThreadID()) assertNoError(proc.EvalExpressionWithCalls(grp, p.SelectedGoroutine(), "Foo(10, 2)", normalLoadConfig, false), t, "EvalExpressioniWithCalls") for { returned += testCallConcurrentCheckReturns(p, t, gid1, gid2) if returned >= 2 { break } t.Logf("Continuing... %d", returned) assertNoError(grp.Continue(), t, "Continue()") } grp.Continue() }) } func TestPluginStepping(t *testing.T) { pluginFixtures := protest.WithPlugins(t, protest.AllNonOptimized, "plugin1/", "plugin2/") testseq2Args(".", []string{pluginFixtures[0].Path, pluginFixtures[1].Path}, protest.AllNonOptimized, t, "plugintest2", "", []seqTest{ {contContinue, 41}, {contStep, "plugin1.go:9"}, {contStep, "plugin1.go:10"}, {contStep, "plugin1.go:11"}, {contNext, "plugin1.go:12"}, {contNext, "plugintest2.go:41"}, {contNext, "plugintest2.go:42"}, {contStep, "plugin2.go:22"}, {contNext, "plugin2.go:23"}, {contNext, "plugin2.go:26"}, {contNext, "plugintest2.go:42"}}) } func TestIssue1601(t *testing.T) { protest.MustHaveCgo(t) //Tests that recursive types involving C qualifiers and typedefs are parsed correctly withTestProcess("issue1601", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue") evalVariable(p, t, "C.globalq") }) } func TestIssue1615(t *testing.T) { // A breakpoint condition that tests for string equality with a constant string shouldn't fail with 'string too long for comparison' error withTestProcess("issue1615", t, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, t, fixture.Source, 19) bp.UserBreaklet().Cond = &ast.BinaryExpr{ Op: token.EQL, X: &ast.Ident{Name: "s"}, Y: &ast.BasicLit{Kind: token.STRING, Value: `"projects/my-gcp-project-id-string/locations/us-central1/queues/my-task-queue-name"`}, } assertNoError(p.Continue(), t, "Continue") assertLineNumber(p, t, 19, "") }) } func TestCgoStacktrace2(t *testing.T) { skipOn(t, "upstream issue", "windows") skipOn(t, "broken", "386") skipOn(t, "broken", "arm64") protest.MustHaveCgo(t) // If a panic happens during cgo execution the stacktrace should show the C // function that caused the problem. withTestProcess("cgosigsegvstack", t, func(p *proc.Target, fixture protest.Fixture) { p.Continue() frames, err := proc.ThreadStacktrace(p.CurrentThread(), 100) assertNoError(err, t, "Stacktrace()") logStacktrace(t, p, frames) m := stacktraceCheck(t, []string{"C.sigsegv", "C.testfn", "main.main"}, frames) if m == nil { t.Fatal("see previous loglines") } }) } func TestIssue1656(t *testing.T) { skipUnlessOn(t, "amd64 only", "amd64") withTestProcess("issue1656/", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, filepath.ToSlash(filepath.Join(fixture.BuildDir, "main.s")), 5) assertNoError(p.Continue(), t, "Continue()") t.Logf("step1\n") assertNoError(p.Step(), t, "Step()") assertLineNumber(p, t, 8, "wrong line number after first step") t.Logf("step2\n") assertNoError(p.Step(), t, "Step()") assertLineNumber(p, t, 9, "wrong line number after second step") }) } func TestBreakpointConfusionOnResume(t *testing.T) { // Checks that SetCurrentBreakpoint, (*Thread).StepInstruction and // native.(*Thread).singleStep all agree on which breakpoint the thread is // stopped at. // This test checks for a regression introduced when fixing Issue #1656 skipUnlessOn(t, "amd64 only", "amd64") withTestProcess("nopbreakpoint/", t, func(p *proc.Target, fixture protest.Fixture) { maindots := filepath.ToSlash(filepath.Join(fixture.BuildDir, "main.s")) maindotgo := filepath.ToSlash(filepath.Join(fixture.BuildDir, "main.go")) setFileBreakpoint(p, t, maindots, 5) // line immediately after the NOP assertNoError(p.Continue(), t, "First Continue") assertLineNumber(p, t, 5, "not on main.s:5") setFileBreakpoint(p, t, maindots, 4) // sets a breakpoint on the NOP line, which will be one byte before the breakpoint we currently are stopped at. setFileBreakpoint(p, t, maindotgo, 18) // set one extra breakpoint so that we can recover execution and check the global variable g assertNoError(p.Continue(), t, "Second Continue") gvar := evalVariable(p, t, "g") if n, _ := constant.Int64Val(gvar.Value); n != 1 { t.Fatalf("wrong value of global variable 'g': %v (expected 1)", gvar.Value) } }) } func TestIssue1736(t *testing.T) { withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") ch1BufVar := evalVariable(p, t, "*(ch1.buf)") q := fmt.Sprintf("*(*%q)(%d)", ch1BufVar.DwarfType.Common().Name, ch1BufVar.Addr) t.Logf("%s", q) ch1BufVar2 := evalVariable(p, t, q) if ch1BufVar2.Unreadable != nil { t.Fatal(ch1BufVar2.Unreadable) } }) } func TestIssue1817(t *testing.T) { // Setting a breakpoint on a line that doesn't have any PC addresses marked // is_stmt should work. withTestProcess("issue1817", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 16) }) } func TestListPackagesBuildInfo(t *testing.T) { withTestProcess("pkgrenames", t, func(p *proc.Target, fixture protest.Fixture) { pkgs := p.BinInfo().ListPackagesBuildInfo(true) t.Logf("returned %d", len(pkgs)) if len(pkgs) < 10 { t.Errorf("very few packages returned") } for _, pkg := range pkgs { t.Logf("%q %q", pkg.ImportPath, pkg.DirectoryPath) const _fixtures = "_fixtures" fidx := strings.Index(pkg.ImportPath, _fixtures) if fidx < 0 { continue } if !strings.HasSuffix(strings.Replace(pkg.DirectoryPath, "\\", "/", -1), pkg.ImportPath[fidx:]) { t.Errorf("unexpected suffix: %q %q", pkg.ImportPath, pkg.DirectoryPath) } } }) } func TestIssue1795(t *testing.T) { // When doing midstack inlining the Go compiler sometimes (always?) emits // the toplevel inlined call with ranges that do not cover the inlining of // other nested inlined calls. // For example if a function A calls B which calls C and both the calls to // B and C are inlined the DW_AT_inlined_subroutine entry for A might have // ranges that do not cover the ranges of the inlined call to C. // This is probably a violation of the DWARF standard (it's unclear) but we // might as well support it as best as possible anyway. if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 13) { t.Skip("Test not relevant to Go < 1.13") } withTestProcessArgs("issue1795", t, ".", []string{}, protest.EnableInlining|protest.EnableOptimization, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") assertLineNumber(p, t, 12, "wrong line number after Continue,") assertNoError(p.Next(), t, "Next()") assertLineNumber(p, t, 13, "wrong line number after Next,") }) withTestProcessArgs("issue1795", t, ".", []string{}, protest.EnableInlining|protest.EnableOptimization, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "regexp.(*Regexp).doExecute") assertNoError(p.Continue(), t, "Continue()") assertLineNumber(p, t, 12, "wrong line number after Continue (1),") assertNoError(p.Continue(), t, "Continue()") frames, err := proc.ThreadStacktrace(p.CurrentThread(), 40) assertNoError(err, t, "ThreadStacktrace()") logStacktrace(t, p, frames) if err := checkFrame(frames[0], "regexp.(*Regexp).doExecute", "", 0, false); err != nil { t.Errorf("Wrong frame 0: %v", err) } if err := checkFrame(frames[1], "regexp.(*Regexp).doMatch", "", 0, true); err != nil { t.Errorf("Wrong frame 1: %v", err) } if err := checkFrame(frames[2], "regexp.(*Regexp).MatchString", "", 0, true); err != nil { t.Errorf("Wrong frame 2: %v", err) } if err := checkFrame(frames[3], "main.main", fixture.Source, 12, false); err != nil { t.Errorf("Wrong frame 3: %v", err) } }) } func BenchmarkConditionalBreakpoints(b *testing.B) { b.N = 1 withTestProcess("issue1549", b, func(p *proc.Target, fixture protest.Fixture) { bp := setFileBreakpoint(p, b, fixture.Source, 12) bp.UserBreaklet().Cond = &ast.BinaryExpr{ Op: token.EQL, X: &ast.Ident{Name: "value"}, Y: &ast.BasicLit{Kind: token.INT, Value: "-1"}, } err := p.Continue() if _, exited := err.(proc.ErrProcessExited); !exited { b.Fatalf("Unexpected error on Continue(): %v", err) } }) } func TestBackwardNextGeneral(t *testing.T) { if testBackend != "rr" { t.Skip("Reverse stepping test needs rr") } testseq2(t, "testnextprog", "main.helloworld", []seqTest{ {contContinue, 13}, {contNext, 14}, {contReverseNext, 13}, {contReverseNext, 34}, {contReverseNext, 28}, {contReverseNext, 27}, {contReverseNext, 26}, {contReverseNext, 24}, {contReverseNext, 23}, {contReverseNext, 31}, {contReverseNext, 26}, {contReverseNext, 24}, {contReverseNext, 23}, {contReverseNext, 31}, {contReverseNext, 26}, {contReverseNext, 24}, {contReverseNext, 23}, {contReverseNext, 20}, {contReverseNext, 19}, {contReverseNext, 17}, {contReverseNext, 39}, {contReverseNext, 38}, {contReverseNext, 37}, }) } func TestBackwardStepOutGeneral(t *testing.T) { if testBackend != "rr" { t.Skip("Reverse stepping test needs rr") } testseq2(t, "testnextprog", "main.helloworld", []seqTest{ {contContinue, 13}, {contNext, 14}, {contReverseStepout, 34}, {contReverseStepout, 39}, }) } func TestBackwardStepGeneral(t *testing.T) { if testBackend != "rr" { t.Skip("Reverse stepping test needs rr") } testseq2(t, "testnextprog", "main.helloworld", []seqTest{ {contContinue, 13}, {contNext, 14}, {contReverseStep, 13}, {contReverseStep, 34}, {contReverseStep, 28}, {contReverseNext, 27}, // skip fmt.Printf {contReverseStep, 26}, {contReverseStep, 24}, {contReverseStep, 23}, {contReverseStep, 11}, {contReverseNext, 10}, // skip time.Sleep {contReverseStep, 9}, {contReverseStep, 31}, {contReverseStep, 26}, {contReverseStep, 24}, {contReverseStep, 23}, {contReverseStep, 11}, {contReverseNext, 10}, // skip time.Sleep {contReverseStep, 9}, {contReverseStep, 31}, {contReverseStep, 26}, {contReverseStep, 24}, {contReverseStep, 23}, {contReverseStep, 20}, {contReverseStep, 19}, {contReverseStep, 17}, {contReverseStep, 39}, {contReverseStep, 38}, {contReverseStep, 37}, }) } func TestBackwardNextDeferPanic(t *testing.T) { if testBackend != "rr" { t.Skip("Reverse stepping test needs rr") } if goversion.VersionAfterOrEqual(runtime.Version(), 1, 18) { testseq2(t, "defercall", "", []seqTest{ {contContinue, 12}, {contReverseNext, 11}, {contReverseNext, 10}, {contReverseNext, 9}, {contReverseNext, 27}, {contContinueToBreakpoint, 12}, // skip first call to sampleFunction {contContinueToBreakpoint, 6}, // go to call to sampleFunction through deferreturn {contReverseNext, -1}, // runtime.deferreturn, maybe we should try to skip this {contReverseStepout, 13}, {contReverseNext, 12}, {contReverseNext, 11}, {contReverseNext, 10}, {contReverseNext, 9}, {contReverseNext, 27}, {contContinueToBreakpoint, 18}, // go to panic call {contNext, 6}, // panic so the deferred call happens {contReverseNext, 18}, {contReverseNext, 17}, {contReverseNext, 16}, {contReverseNext, 15}, {contReverseNext, 23}, {contReverseNext, 22}, {contReverseNext, 21}, {contReverseNext, 28}, }) } else { testseq2(t, "defercall", "", []seqTest{ {contContinue, 12}, {contReverseNext, 11}, {contReverseNext, 10}, {contReverseNext, 9}, {contReverseNext, 27}, {contContinueToBreakpoint, 12}, // skip first call to sampleFunction {contContinueToBreakpoint, 6}, // go to call to sampleFunction through deferreturn {contReverseNext, 13}, {contReverseNext, 12}, {contReverseNext, 11}, {contReverseNext, 10}, {contReverseNext, 9}, {contReverseNext, 27}, {contContinueToBreakpoint, 18}, // go to panic call {contNext, 6}, // panic so the deferred call happens {contReverseNext, 18}, {contReverseNext, 17}, {contReverseNext, 16}, {contReverseNext, 15}, {contReverseNext, 23}, {contReverseNext, 22}, {contReverseNext, 21}, {contReverseNext, 28}, }) } } func TestIssue1925(t *testing.T) { // Calling a function should not leave cached goroutine information in an // inconsistent state. // In particular the stepInstructionOut function called at the end of a // 'call' procedure should clean the G cache like every other function // altering the state of the target process. protest.MustSupportFunctionCalls(t, testBackend) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) assertNoError(grp.Continue(), t, "Continue()") assertNoError(proc.EvalExpressionWithCalls(grp, p.SelectedGoroutine(), "afunc(2)", normalLoadConfig, true), t, "Call") t.Logf("%v\n", p.SelectedGoroutine().CurrentLoc) if loc := p.SelectedGoroutine().CurrentLoc; loc.File != fixture.Source { t.Errorf("wrong location for selected goroutine after call: %s:%d", loc.File, loc.Line) } }) } func TestStepIntoWrapperForEmbeddedPointer(t *testing.T) { skipOn(t, "N/A", "linux", "386", "pie") // skipping wrappers doesn't work on linux/386/PIE due to the use of get_pc_thunk // Under some circumstances (when using an interface to call a method on an // embedded field, see _fixtures/ifaceembcall.go) the compiler will // autogenerate a wrapper function that uses a tail call (i.e. it ends in // an unconditional jump instruction to a different function). // Delve should be able to step into this tail call. testseq2(t, "ifaceembcall", "", []seqTest{ {contContinue, 28}, // main.main, the line calling iface.PtrReceiver() {contStep, 18}, // main.(*A).PtrReceiver {contStep, 19}, {contStepout, 28}, {contContinueToBreakpoint, 29}, // main.main, the line calling iface.NonPtrReceiver() {contStep, 22}, // main.(A).NonPtrReceiver {contStep, 23}, {contStepout, 29}}) // same test but with next instead of stepout if goversion.VersionAfterOrEqual(runtime.Version(), 1, 14) && runtime.GOARCH != "386" && !goversion.VersionAfterOrEqualRev(runtime.Version(), 1, 15, 4) { // Line numbers generated for versions 1.14 through 1.15.3 on any system except linux/386 testseq2(t, "ifaceembcall", "", []seqTest{ {contContinue, 28}, // main.main, the line calling iface.PtrReceiver() {contStep, 18}, // main.(*A).PtrReceiver {contNext, 19}, {contNext, 19}, {contNext, 28}, {contContinueToBreakpoint, 29}, // main.main, the line calling iface.NonPtrReceiver() {contStep, 22}, {contNext, 23}, {contNext, 23}, {contNext, 29}}) } else { testseq2(t, "ifaceembcall", "", []seqTest{ {contContinue, 28}, // main.main, the line calling iface.PtrReceiver() {contStep, 18}, // main.(*A).PtrReceiver {contNext, 19}, {contNext, 28}, {contContinueToBreakpoint, 29}, // main.main, the line calling iface.NonPtrReceiver() {contStep, 22}, {contNext, 23}, {contNext, 29}}) } } func TestRefreshCurThreadSelGAfterContinueOnceError(t *testing.T) { // Issue #2078: // Tests that on macOS/lldb the current thread/selected goroutine are // refreshed after ContinueOnce returns an error due to a segmentation // fault. skipUnlessOn(t, "N/A", "darwin", "lldb") withTestProcess("issue2078", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 4) assertNoError(p.Continue(), t, "Continue() (first)") if p.Continue() == nil { t.Fatalf("Second continue did not return an error") } g := p.SelectedGoroutine() if g.CurrentLoc.Line != 9 { t.Fatalf("wrong current location %s:%d (expected :9)", g.CurrentLoc.File, g.CurrentLoc.Line) } }) } func TestStepoutOneliner(t *testing.T) { // The heuristic detecting autogenerated wrappers when stepping out should // not skip oneliner functions. withTestProcess("issue2086", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") assertLineNumber(p, t, 15, "after first continue") assertNoError(p.StepOut(), t, "StepOut()") if fn := p.BinInfo().PCToFunc(currentPC(p, t)); fn == nil || fn.Name != "main.T.m" { t.Fatalf("wrong function after stepout %#v", fn) } assertNoError(p.StepOut(), t, "second StepOut()") if fn := p.BinInfo().PCToFunc(currentPC(p, t)); fn == nil || fn.Name != "main.main" { t.Fatalf("wrong fnuction after second stepout %#v", fn) } }) } func TestRequestManualStopWhileStopped(t *testing.T) { // Requesting a manual stop while stopped shouldn't cause problems (issue #2138). withTestProcess("issue2138", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) resumed := make(chan struct{}) setFileBreakpoint(p, t, fixture.Source, 8) assertNoError(grp.Continue(), t, "Continue() 1") grp.ResumeNotify(resumed) go func() { <-resumed time.Sleep(1 * time.Second) grp.RequestManualStop() }() t.Logf("at time.Sleep call") assertNoError(grp.Continue(), t, "Continue() 2") t.Logf("manually stopped") grp.RequestManualStop() grp.RequestManualStop() grp.RequestManualStop() resumed = make(chan struct{}) grp.ResumeNotify(resumed) go func() { <-resumed time.Sleep(1 * time.Second) grp.RequestManualStop() }() t.Logf("resuming sleep") assertNoError(grp.Continue(), t, "Continue() 3") t.Logf("done") }) } func TestStepOutPreservesGoroutine(t *testing.T) { // Checks that StepOut preserves the currently selected goroutine. skipOn(t, "broken", "freebsd") rand.Seed(time.Now().Unix()) withTestProcess("issue2113", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") logState := func() { g := p.SelectedGoroutine() var goid int64 = -42 if g != nil { goid = g.ID } pc := currentPC(p, t) f, l, fn := p.BinInfo().PCToLine(pc) var fnname string = "???" if fn != nil { fnname = fn.Name } t.Logf("goroutine %d at %s:%d in %s", goid, f, l, fnname) } logState() gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo") candg := []*proc.G{} bestg := []*proc.G{} for _, g := range gs { frames, err := g.Stacktrace(20, 0) assertNoError(err, t, "Stacktrace") for _, frame := range frames { if frame.Call.Fn != nil && frame.Call.Fn.Name == "main.coroutine" { candg = append(candg, g) if g.Thread != nil && frames[0].Call.Fn != nil && strings.HasPrefix(frames[0].Call.Fn.Name, "runtime.") { bestg = append(bestg, g) } break } } } var pickg *proc.G if len(bestg) > 0 { pickg = bestg[rand.Intn(len(bestg))] t.Logf("selected goroutine %d (best)\n", pickg.ID) } else { pickg = candg[rand.Intn(len(candg))] t.Logf("selected goroutine %d\n", pickg.ID) } goid := pickg.ID assertNoError(p.SwitchGoroutine(pickg), t, "SwitchGoroutine") logState() err = p.StepOut() if err != nil { _, isexited := err.(proc.ErrProcessExited) if !isexited { assertNoError(err, t, "StepOut()") } else { return } } logState() g2 := p.SelectedGoroutine() if g2 == nil { t.Fatalf("no selected goroutine after stepout") } else if g2.ID != goid { t.Fatalf("unexpected selected goroutine %d", g2.ID) } }) } func TestIssue2319(t *testing.T) { // Check to make sure we don't crash on startup when the target is // a binary with a mix of DWARF-5 C++ compilation units and // DWARF-4 Go compilation units. // Require CGO, since we need to use the external linker for this test. protest.MustHaveCgo(t) // The test fixture uses linux/amd64 assembly and a *.syso file // that is linux/amd64, so skip for other architectures. if runtime.GOOS != "linux" || runtime.GOARCH != "amd64" { t.Skipf("skipping since not linux/amd64") } // Skip unless on 1.14 or later. The test fixture uses a *.syso // file, which in 1.13 is not loaded unless we're in internal // linking mode (we need external linking here). if !goversion.VersionAfterOrEqual(runtime.Version(), 1, 14) { t.Skip("test contains fixture that is specific to go 1.14+") } fixture := protest.BuildFixture("issue2319/", protest.BuildModeExternalLinker) // Load up the binary and make sure there are no crashes. bi := proc.NewBinaryInfo("linux", "amd64") assertNoError(bi.LoadBinaryInfo(fixture.Path, 0, nil), t, "LoadBinaryInfo") } func TestDump(t *testing.T) { if runtime.GOOS == "freebsd" || (runtime.GOOS == "darwin" && testBackend == "native") || (runtime.GOOS == "windows" && runtime.GOARCH != "amd64") { t.Skip("not supported") } convertRegisters := func(arch *proc.Arch, dregs op.DwarfRegisters) string { dregs.Reg(^uint64(0)) buf := new(bytes.Buffer) for i := 0; i < dregs.CurrentSize(); i++ { reg := dregs.Reg(uint64(i)) if reg == nil { continue } name, _, repr := arch.DwarfRegisterToString(i, reg) fmt.Fprintf(buf, " %s=%s", name, repr) } return buf.String() } convertThread := func(thread proc.Thread) string { regs, err := thread.Registers() assertNoError(err, t, fmt.Sprintf("Thread registers %d", thread.ThreadID())) arch := thread.BinInfo().Arch dregs := arch.RegistersToDwarfRegisters(0, regs) return fmt.Sprintf("%08d %s", thread.ThreadID(), convertRegisters(arch, *dregs)) } convertThreads := func(threads []proc.Thread) []string { r := make([]string, len(threads)) for i := range threads { r[i] = convertThread(threads[i]) } sort.Strings(r) return r } convertGoroutine := func(g *proc.G) string { threadID := 0 if g.Thread != nil { threadID = g.Thread.ThreadID() } return fmt.Sprintf("%d pc=%#x sp=%#x bp=%#x lr=%#x gopc=%#x startpc=%#x systemstack=%v thread=%d", g.ID, g.PC, g.SP, g.BP, g.LR, g.GoPC, g.StartPC, g.SystemStack, threadID) } convertFrame := func(arch *proc.Arch, frame *proc.Stackframe) string { return fmt.Sprintf("currentPC=%#x callPC=%#x frameOff=%#x\n", frame.Current.PC, frame.Call.PC, frame.FrameOffset()) } makeDump := func(p *proc.Target, corePath, exePath string, flags proc.DumpFlags) *proc.Target { fh, err := os.Create(corePath) assertNoError(err, t, "Create()") var state proc.DumpState p.Dump(fh, flags, &state) assertNoError(state.Err, t, "Dump()") if state.ThreadsDone != state.ThreadsTotal || state.MemDone != state.MemTotal || !state.AllDone || state.Dumping || state.Canceled { t.Fatalf("bad DumpState %#v", &state) } c, err := core.OpenCore(corePath, exePath, nil) assertNoError(err, t, "OpenCore()") return c } testDump := func(p, c *proc.Target) { if p.Pid() != c.Pid() { t.Errorf("Pid mismatch %x %x", p.Pid(), c.Pid()) } threads := convertThreads(p.ThreadList()) cthreads := convertThreads(c.ThreadList()) if len(threads) != len(cthreads) { t.Errorf("Thread number mismatch %d %d", len(threads), len(cthreads)) } for i := range threads { if threads[i] != cthreads[i] { t.Errorf("Thread mismatch\nlive:\t%s\ncore:\t%s", threads[i], cthreads[i]) } } gos, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo() - live process") cgos, _, err := proc.GoroutinesInfo(c, 0, 0) assertNoError(err, t, "GoroutinesInfo() - core dump") if len(gos) != len(cgos) { t.Errorf("Goroutine number mismatch %d %d", len(gos), len(cgos)) } var scope, cscope *proc.EvalScope for i := range gos { if convertGoroutine(gos[i]) != convertGoroutine(cgos[i]) { t.Errorf("Goroutine mismatch\nlive:\t%s\ncore:\t%s", convertGoroutine(gos[i]), convertGoroutine(cgos[i])) } frames, err := gos[i].Stacktrace(20, 0) assertNoError(err, t, fmt.Sprintf("Stacktrace for goroutine %d - live process", gos[i].ID)) cframes, err := cgos[i].Stacktrace(20, 0) assertNoError(err, t, fmt.Sprintf("Stacktrace for goroutine %d - core dump", gos[i].ID)) if len(frames) != len(cframes) { t.Errorf("Frame number mismatch for goroutine %d: %d %d", gos[i].ID, len(frames), len(cframes)) } for j := range frames { if convertFrame(p.BinInfo().Arch, &frames[j]) != convertFrame(p.BinInfo().Arch, &cframes[j]) { t.Errorf("Frame mismatch %d.%d\nlive:\t%s\ncore:\t%s", gos[i].ID, j, convertFrame(p.BinInfo().Arch, &frames[j]), convertFrame(p.BinInfo().Arch, &cframes[j])) } if frames[j].Call.Fn != nil && frames[j].Call.Fn.Name == "main.main" { scope = proc.FrameToScope(p, p.Memory(), gos[i], frames[j:]...) cscope = proc.FrameToScope(c, c.Memory(), cgos[i], cframes[j:]...) } } } vars, err := scope.LocalVariables(normalLoadConfig) assertNoError(err, t, "LocalVariables - live process") cvars, err := cscope.LocalVariables(normalLoadConfig) assertNoError(err, t, "LocalVariables - core dump") if len(vars) != len(cvars) { t.Errorf("Variable number mismatch %d %d", len(vars), len(cvars)) } for i := range vars { varstr := vars[i].Name + "=" + api.ConvertVar(vars[i]).SinglelineString() cvarstr := cvars[i].Name + "=" + api.ConvertVar(cvars[i]).SinglelineString() if strings.Contains(varstr, "(unreadable") { // errors reading from unmapped memory differ between live process and core continue } if varstr != cvarstr { t.Errorf("Variable mismatch %s %s", varstr, cvarstr) } } } withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") corePath := filepath.Join(fixture.BuildDir, "coredump") corePathPlatIndep := filepath.Join(fixture.BuildDir, "coredump-indep") t.Logf("testing normal dump") c := makeDump(p, corePath, fixture.Path, 0) defer os.Remove(corePath) testDump(p, c) if runtime.GOOS == "linux" && runtime.GOARCH == "amd64" { // No reason to do this test on other goos/goarch because they use the // platform-independent format anyway. t.Logf("testing platform-independent dump") c2 := makeDump(p, corePathPlatIndep, fixture.Path, proc.DumpPlatformIndependent) defer os.Remove(corePathPlatIndep) testDump(p, c2) } }) } func TestCompositeMemoryWrite(t *testing.T) { if runtime.GOARCH != "amd64" { t.Skip("only valid on amd64") } skipOn(t, "not implemented", "freebsd") withTestProcess("fputest/", t, func(p *proc.Target, fixture protest.Fixture) { getregs := func() (pc, rax, xmm1 uint64) { regs, err := p.CurrentThread().Registers() assertNoError(err, t, "Registers") fmtregs, err := regs.Slice(true) assertNoError(err, t, "register slice") var xmm1buf []byte for _, reg := range fmtregs { switch strings.ToLower(reg.Name) { case "rax": rax = reg.Reg.Uint64Val case "xmm1": xmm1buf = reg.Reg.Bytes } } xmm1 = binary.LittleEndian.Uint64(xmm1buf[:8]) return regs.PC(), rax, xmm1 } const fakeAddress = 0xbeef0000 getmem := func(mem proc.MemoryReader) uint64 { buf := make([]byte, 8) _, err := mem.ReadMemory(buf, fakeAddress) assertNoError(err, t, "ReadMemory") return binary.LittleEndian.Uint64(buf) } assertNoError(p.Continue(), t, "Continue()") oldPc, oldRax, oldXmm1 := getregs() t.Logf("PC %#x AX %#x XMM1 %#x", oldPc, oldRax, oldXmm1) memRax, err := proc.NewCompositeMemory(p, []op.Piece{{Size: 0, Val: 0, Kind: op.RegPiece}}, fakeAddress) assertNoError(err, t, "NewCompositeMemory (rax)") memXmm1, err := proc.NewCompositeMemory(p, []op.Piece{{Size: 0, Val: 18, Kind: op.RegPiece}}, fakeAddress) assertNoError(err, t, "NewCompositeMemory (xmm1)") if memRax := getmem(memRax); memRax != oldRax { t.Errorf("reading rax memory, expected %#x got %#x", oldRax, memRax) } if memXmm1 := getmem(memXmm1); memXmm1 != oldXmm1 { t.Errorf("reading xmm1 memory, expected %#x got %#x", oldXmm1, memXmm1) } _, err = memRax.WriteMemory(0xbeef0000, []byte{0xef, 0xbe, 0x0d, 0xf0, 0xef, 0xbe, 0x0d, 0xf0}) assertNoError(err, t, "WriteMemory (rax)") _, err = memXmm1.WriteMemory(0xbeef0000, []byte{0xef, 0xbe, 0x0d, 0xf0, 0xef, 0xbe, 0x0d, 0xf0}) assertNoError(err, t, "WriteMemory (xmm1)") newPc, newRax, newXmm1 := getregs() t.Logf("PC %#x AX %#x XMM1 %#x", newPc, newRax, newXmm1) const tgt = 0xf00dbeeff00dbeef if newRax != tgt { t.Errorf("reading rax register, expected %#x, got %#x", uint64(tgt), newRax) } if newXmm1 != tgt { t.Errorf("reading xmm1 register, expected %#x, got %#x", uint64(tgt), newXmm1) } }) } func TestVariablesWithExternalLinking(t *testing.T) { protest.MustHaveCgo(t) // Tests that macOSDebugFrameBugWorkaround works. // See: // https://github.com/golang/go/issues/25841 // https://github.com/go-delve/delve/issues/2346 withTestProcessArgs("testvariables2", t, ".", []string{}, protest.BuildModeExternalLinker, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") str1Var := evalVariable(p, t, "str1") if str1Var.Unreadable != nil { t.Fatalf("variable str1 is unreadable: %v", str1Var.Unreadable) } t.Logf("%#v", str1Var) if constant.StringVal(str1Var.Value) != "01234567890" { t.Fatalf("wrong value for str1: %v", str1Var.Value) } }) } func TestWatchpointsBasic(t *testing.T) { skipOn(t, "not implemented", "freebsd") skipOn(t, "not implemented", "386") skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") protest.AllowRecording(t) position1 := 19 position5 := 41 if runtime.GOARCH == "arm64" { position1 = 18 position5 = 40 } withTestProcess("databpeasy", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") setFileBreakpoint(p, t, fixture.Source, 21) // Position 2 breakpoint setFileBreakpoint(p, t, fixture.Source, 27) // Position 4 breakpoint assertNoError(p.Continue(), t, "Continue 0") assertLineNumber(p, t, 13, "Continue 0") // Position 0 scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") bp, err := p.SetWatchpoint(0, scope, "globalvar1", proc.WatchWrite, nil) assertNoError(err, t, "SetDataBreakpoint(write-only)") assertNoError(p.Continue(), t, "Continue 1") assertLineNumber(p, t, position1, "Continue 1") // Position 1 if curbp := p.CurrentThread().Breakpoint().Breakpoint; curbp == nil || (curbp.LogicalID() != bp.LogicalID()) { t.Fatal("breakpoint not set") } assertNoError(p.ClearBreakpoint(bp.Addr), t, "ClearBreakpoint") assertNoError(p.Continue(), t, "Continue 2") assertLineNumber(p, t, 21, "Continue 2") // Position 2 _, err = p.SetWatchpoint(0, scope, "globalvar1", proc.WatchWrite|proc.WatchRead, nil) assertNoError(err, t, "SetDataBreakpoint(read-write)") assertNoError(p.Continue(), t, "Continue 3") assertLineNumber(p, t, 22, "Continue 3") // Position 3 p.ClearBreakpoint(bp.Addr) assertNoError(p.Continue(), t, "Continue 4") assertLineNumber(p, t, 27, "Continue 4") // Position 4 t.Logf("setting final breakpoint") _, err = p.SetWatchpoint(0, scope, "globalvar1", proc.WatchWrite, nil) assertNoError(err, t, "SetDataBreakpoint(write-only, again)") assertNoError(p.Continue(), t, "Continue 5") assertLineNumber(p, t, position5, "Continue 5") // Position 5 }) } func TestWatchpointCounts(t *testing.T) { skipOn(t, "not implemented", "freebsd") skipOn(t, "not implemented", "386") skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") protest.AllowRecording(t) withTestProcess("databpcountstest", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "Continue 0") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") bp, err := p.SetWatchpoint(0, scope, "globalvar1", proc.WatchWrite, nil) assertNoError(err, t, "SetWatchpoint(write-only)") for { if err := p.Continue(); err != nil { if _, exited := err.(proc.ErrProcessExited); exited { break } assertNoError(err, t, "Continue()") } } t.Logf("TotalHitCount: %d", bp.Logical.TotalHitCount) if bp.Logical.TotalHitCount != 200 { t.Fatalf("Wrong TotalHitCount for the breakpoint (%d)", bp.Logical.TotalHitCount) } if len(bp.Logical.HitCount) != 2 { t.Fatalf("Wrong number of goroutines for breakpoint (%d)", len(bp.Logical.HitCount)) } for _, v := range bp.Logical.HitCount { if v != 100 { t.Fatalf("Wrong HitCount for breakpoint (%v)", bp.Logical.HitCount) } } }) } func TestManualStopWhileStopped(t *testing.T) { // Checks that RequestManualStop sent to a stopped thread does not cause the target process to die. withTestProcess("loopprog", t, func(p *proc.Target, fixture protest.Fixture) { grp := proc.NewGroup(p) asyncCont := func(done chan struct{}) { defer close(done) err := grp.Continue() t.Logf("%v\n", err) if err != nil { panic(err) } for _, th := range p.ThreadList() { if th.Breakpoint().Breakpoint != nil { t.Logf("unexpected stop at breakpoint: %v", th.Breakpoint().Breakpoint) panic("unexpected stop at breakpoint") } } } const ( repeatsSlow = 3 repeatsFast = 5 ) for i := 0; i < repeatsSlow; i++ { t.Logf("Continue %d (slow)", i) done := make(chan struct{}) go asyncCont(done) time.Sleep(1 * time.Second) grp.RequestManualStop() time.Sleep(1 * time.Second) grp.RequestManualStop() time.Sleep(1 * time.Second) <-done } for i := 0; i < repeatsFast; i++ { t.Logf("Continue %d (fast)", i) rch := make(chan struct{}) done := make(chan struct{}) grp.ResumeNotify(rch) go asyncCont(done) <-rch grp.RequestManualStop() grp.RequestManualStop() <-done } }) } func TestDwrapStartLocation(t *testing.T) { // Tests that the start location of a goroutine is unwrapped in Go 1.17 and later. withTestProcess("goroutinestackprog", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.stacktraceme") assertNoError(p.Continue(), t, "Continue()") gs, _, err := proc.GoroutinesInfo(p, 0, 0) assertNoError(err, t, "GoroutinesInfo") found := false for _, g := range gs { startLoc := g.StartLoc(p) if startLoc.Fn == nil { continue } t.Logf("%#v\n", startLoc.Fn.Name) if startLoc.Fn.Name == "main.agoroutine" { found = true break } } if !found { t.Errorf("could not find any goroutine with a start location of main.agoroutine") } }) } func TestWatchpointStack(t *testing.T) { skipOn(t, "not implemented", "freebsd") skipOn(t, "not implemented", "386") skipOn(t, "see https://github.com/go-delve/delve/issues/2768", "windows") protest.AllowRecording(t) position1 := 17 if runtime.GOARCH == "arm64" { position1 = 16 } withTestProcess("databpstack", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 11) // Position 0 breakpoint clearlen := len(p.Breakpoints().M) assertNoError(p.Continue(), t, "Continue 0") assertLineNumber(p, t, 11, "Continue 0") // Position 0 scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") _, err = p.SetWatchpoint(0, scope, "w", proc.WatchWrite, nil) assertNoError(err, t, "SetDataBreakpoint(write-only)") watchbpnum := 3 if recorded, _ := p.Recorded(); recorded { watchbpnum = 4 } if len(p.Breakpoints().M) != clearlen+watchbpnum { // want 1 watchpoint, 1 stack resize breakpoint, 1 out of scope sentinel (2 if recorded) t.Errorf("wrong number of breakpoints after setting watchpoint: %d", len(p.Breakpoints().M)-clearlen) } var retaddr uint64 for _, bp := range p.Breakpoints().M { for _, breaklet := range bp.Breaklets { if breaklet.Kind&proc.WatchOutOfScopeBreakpoint != 0 { retaddr = bp.Addr break } } } // Note: for recorded processes retaddr will not always be the return // address, ~50% of the times it will be the address of the CALL // instruction preceding the return address, this does not matter for this // test. _, err = p.SetBreakpoint(0, retaddr, proc.UserBreakpoint, nil) assertNoError(err, t, "SetBreakpoint") if len(p.Breakpoints().M) != clearlen+watchbpnum { // want 1 watchpoint, 1 stack resize breakpoint, 1 out of scope sentinel (which is also a user breakpoint) (and another out of scope sentinel if recorded) t.Errorf("wrong number of breakpoints after setting watchpoint: %d", len(p.Breakpoints().M)-clearlen) } assertNoError(p.Continue(), t, "Continue 1") assertLineNumber(p, t, position1, "Continue 1") // Position 1 assertNoError(p.Continue(), t, "Continue 2") t.Logf("%#v", p.CurrentThread().Breakpoint().Breakpoint) assertLineNumber(p, t, 24, "Continue 2") // Position 2 (watchpoint gone out of scope) if len(p.Breakpoints().M) != clearlen+1 { // want 1 user breakpoint set at retaddr t.Errorf("wrong number of breakpoints after watchpoint goes out of scope: %d", len(p.Breakpoints().M)-clearlen) } if len(p.Breakpoints().WatchOutOfScope) != 1 { t.Errorf("wrong number of out-of-scope watchpoints after watchpoint goes out of scope: %d", len(p.Breakpoints().WatchOutOfScope)) } err = p.ClearBreakpoint(retaddr) assertNoError(err, t, "ClearBreakpoint") if len(p.Breakpoints().M) != clearlen { // want 1 user breakpoint set at retaddr t.Errorf("wrong number of breakpoints after removing user breakpoint: %d", len(p.Breakpoints().M)-clearlen) } }) } func TestWatchpointStackBackwardsOutOfScope(t *testing.T) { skipUnlessOn(t, "only for recorded targets", "rr") protest.AllowRecording(t) withTestProcess("databpstack", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 11) // Position 0 breakpoint clearlen := len(p.Breakpoints().M) assertNoError(p.Continue(), t, "Continue 0") assertLineNumber(p, t, 11, "Continue 0") // Position 0 scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") _, err = p.SetWatchpoint(0, scope, "w", proc.WatchWrite, nil) assertNoError(err, t, "SetDataBreakpoint(write-only)") assertNoError(p.Continue(), t, "Continue 1") assertLineNumber(p, t, 17, "Continue 1") // Position 1 p.ChangeDirection(proc.Backward) assertNoError(p.Continue(), t, "Continue 2") t.Logf("%#v", p.CurrentThread().Breakpoint().Breakpoint) assertLineNumber(p, t, 16, "Continue 2") // Position 1 again (because of inverted movement) assertNoError(p.Continue(), t, "Continue 3") t.Logf("%#v", p.CurrentThread().Breakpoint().Breakpoint) assertLineNumber(p, t, 11, "Continue 3") // Position 0 (breakpoint 1 hit) assertNoError(p.Continue(), t, "Continue 4") t.Logf("%#v", p.CurrentThread().Breakpoint().Breakpoint) assertLineNumber(p, t, 23, "Continue 4") // Position 2 (watchpoint gone out of scope) if len(p.Breakpoints().M) != clearlen { t.Errorf("wrong number of breakpoints after watchpoint goes out of scope: %d", len(p.Breakpoints().M)-clearlen) } if len(p.Breakpoints().WatchOutOfScope) != 1 { t.Errorf("wrong number of out-of-scope watchpoints after watchpoint goes out of scope: %d", len(p.Breakpoints().WatchOutOfScope)) } if len(p.Breakpoints().M) != clearlen { // want 1 user breakpoint set at retaddr t.Errorf("wrong number of breakpoints after removing user breakpoint: %d", len(p.Breakpoints().M)-clearlen) } }) } func TestSetOnFunctions(t *testing.T) { // The set command between function variables should fail with an error // Issue #2691 withTestProcess("goroutinestackprog", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.main") assertNoError(p.Continue(), t, "Continue()") scope, err := proc.GoroutineScope(p, p.CurrentThread()) assertNoError(err, t, "GoroutineScope") err = scope.SetVariable("main.func1", "main.func2") if err == nil { t.Fatal("expected error when assigning between function variables") } }) } func TestSetYMMRegister(t *testing.T) { skipUnlessOn(t, "N/A", "darwin", "amd64") // Checks that setting a XMM register works. This checks that the // workaround for a bug in debugserver works. // See issue #2767. withTestProcess("setymmreg/", t, func(p *proc.Target, fixture protest.Fixture) { setFunctionBreakpoint(p, t, "main.asmFunc") assertNoError(p.Continue(), t, "Continue()") getReg := func(pos string) *op.DwarfRegister { regs := getRegisters(p, t) arch := p.BinInfo().Arch dregs := arch.RegistersToDwarfRegisters(0, regs) r := dregs.Reg(regnum.AMD64_XMM0) t.Logf("%s: %#v", pos, r) return r } getReg("before") p.CurrentThread().SetReg(regnum.AMD64_XMM0, op.DwarfRegisterFromBytes([]byte{ 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44})) assertNoError(p.CurrentThread().StepInstruction(), t, "SetpInstruction") xmm0 := getReg("after") for i := range xmm0.Bytes { if xmm0.Bytes[i] != 0x44 { t.Fatalf("wrong register value") } } }) } func TestNilPtrDerefInBreakInstr(t *testing.T) { // Checks that having a breakpoint on the exact instruction that causes a // nil pointer dereference does not cause problems. var asmfile string switch runtime.GOARCH { case "amd64": asmfile = "main_amd64.s" case "arm64": asmfile = "main_arm64.s" case "386": asmfile = "main_386.s" default: t.Fatalf("assembly file for %s not provided", runtime.GOARCH) } withTestProcess("asmnilptr/", t, func(p *proc.Target, fixture protest.Fixture) { f := filepath.Join(fixture.BuildDir, asmfile) f = strings.Replace(f, "\\", "/", -1) setFileBreakpoint(p, t, f, 5) t.Logf("first continue") assertNoError(p.Continue(), t, "Continue()") t.Logf("second continue") err := p.Continue() if runtime.GOOS == "darwin" && err != nil && err.Error() == "bad access" { // this is also ok return } assertNoError(err, t, "Continue()") bp := p.CurrentThread().Breakpoint() if bp != nil { t.Logf("%#v\n", bp.Breakpoint) } if bp == nil || (bp.Logical.Name != proc.UnrecoveredPanic) { t.Fatalf("no breakpoint hit or wrong breakpoint hit: %#v", bp) } }) } func TestStepIntoAutogeneratedSkip(t *testing.T) { // Tests that autogenerated functions are skipped with the new naming // scheme for autogenerated functions (issue #2948). withTestProcess("stepintobug", t, func(p *proc.Target, fixture protest.Fixture) { setFileBreakpoint(p, t, fixture.Source, 9) assertNoError(p.Continue(), t, "Continue()") assertNoError(p.Step(), t, "Step") assertLineNumber(p, t, 12, "After step") }) } func TestCallInjectionFlagCorruption(t *testing.T) { // debugCallV2 has a bug in amd64 where its tail corrupts the FLAGS register by running an ADD instruction. // Since this problem exists in many versions of Go, instead of fixing // debugCallV2, we work around this problem by restoring FLAGS, one extra // time, after stepping out of debugCallV2. // Fixes issue https://github.com/go-delve/delve/issues/2985 skipUnlessOn(t, "not relevant", "amd64") protest.MustSupportFunctionCalls(t, testBackend) withTestProcessArgs("badflags", t, ".", []string{"0"}, 0, func(p *proc.Target, fixture protest.Fixture) { mainfn := p.BinInfo().LookupFunc["main.main"] grp := proc.NewGroup(p) // Find JNZ instruction on line :14 var addr uint64 text, err := proc.Disassemble(p.Memory(), nil, p.Breakpoints(), p.BinInfo(), mainfn.Entry, mainfn.End) assertNoError(err, t, "Disassemble") for _, instr := range text { if instr.Loc.Line != 14 { continue } if proc.IsJNZ(instr.Inst) { addr = instr.Loc.PC } } if addr == 0 { t.Fatalf("Could not find JNZ instruction at line :14") } // Create breakpoint _, err = p.SetBreakpoint(0, addr, proc.UserBreakpoint, nil) assertNoError(err, t, "SetBreakpoint") // Continue to breakpoint assertNoError(grp.Continue(), t, "Continue()") assertLineNumber(p, t, 14, "expected line :14") // Save RFLAGS register rflagsBeforeCall := p.BinInfo().Arch.RegistersToDwarfRegisters(0, getRegisters(p, t)).Uint64Val(regnum.AMD64_Rflags) t.Logf("rflags before = %#x", rflagsBeforeCall) // Inject call to main.g() assertNoError(proc.EvalExpressionWithCalls(grp, p.SelectedGoroutine(), "g()", normalLoadConfig, true), t, "Call") // Check RFLAGS register after the call rflagsAfterCall := p.BinInfo().Arch.RegistersToDwarfRegisters(0, getRegisters(p, t)).Uint64Val(regnum.AMD64_Rflags) t.Logf("rflags after = %#x", rflagsAfterCall) if rflagsBeforeCall != rflagsAfterCall { t.Errorf("mismatched rflags value") } // Single step and check where we end up assertNoError(grp.Step(), t, "Step()") assertLineNumber(p, t, 17, "expected line :17") // since we passed "0" as argument we should be going into the false branch at line :17 }) } func TestGnuDebuglink(t *testing.T) { skipUnlessOn(t, "N/A", "linux") // build math.go and make a copy of the executable fixture := protest.BuildFixture("math", 0) buf, err := ioutil.ReadFile(fixture.Path) assertNoError(err, t, "ReadFile") debuglinkPath := fixture.Path + "-gnu_debuglink" assertNoError(ioutil.WriteFile(debuglinkPath, buf, 0666), t, "WriteFile") defer os.Remove(debuglinkPath) run := func(exe string, args ...string) { cmd := exec.Command(exe, args...) out, err := cmd.CombinedOutput() assertNoError(err, t, fmt.Sprintf("%s %q: %s", cmd, strings.Join(args, " "), out)) } // convert the executable copy to use .gnu_debuglink debuglinkDwoPath := debuglinkPath + ".dwo" run("objcopy", "--only-keep-debug", debuglinkPath, debuglinkDwoPath) defer os.Remove(debuglinkDwoPath) run("objcopy", "--strip-debug", debuglinkPath) run("objcopy", "--add-gnu-debuglink="+debuglinkDwoPath, debuglinkPath) // open original executable normalBinInfo := proc.NewBinaryInfo(runtime.GOOS, runtime.GOARCH) assertNoError(normalBinInfo.LoadBinaryInfo(fixture.Path, 0, []string{"/debugdir"}), t, "LoadBinaryInfo (normal exe)") // open .gnu_debuglink executable debuglinkBinInfo := proc.NewBinaryInfo(runtime.GOOS, runtime.GOARCH) assertNoError(debuglinkBinInfo.LoadBinaryInfo(debuglinkPath, 0, []string{"/debugdir"}), t, "LoadBinaryInfo (gnu_debuglink exe)") if len(normalBinInfo.Functions) != len(debuglinkBinInfo.Functions) { t.Fatalf("function list mismatch") } for i := range normalBinInfo.Functions { normalFn := normalBinInfo.Functions[i] debuglinkFn := debuglinkBinInfo.Functions[i] if normalFn.Entry != debuglinkFn.Entry || normalFn.Name != normalFn.Name { t.Fatalf("function definition mismatch") } } }
{'content_hash': 'e2fd508363caef77661bfb8ef45b72ad', 'timestamp': '', 'source': 'github', 'line_count': 6011, 'max_line_length': 174, 'avg_line_length': 31.67709199800366, 'alnum_prop': 0.6581184910535631, 'repo_name': 'go-delve/delve', 'id': 'a044944fc43a20b488e4fa2f8e225e3658d0f334', 'size': '190411', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'pkg/proc/proc_test.go', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Assembly', 'bytes': '3179'}, {'name': 'C', 'bytes': '2657334'}, {'name': 'Go', 'bytes': '2792924'}, {'name': 'Kotlin', 'bytes': '7688'}, {'name': 'Makefile', 'bytes': '970'}, {'name': 'PowerShell', 'bytes': '3085'}, {'name': 'Python', 'bytes': '599'}, {'name': 'Shell', 'bytes': '5109'}, {'name': 'Starlark', 'bytes': '2024'}]}
package org.apache.hyracks.algebricks.rewriter.rules; import org.apache.commons.lang3.mutable.Mutable; import org.apache.hyracks.algebricks.common.exceptions.AlgebricksException; import org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator; import org.apache.hyracks.algebricks.core.algebra.base.IOptimizationContext; import org.apache.hyracks.algebricks.core.algebra.operators.logical.AbstractLogicalOperator; import org.apache.hyracks.algebricks.core.algebra.util.OperatorManipulationUtil; import org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule; /** * This rule sets the executionMode property of an operator, w/o introducing * EXCHANGE operators in the plan. Previously, i.e. before having physical * optimizations in place, we were using the IntroduceExchangeRule, which was * doing both, to both set excutionMode and introduce data exchange ops. * * @author Nicola */ public class SetExecutionModeRule implements IAlgebraicRewriteRule { @Override public boolean rewritePost(Mutable<ILogicalOperator> opRef, IOptimizationContext context) throws AlgebricksException { AbstractLogicalOperator op = (AbstractLogicalOperator) opRef.getValue(); return OperatorManipulationUtil.setOperatorMode(op); } @Override public boolean rewritePre(Mutable<ILogicalOperator> opRef, IOptimizationContext context) { return false; } }
{'content_hash': 'b573476a701a69267b5b0f011b3f33df', 'timestamp': '', 'source': 'github', 'line_count': 34, 'max_line_length': 94, 'avg_line_length': 41.911764705882355, 'alnum_prop': 0.7971929824561403, 'repo_name': 'ty1er/incubator-asterixdb', 'id': '32a3bac714a12b9626130a1ea84d0a8ef7bb7693', 'size': '2232', 'binary': False, 'copies': '6', 'ref': 'refs/heads/master', 'path': 'hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/SetExecutionModeRule.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '13546'}, {'name': 'CSS', 'bytes': '22087'}, {'name': 'Crystal', 'bytes': '453'}, {'name': 'FreeMarker', 'bytes': '63839'}, {'name': 'HTML', 'bytes': '128395'}, {'name': 'Java', 'bytes': '21035886'}, {'name': 'JavaScript', 'bytes': '600616'}, {'name': 'PostScript', 'bytes': '224941'}, {'name': 'Python', 'bytes': '270538'}, {'name': 'Ruby', 'bytes': '3078'}, {'name': 'Scheme', 'bytes': '1105'}, {'name': 'Shell', 'bytes': '236685'}, {'name': 'Smarty', 'bytes': '31412'}, {'name': 'TeX', 'bytes': '1848'}]}
<?php // autoload_namespaces.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Zend\\' => array($vendorDir . '/zendframework/zendframework/library'), 'ZendXml' => array($vendorDir . '/zendframework/zendxml/library'), 'OrgHeiglHybridAuth' => array($vendorDir . '/org_heigl/hybridauth/src'), 'Hybridauth' => array($vendorDir . '/hybridauth/hybridauth/src'), );
{'content_hash': 'b64f0969c64f1e1b71e2005be7ade489', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 76, 'avg_line_length': 34.07692307692308, 'alnum_prop': 0.6839729119638827, 'repo_name': 'robotosLasers/rbt-ls', 'id': '20aca0df8c71165507076ec5a19da78dd803e560', 'size': '443', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'vendor/composer/autoload_namespaces.php', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'CSS', 'bytes': '1042'}, {'name': 'PHP', 'bytes': '15772'}]}
package com.thoughtworks.go.config.materials.git; public class RefSpecHelper { public static final String REFS_HEADS = "refs/heads/"; public static final String REFS_REMOTES = "refs/remotes/"; private RefSpecHelper() { } public static String localBranch(String branch) { final String local = findDest(branch); if (null == local) { return branch; } if (local.startsWith(REFS_HEADS)) { return local.substring(REFS_HEADS.length()); } if (local.startsWith(REFS_REMOTES)) { final int bound = local.indexOf("/", REFS_REMOTES.length()); // If the user does not specify a branch under the remote, this is likely // a user error. As a failsafe, allow the condition to fall through, which // effectively returns `refs/remotes/<remote-name>` as this will be // resolvable in git. if (-1 != bound) { return local.substring(bound + 1); } } return local; } public static String remoteBranch(String branch) { final String local = findDest(branch); if (null == local) { return "origin/" + branch; } if (!local.startsWith("refs/")) { return REFS_HEADS + local; } if (local.startsWith(REFS_REMOTES)) { // If the user does not specify a branch under the remote, this is likely // a user error. As a failsafe, allow the condition to fall through, which // effectively returns `refs/remotes/<remote-name>` as this will be // resolvable in git. if (-1 != local.indexOf("/", REFS_REMOTES.length())) { return local.substring(REFS_REMOTES.length()); } } return local; } /** * Finds the full ref of the upstream branch; for refSpecs, this returns the source fragment. * <p> * This is mainly used for {@code git ls-remote} during git connection check. * * @return the full ref of the upstream branch or source fragment of the refSpec */ public static String fullUpstreamRef(String branch) { final String source = findSource(branch); return null == source ? REFS_HEADS + branch : source; } public static boolean hasRefSpec(String branch) { return -1 != refSpecBoundary(branch); } /** * Ensures that the refSpec destination has an absolute path * * @return the absolute refSpec */ public static String expandRefSpec(String branch) { final String source = findSource(branch); if (null == source) { // equiv to hasRefSpec() return branch; } final String dest = findDest(branch); if (null == dest || dest.startsWith("refs/")) { return branch; } // NOTE: This behavior differs from the `git fetch <remote> <refSpec>` implicit, default // expansion, which effectively interprets `refs/a/b:c` as `refs/a/b:refs/heads/c`. // // Expanding the destination to be under `refs/remotes/origin/<dest>` is a more sensible // default for how GoCD works. As we actually create and _switch_ to the branch named // by the destination, `git fetch` would *fail* if the refSpec destination were to be // `refs/heads/<branchName>`; fetching directly to the current branch is illegal in `git` // (HEAD actually points to `refs/heads/<branchName>`). // // Fetching to `refs/remotes/origin/<branchName>` (and then merging, à la "pull") works // perfectly fine from the current branch. // // -- In case you were wondering. 🖖🏼 return source + ":" + REFS_REMOTES + "origin/" + dest; } public static String findSource(String branch) { final int boundary = refSpecBoundary(branch); return -1 == boundary ? null : branch.substring(0, boundary); } public static String findDest(String branch) { final int boundary = refSpecBoundary(branch); return -1 == boundary ? null : branch.substring(boundary + 1); } private static int refSpecBoundary(String branch) { return branch.indexOf(':'); } }
{'content_hash': '269cc9e2fee6a7144ead6a79717e111c', 'timestamp': '', 'source': 'github', 'line_count': 124, 'max_line_length': 97, 'avg_line_length': 34.70967741935484, 'alnum_prop': 0.5961895910780669, 'repo_name': 'Skarlso/gocd', 'id': '2ec279324ba32bd359b81c4627b48b732a519948', 'size': '4912', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'config/config-api/src/main/java/com/thoughtworks/go/config/materials/git/RefSpecHelper.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '474'}, {'name': 'CSS', 'bytes': '1578'}, {'name': 'EJS', 'bytes': '1626'}, {'name': 'FreeMarker', 'bytes': '48379'}, {'name': 'Groovy', 'bytes': '2439752'}, {'name': 'HTML', 'bytes': '275640'}, {'name': 'Java', 'bytes': '21175732'}, {'name': 'JavaScript', 'bytes': '837258'}, {'name': 'NSIS', 'bytes': '24216'}, {'name': 'Ruby', 'bytes': '426376'}, {'name': 'SCSS', 'bytes': '661872'}, {'name': 'Shell', 'bytes': '13847'}, {'name': 'TypeScript', 'bytes': '4435018'}, {'name': 'XSLT', 'bytes': '206746'}]}
class bUnitTestSet; // forward declaration class cUnitTestSuite;// forward declaration class bUnitTestCase { public: bUnitTestCase(bUnitTestSet *set, bool (bUnitTestSet::*method)(), bool automate=true) : pTestCaseFn(method), pTestSet(set), automatic(automate) {;} bool run() { bool ret = false; if(pTestCaseFn != NULL && pTestSet != NULL) ret = (pTestSet->*pTestCaseFn)(); // Invoke the test case. else fprintf(stdout, "ERROR: no testcase\n"); return ret; } bool IsAutomatic() {return automatic;} protected: // Implement these two variables (with bUnitTestSet derived class types) in the derived // class and set with SetTestCase(); bool (bUnitTestSet::*pTestCaseFn)(); bUnitTestSet *pTestSet; private: bUnitTestCase() {;} // prevent invocation of parameterless constructor. bool automatic; // Should this test case run automatically when the full set is executed. }; //----------------------------------------------------------- // Self Registering Test Set class // // Proper usage: // To use, inherit the new class from this class then // instantiate a single instance of the new class in the // new class's .C file at global scope. // Execute all tests from the implemented run() method. // // NOTE: Important - Only print errors to keep the output // clean. Do not print out success cases. //----------------------------------------------------------- class bUnitTestSet { public: bUnitTestSet(std::string testSetName); virtual ~bUnitTestSet() {;} bool run() { bool ret = true; for(int idx = 0; idx < testcaseByNumber.size(); ++idx) { if(testcase[testcaseByNumber[idx]]->IsAutomatic() == true) { if(testcase[testcaseByNumber[idx]]->run() == false) { fprintf(stdout, " ERROR: test case %d '%s' failed!\n", idx, testcaseByNumber[idx].c_str()); ret = false; } } } return ret; } bool RunTest(int number) { if(number < 0 || number >= testcaseByNumber.size()) { fprintf(stdout, "ERROR: Invalid test case number (%d)\n", number); return false; } return RunTest(testcaseByNumber[number]); } bool RunTest(std::string testName) { bool ret = false; std::map<std::string, bUnitTestCase *>::iterator pTC = testcase.find(testName); if(pTC == testcase.end()) fprintf(stdout, "ERROR: testcase '%s' not found in test set '%s'\n", testName.c_str(), name.c_str()); else ret = pTC->second->run(); return ret; } std::string GetName() {return name;} void PrintList() { for(int idx = 0; idx < testcaseByNumber.size(); ++idx) printf(" TESTCASE: %2d ..... %s\n", idx, testcaseByNumber[idx].c_str()); } std::string GetTestCaseName(int caseNumber) { if(caseNumber < 0 || caseNumber >= testcaseByNumber.size()) return std::string("Invalid Test Case Number"); return testcaseByNumber[caseNumber]; } protected: void AddTestcase(std::string testName, bUnitTestCase *pTC) { if(pTC) { testcase[testName] = pTC; testcaseByNumber.push_back(testName); } } std::string name; private: bUnitTestSet(); // Disallow default parameterless contructor to force test set name to be provided. std::map<std::string, bUnitTestCase *> testcase; std::vector<std::string> testcaseByNumber; }; // Singleton class to execute all tests class cUnitTestSuite { public: static cUnitTestSuite* GetInstance(){ if(!pInstance){ pInstance = new cUnitTestSuite(); } return pInstance;} void AddTestSet(std::string testSetName, bUnitTestSet *pSet) {testset[testSetName] = pSet; testsetByNumber.push_back(testSetName);} bool ExecuteTestSuite() { bool ret = true; for(int idx = 0; idx < testsetByNumber.size(); ++idx) { fprintf(stdout, "Executing test set %d '%s'... ", idx, testset[testsetByNumber[idx]]->GetName().c_str()); if(testset[testsetByNumber[idx]]->run() == false) { fprintf(stdout, "ERROR: test set %d '%s' failed!\n", idx, testset[testsetByNumber[idx]]->GetName().c_str()); ret = false; } else fprintf(stdout, "Passed\n"); } return ret; } bool ExecuteTestSet(int number) { if(number < 0 || number >= testsetByNumber.size()) { fprintf(stdout, "ERROR: Invalid test set number (%d)\n", number); return false; } return ExecuteTestSet(testsetByNumber[number]); } bool ExecuteTestSet(std::string setName) { bool ret = false; std::map<std::string, bUnitTestSet *>::iterator pSet = testset.find(setName); if(pSet == testset.end()) fprintf(stdout, "ERROR: test set '%s' not found\n", setName.c_str()); else { fprintf(stdout, "Executing test set: '%s'... ", pSet->second->GetName().c_str()); ret = pSet->second->run(); } if(ret == false) fprintf(stdout, "ERROR: test set '%s' failed!\n", setName.c_str()); else fprintf(stdout, "Passed\n"); return ret; } bool ExecuteTest(int setNumber, int caseNumber) { if(setNumber < 0 || setNumber >= testsetByNumber.size()) { fprintf(stdout, "ERROR: Invalid test set number (%d)\n", setNumber); return false; } return ExecuteTest(testsetByNumber[setNumber], caseNumber); } bool ExecuteTest(std::string setName, int caseNumber) { bool ret = false; std::map<std::string, bUnitTestSet *>::iterator pSet = testset.find(setName); if(pSet == testset.end()) fprintf(stdout, "ERROR: test set '%s' not found\n", setName.c_str()); else ret = pSet->second->RunTest(caseNumber); if(ret == false) fprintf(stdout, "ERROR: test case %d from test set '%s' failed!\n", caseNumber, setName.c_str()); return ret; } void PrintList() { printf("\n\nListing all tests\n"); for(int idx = 0; idx < testsetByNumber.size(); ++idx) { printf(" TEST SET: %2d ..... %s\n", idx, testsetByNumber[idx].c_str()); testset[testsetByNumber[idx]]->PrintList(); } } std::string GetTestSetName(int setNumber) { if(setNumber < 0 || setNumber >= testsetByNumber.size()) return std::string("Invalid Test Set Number"); return testsetByNumber[setNumber]; } std::string GetTestCaseName(int setNumber, int caseNumber) { if(setNumber < 0 || setNumber >= testsetByNumber.size()) return std::string("Invalid Test Set Number"); return testset[testsetByNumber[setNumber]]->GetTestCaseName(caseNumber); } private: cUnitTestSuite() {;} // Singleton class is self contructed. Use GetInstance() to instantiate. static cUnitTestSuite *pInstance; std::map<std::string, bUnitTestSet *> testset; std::vector<std::string> testsetByNumber; }; #endif // end BUNITTEST_H inclusion guard
{'content_hash': '8fec73efef04b84ca59f4018af6307ec', 'timestamp': '', 'source': 'github', 'line_count': 201, 'max_line_length': 134, 'avg_line_length': 33.646766169154226, 'alnum_prop': 0.6341860121247966, 'repo_name': 'kevgraham7/toolbox', 'id': 'fef20aa06619fc87465447dfcc42acaae1779ef9', 'size': '10740', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'cxx/unit_tester/base/bunittest.h', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'C', 'bytes': '17307'}, {'name': 'C++', 'bytes': '16442'}, {'name': 'CSS', 'bytes': '2537'}, {'name': 'HTML', 'bytes': '9646'}, {'name': 'Java', 'bytes': '127092'}, {'name': 'JavaScript', 'bytes': '55345'}, {'name': 'Makefile', 'bytes': '540'}, {'name': 'Python', 'bytes': '49050'}, {'name': 'Shell', 'bytes': '5228'}, {'name': 'TSQL', 'bytes': '56964'}, {'name': 'TypeScript', 'bytes': '2340'}, {'name': 'Vim script', 'bytes': '3579'}]}
FROM balenalib/via-vab820-quad-fedora:36-build # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 RUN dnf install -y \ python3-pip \ python3-dbus \ && dnf clean all # install "virtualenv", since the vast majority of users of this image will want it RUN pip3 install -U --no-cache-dir --ignore-installed pip setuptools \ && pip3 install --no-cache-dir virtualenv RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'As of January 1st, 2020, Python 2 was end-of-life, we will change the latest tag for Balenalib Python base image to Python 3.x and drop support for Python 2 soon. So after 1st July, 2020, all the balenalib Python latest tag will point to the latest Python 3 version and no changes, or fixes will be made to balenalib Python 2 base image. If you are using Python 2 for your application, please upgrade to Python 3 before 1st July.' > /.balena/messages/python-deprecation-warning CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"] RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/test-stack@python.sh" \ && echo "Running test-stack@python" \ && chmod +x test-stack@python.sh \ && bash test-stack@python.sh \ && rm -rf test-stack@python.sh RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v7 \nOS: Fedora 36 \nVariant: build variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nPython v3.9.10, Pip v21.3.1, Setuptools v60.5.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info RUN echo $'#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \ && chmod +x /bin/sh-shim \ && cp /bin/sh /bin/sh.real \ && mv /bin/sh-shim /bin/sh
{'content_hash': '983b289a3850132476e50a11bb9953a7', 'timestamp': '', 'source': 'github', 'line_count': 31, 'max_line_length': 708, 'avg_line_length': 78.12903225806451, 'alnum_prop': 0.7336911643270024, 'repo_name': 'resin-io-library/base-images', 'id': 'e731cd01a9e2d24d16be42b642db05ca2bac8a90', 'size': '2443', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'balena-base-images/python/via-vab820-quad/fedora/36/3.9.10/build/Dockerfile', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Dockerfile', 'bytes': '71234697'}, {'name': 'JavaScript', 'bytes': '13096'}, {'name': 'Shell', 'bytes': '12051936'}, {'name': 'Smarty', 'bytes': '59789'}]}
#ifndef __LINUX_BRIDGE_NETFILTER_H #define __LINUX_BRIDGE_NETFILTER_H /* bridge-specific defines for netfilter. */ #include <linux/netfilter.h> #include <linux/if_ether.h> #include <linux/if_vlan.h> #include <linux/if_pppox.h> /* Bridge Hooks */ /* After promisc drops, checksum checks. */ #define NF_BR_PRE_ROUTING 0 /* If the packet is destined for this box. */ #define NF_BR_LOCAL_IN 1 /* If the packet is destined for another interface. */ #define NF_BR_FORWARD 2 /* Packets coming from a local process. */ #define NF_BR_LOCAL_OUT 3 /* Packets about to hit the wire. */ #define NF_BR_POST_ROUTING 4 /* Not really a hook, but used for the ebtables broute table */ #define NF_BR_BROUTING 5 #define NF_BR_NUMHOOKS 6 #ifdef __KERNEL__ enum nf_br_hook_priorities { NF_BR_PRI_FIRST = INT_MIN, NF_BR_PRI_NAT_DST_BRIDGED = -300, NF_BR_PRI_FILTER_BRIDGED = -200, NF_BR_PRI_BRNF = 0, NF_BR_PRI_NAT_DST_OTHER = 100, NF_BR_PRI_FILTER_OTHER = 200, NF_BR_PRI_NAT_SRC = 300, NF_BR_PRI_LAST = INT_MAX, }; #ifdef CONFIG_BRIDGE_NETFILTER #define BRNF_PKT_TYPE 0x01 #define BRNF_BRIDGED_DNAT 0x02 #define BRNF_BRIDGED 0x04 #define BRNF_NF_BRIDGE_PREROUTING 0x08 #define BRNF_8021Q 0x10 #define BRNF_PPPoE 0x20 /* Only used in br_forward.c */ extern int nf_bridge_copy_header(struct sk_buff *skb); static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb) { if (skb->nf_bridge && skb->nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT)) return nf_bridge_copy_header(skb); return 0; } static inline unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb) { switch (skb->protocol) { case __cpu_to_be16(ETH_P_8021Q): return VLAN_HLEN; case __cpu_to_be16(ETH_P_PPP_SES): return PPPOE_SES_HLEN; default: return 0; } } static inline unsigned int nf_bridge_mtu_reduction(const struct sk_buff *skb) { if (unlikely(skb->nf_bridge->mask & BRNF_PPPoE)) return PPPOE_SES_HLEN; return 0; } extern int br_handle_frame_finish(struct sk_buff *skb); /* Only used in br_device.c */ static inline int br_nf_pre_routing_finish_bridge_slow(struct sk_buff *skb) { struct nf_bridge_info *nf_bridge = skb->nf_bridge; skb_pull(skb, ETH_HLEN); nf_bridge->mask ^= BRNF_BRIDGED_DNAT; skb_copy_to_linear_data_offset(skb, -(ETH_HLEN-ETH_ALEN), skb->nf_bridge->data, ETH_HLEN-ETH_ALEN); skb->dev = nf_bridge->physindev; return br_handle_frame_finish(skb); } /* This is called by the IP fragmenting code and it ensures there is * enough room for the encapsulating header (if there is one). */ static inline unsigned int nf_bridge_pad(const struct sk_buff *skb) { if (skb->nf_bridge) return nf_bridge_encap_header_len(skb); return 0; } struct bridge_skb_cb { union { __be32 ipv4; } daddr; }; static inline void br_drop_fake_rtable(struct sk_buff *skb) { struct dst_entry *dst = skb_dst(skb); if (dst && (dst->flags & DST_FAKE_RTABLE)) skb_dst_drop(skb); } #else #define nf_bridge_maybe_copy_header(skb) (0) #define nf_bridge_pad(skb) (0) #define br_drop_fake_rtable(skb) do { } while (0) #endif /* CONFIG_BRIDGE_NETFILTER */ #endif /* __KERNEL__ */ #endif
{'content_hash': '2a651fae96b0ca4a5d6b7bef1a076a37', 'timestamp': '', 'source': 'github', 'line_count': 122, 'max_line_length': 80, 'avg_line_length': 25.71311475409836, 'alnum_prop': 0.6923812559770481, 'repo_name': 'andrewjylee/omniplay', 'id': '31d2844e6572be34ed104e1a92fafd48abc0bf76', 'size': '3137', 'binary': False, 'copies': '4609', 'ref': 'refs/heads/master', 'path': 'linux-lts-quantal-3.5.0/include/linux/netfilter_bridge.h', 'mode': '33188', 'license': 'bsd-2-clause', 'language': [{'name': 'ASP', 'bytes': '4528'}, {'name': 'Assembly', 'bytes': '8662249'}, {'name': 'Awk', 'bytes': '79791'}, {'name': 'Batchfile', 'bytes': '903'}, {'name': 'C', 'bytes': '451499135'}, {'name': 'C++', 'bytes': '6338106'}, {'name': 'Groff', 'bytes': '2522798'}, {'name': 'HTML', 'bytes': '47935'}, {'name': 'Java', 'bytes': '2193'}, {'name': 'Lex', 'bytes': '44513'}, {'name': 'Logos', 'bytes': '97869'}, {'name': 'Makefile', 'bytes': '1700085'}, {'name': 'Objective-C', 'bytes': '1148023'}, {'name': 'Perl', 'bytes': '530370'}, {'name': 'Perl6', 'bytes': '3727'}, {'name': 'Python', 'bytes': '493452'}, {'name': 'Scilab', 'bytes': '21433'}, {'name': 'Shell', 'bytes': '409014'}, {'name': 'SourcePawn', 'bytes': '11760'}, {'name': 'TeX', 'bytes': '283872'}, {'name': 'UnrealScript', 'bytes': '6143'}, {'name': 'XS', 'bytes': '1240'}, {'name': 'Yacc', 'bytes': '93190'}]}
/* NProgress Loader Plugin */ #nprogress { pointer-events: none; } #nprogress .bar { background: #29d; position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 2px; } #nprogress .peg { display: block; position: absolute; right: 0px; width: 100px; height: 100%; box-shadow: 0 0 10px #29d, 0 0 5px #29d; opacity: 1.0; -webkit-transform: rotate(3deg) translate(0px, -4px); -ms-transform: rotate(3deg) translate(0px, -4px); transform: rotate(3deg) translate(0px, -4px); } #nprogress .spinner { display: block; position: fixed; z-index: 100; top: 55px; right: 15px; } #nprogress .spinner-icon { width: 18px; height: 18px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #29d; border-left-color: #29d; border-radius: 50%; -webkit-animation: nprogress-spinner 400ms linear infinite; animation: nprogress-spinner 400ms linear infinite; } @-webkit-keyframes nprogress-spinner { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes nprogress-spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Animate CSS3 */ @charset "UTF-8"; .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } .animated.hinge { -webkit-animation-duration: 2s; animation-duration: 2s; } @-webkit-keyframes bounce { 0%, 100%, 20%, 50%, 80% { -webkit-transform: translateY(0); transform: translateY(0); } 40% { -webkit-transform: translateY(-30px); transform: translateY(-30px); } 60% { -webkit-transform: translateY(-15px); transform: translateY(-15px); } }@keyframes bounce { 0%, 100%, 20%, 50%, 80% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 40% { -webkit-transform: translateY(-30px); -ms-transform: translateY(-30px); transform: translateY(-30px); } 60% { -webkit-transform: translateY(-15px); -ms-transform: translateY(-15px); transform: translateY(-15px); } }.bounce { -webkit-animation-name: bounce; animation-name: bounce; } @-webkit-keyframes flash { 0%, 100%, 50% { opacity: 1; } 25%, 75% { opacity: 0; } }@keyframes flash { 0%, 100%, 50% { opacity: 1; } 25%, 75% { opacity: 0; } }.flash { -webkit-animation-name: flash; animation-name: flash; } @-webkit-keyframes pulse { 0% { -webkit-transform: scale(1); transform: scale(1); } 50% { -webkit-transform: scale(1.1); transform: scale(1.1); } 100% { -webkit-transform: scale(1); transform: scale(1); } }@keyframes pulse { 0% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } 50% { -webkit-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); } 100% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } }.pulse { -webkit-animation-name: pulse; animation-name: pulse; } @-webkit-keyframes rubberBand { 0% { -webkit-transform: scale(1); transform: scale(1); } 30% { -webkit-transform: scaleX(1.25) scaleY(0.75); transform: scaleX(1.25) scaleY(0.75); } 40% { -webkit-transform: scaleX(0.75) scaleY(1.25); transform: scaleX(0.75) scaleY(1.25); } 60% { -webkit-transform: scaleX(1.15) scaleY(0.85); transform: scaleX(1.15) scaleY(0.85); } 100% { -webkit-transform: scale(1); transform: scale(1); } }@keyframes rubberBand { 0% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } 30% { -webkit-transform: scaleX(1.25) scaleY(0.75); -ms-transform: scaleX(1.25) scaleY(0.75); transform: scaleX(1.25) scaleY(0.75); } 40% { -webkit-transform: scaleX(0.75) scaleY(1.25); -ms-transform: scaleX(0.75) scaleY(1.25); transform: scaleX(0.75) scaleY(1.25); } 60% { -webkit-transform: scaleX(1.15) scaleY(0.85); -ms-transform: scaleX(1.15) scaleY(0.85); transform: scaleX(1.15) scaleY(0.85); } 100% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } }.rubberBand { -webkit-animation-name: rubberBand; animation-name: rubberBand; } @-webkit-keyframes shake { 0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { -webkit-transform: translateX(-10px); transform: translateX(-10px); } 20%, 40%, 60%, 80% { -webkit-transform: translateX(10px); transform: translateX(10px); } }@keyframes shake { 0%, 100% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { -webkit-transform: translateX(-10px); -ms-transform: translateX(-10px); transform: translateX(-10px); } 20%, 40%, 60%, 80% { -webkit-transform: translateX(10px); -ms-transform: translateX(10px); transform: translateX(10px); } }.shake { -webkit-animation-name: shake; animation-name: shake; } @-webkit-keyframes swing { 20% { -webkit-transform: rotate(15deg); transform: rotate(15deg); } 40% { -webkit-transform: rotate(-10deg); transform: rotate(-10deg); } 60% { -webkit-transform: rotate(5deg); transform: rotate(5deg); } 80% { -webkit-transform: rotate(-5deg); transform: rotate(-5deg); } 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } }@keyframes swing { 20% { -webkit-transform: rotate(15deg); -ms-transform: rotate(15deg); transform: rotate(15deg); } 40% { -webkit-transform: rotate(-10deg); -ms-transform: rotate(-10deg); transform: rotate(-10deg); } 60% { -webkit-transform: rotate(5deg); -ms-transform: rotate(5deg); transform: rotate(5deg); } 80% { -webkit-transform: rotate(-5deg); -ms-transform: rotate(-5deg); transform: rotate(-5deg); } 100% { -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); } }.swing { -webkit-transform-origin: top center; -ms-transform-origin: top center; transform-origin: top center; -webkit-animation-name: swing; animation-name: swing; } @-webkit-keyframes tada { 0% { -webkit-transform: scale(1); transform: scale(1); } 10%, 20% { -webkit-transform: scale(0.9) rotate(-3deg); transform: scale(0.9) rotate(-3deg); } 30%, 50%, 70%, 90% { -webkit-transform: scale(1.1) rotate(3deg); transform: scale(1.1) rotate(3deg); } 40%, 60%, 80% { -webkit-transform: scale(1.1) rotate(-3deg); transform: scale(1.1) rotate(-3deg); } 100% { -webkit-transform: scale(1) rotate(0); transform: scale(1) rotate(0); } }@keyframes tada { 0% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } 10%, 20% { -webkit-transform: scale(0.9) rotate(-3deg); -ms-transform: scale(0.9) rotate(-3deg); transform: scale(0.9) rotate(-3deg); } 30%, 50%, 70%, 90% { -webkit-transform: scale(1.1) rotate(3deg); -ms-transform: scale(1.1) rotate(3deg); transform: scale(1.1) rotate(3deg); } 40%, 60%, 80% { -webkit-transform: scale(1.1) rotate(-3deg); -ms-transform: scale(1.1) rotate(-3deg); transform: scale(1.1) rotate(-3deg); } 100% { -webkit-transform: scale(1) rotate(0); -ms-transform: scale(1) rotate(0); transform: scale(1) rotate(0); } }.tada { -webkit-animation-name: tada; animation-name: tada; } @-webkit-keyframes wobble { 0% { -webkit-transform: translateX(0%); transform: translateX(0%); } 15% { -webkit-transform: translateX(-25%) rotate(-5deg); transform: translateX(-25%) rotate(-5deg); } 30% { -webkit-transform: translateX(20%) rotate(3deg); transform: translateX(20%) rotate(3deg); } 45% { -webkit-transform: translateX(-15%) rotate(-3deg); transform: translateX(-15%) rotate(-3deg); } 60% { -webkit-transform: translateX(10%) rotate(2deg); transform: translateX(10%) rotate(2deg); } 75% { -webkit-transform: translateX(-5%) rotate(-1deg); transform: translateX(-5%) rotate(-1deg); } 100% { -webkit-transform: translateX(0%); transform: translateX(0%); } }@keyframes wobble { 0% { -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); } 15% { -webkit-transform: translateX(-25%) rotate(-5deg); -ms-transform: translateX(-25%) rotate(-5deg); transform: translateX(-25%) rotate(-5deg); } 30% { -webkit-transform: translateX(20%) rotate(3deg); -ms-transform: translateX(20%) rotate(3deg); transform: translateX(20%) rotate(3deg); } 45% { -webkit-transform: translateX(-15%) rotate(-3deg); -ms-transform: translateX(-15%) rotate(-3deg); transform: translateX(-15%) rotate(-3deg); } 60% { -webkit-transform: translateX(10%) rotate(2deg); -ms-transform: translateX(10%) rotate(2deg); transform: translateX(10%) rotate(2deg); } 75% { -webkit-transform: translateX(-5%) rotate(-1deg); -ms-transform: translateX(-5%) rotate(-1deg); transform: translateX(-5%) rotate(-1deg); } 100% { -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); } }.wobble { -webkit-animation-name: wobble; animation-name: wobble; } @-webkit-keyframes bounceIn { 0% { opacity: 0; -webkit-transform: scale(.3); transform: scale(.3); } 50% { opacity: 1; -webkit-transform: scale(1.05); transform: scale(1.05); } 70% { -webkit-transform: scale(.9); transform: scale(.9); } 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } }@keyframes bounceIn { 0% { opacity: 0; -webkit-transform: scale(.3); -ms-transform: scale(.3); transform: scale(.3); } 50% { opacity: 1; -webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05); } 70% { -webkit-transform: scale(.9); -ms-transform: scale(.9); transform: scale(.9); } 100% { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } }.bounceIn { -webkit-animation-name: bounceIn; animation-name: bounceIn; } @-webkit-keyframes bounceInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } 60% { opacity: 1; -webkit-transform: translateY(30px); transform: translateY(30px); } 80% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes bounceInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } 60% { opacity: 1; -webkit-transform: translateY(30px); -ms-transform: translateY(30px); transform: translateY(30px); } 80% { -webkit-transform: translateY(-10px); -ms-transform: translateY(-10px); transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.bounceInDown { -webkit-animation-name: bounceInDown; animation-name: bounceInDown; } @-webkit-keyframes bounceInLeft { 0% { opacity: 0; -webkit-transform: translateX(-2000px); transform: translateX(-2000px); } 60% { opacity: 1; -webkit-transform: translateX(30px); transform: translateX(30px); } 80% { -webkit-transform: translateX(-10px); transform: translateX(-10px); } 100% { -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes bounceInLeft { 0% { opacity: 0; -webkit-transform: translateX(-2000px); -ms-transform: translateX(-2000px); transform: translateX(-2000px); } 60% { opacity: 1; -webkit-transform: translateX(30px); -ms-transform: translateX(30px); transform: translateX(30px); } 80% { -webkit-transform: translateX(-10px); -ms-transform: translateX(-10px); transform: translateX(-10px); } 100% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.bounceInLeft { -webkit-animation-name: bounceInLeft; animation-name: bounceInLeft; } @-webkit-keyframes bounceInRight { 0% { opacity: 0; -webkit-transform: translateX(2000px); transform: translateX(2000px); } 60% { opacity: 1; -webkit-transform: translateX(-30px); transform: translateX(-30px); } 80% { -webkit-transform: translateX(10px); transform: translateX(10px); } 100% { -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes bounceInRight { 0% { opacity: 0; -webkit-transform: translateX(2000px); -ms-transform: translateX(2000px); transform: translateX(2000px); } 60% { opacity: 1; -webkit-transform: translateX(-30px); -ms-transform: translateX(-30px); transform: translateX(-30px); } 80% { -webkit-transform: translateX(10px); -ms-transform: translateX(10px); transform: translateX(10px); } 100% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.bounceInRight { -webkit-animation-name: bounceInRight; animation-name: bounceInRight; } @-webkit-keyframes bounceInUp { 0% { opacity: 0; -webkit-transform: translateY(2000px); transform: translateY(2000px); } 60% { opacity: 1; -webkit-transform: translateY(-30px); transform: translateY(-30px); } 80% { -webkit-transform: translateY(10px); transform: translateY(10px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes bounceInUp { 0% { opacity: 0; -webkit-transform: translateY(2000px); -ms-transform: translateY(2000px); transform: translateY(2000px); } 60% { opacity: 1; -webkit-transform: translateY(-30px); -ms-transform: translateY(-30px); transform: translateY(-30px); } 80% { -webkit-transform: translateY(10px); -ms-transform: translateY(10px); transform: translateY(10px); } 100% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.bounceInUp { -webkit-animation-name: bounceInUp; animation-name: bounceInUp; } @-webkit-keyframes bounceOut { 0% { -webkit-transform: scale(1); transform: scale(1); } 25% { -webkit-transform: scale(.95); transform: scale(.95); } 50% { opacity: 1; -webkit-transform: scale(1.1); transform: scale(1.1); } 100% { opacity: 0; -webkit-transform: scale(.3); transform: scale(.3); } }@keyframes bounceOut { 0% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } 25% { -webkit-transform: scale(.95); -ms-transform: scale(.95); transform: scale(.95); } 50% { opacity: 1; -webkit-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); } 100% { opacity: 0; -webkit-transform: scale(.3); -ms-transform: scale(.3); transform: scale(.3); } }.bounceOut { -webkit-animation-name: bounceOut; animation-name: bounceOut; } @-webkit-keyframes bounceOutDown { 0% { -webkit-transform: translateY(0); transform: translateY(0); } 20% { opacity: 1; -webkit-transform: translateY(-20px); transform: translateY(-20px); } 100% { opacity: 0; -webkit-transform: translateY(2000px); transform: translateY(2000px); } }@keyframes bounceOutDown { 0% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 20% { opacity: 1; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); } 100% { opacity: 0; -webkit-transform: translateY(2000px); -ms-transform: translateY(2000px); transform: translateY(2000px); } }.bounceOutDown { -webkit-animation-name: bounceOutDown; animation-name: bounceOutDown; } @-webkit-keyframes bounceOutLeft { 0% { -webkit-transform: translateX(0); transform: translateX(0); } 20% { opacity: 1; -webkit-transform: translateX(20px); transform: translateX(20px); } 100% { opacity: 0; -webkit-transform: translateX(-2000px); transform: translateX(-2000px); } }@keyframes bounceOutLeft { 0% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 20% { opacity: 1; -webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px); } 100% { opacity: 0; -webkit-transform: translateX(-2000px); -ms-transform: translateX(-2000px); transform: translateX(-2000px); } }.bounceOutLeft { -webkit-animation-name: bounceOutLeft; animation-name: bounceOutLeft; } @-webkit-keyframes bounceOutRight { 0% { -webkit-transform: translateX(0); transform: translateX(0); } 20% { opacity: 1; -webkit-transform: translateX(-20px); transform: translateX(-20px); } 100% { opacity: 0; -webkit-transform: translateX(2000px); transform: translateX(2000px); } }@keyframes bounceOutRight { 0% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 20% { opacity: 1; -webkit-transform: translateX(-20px); -ms-transform: translateX(-20px); transform: translateX(-20px); } 100% { opacity: 0; -webkit-transform: translateX(2000px); -ms-transform: translateX(2000px); transform: translateX(2000px); } }.bounceOutRight { -webkit-animation-name: bounceOutRight; animation-name: bounceOutRight; } @-webkit-keyframes bounceOutUp { 0% { -webkit-transform: translateY(0); transform: translateY(0); } 20% { opacity: 1; -webkit-transform: translateY(20px); transform: translateY(20px); } 100% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } }@keyframes bounceOutUp { 0% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 20% { opacity: 1; -webkit-transform: translateY(20px); -ms-transform: translateY(20px); transform: translateY(20px); } 100% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } }.bounceOutUp { -webkit-animation-name: bounceOutUp; animation-name: bounceOutUp; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }.fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; } @-webkit-keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translateY(-20px); transform: translateY(-20px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes fadeInDown { 0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); } 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.fadeInDown { -webkit-animation-name: fadeInDown; animation-name: fadeInDown; } @-webkit-keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes fadeInDownBig { 0% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.fadeInDownBig { -webkit-animation-name: fadeInDownBig; animation-name: fadeInDownBig; } @-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translateX(-20px); -ms-transform: translateX(-20px); transform: translateX(-20px); } 100% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.fadeInLeft { -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; } @-webkit-keyframes fadeInLeftBig { 0% { opacity: 0; -webkit-transform: translateX(-2000px); transform: translateX(-2000px); } 100% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes fadeInLeftBig { 0% { opacity: 0; -webkit-transform: translateX(-2000px); -ms-transform: translateX(-2000px); transform: translateX(-2000px); } 100% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.fadeInLeftBig { -webkit-animation-name: fadeInLeftBig; animation-name: fadeInLeftBig; } @-webkit-keyframes fadeInRight { 0% { opacity: 0; -webkit-transform: translateX(20px); transform: translateX(20px); } 100% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes fadeInRight { 0% { opacity: 0; -webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px); } 100% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.fadeInRight { -webkit-animation-name: fadeInRight; animation-name: fadeInRight; } @-webkit-keyframes fadeInRightBig { 0% { opacity: 0; -webkit-transform: translateX(2000px); transform: translateX(2000px); } 100% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes fadeInRightBig { 0% { opacity: 0; -webkit-transform: translateX(2000px); -ms-transform: translateX(2000px); transform: translateX(2000px); } 100% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.fadeInRightBig { -webkit-animation-name: fadeInRightBig; animation-name: fadeInRightBig; } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translateY(20px); -ms-transform: translateY(20px); transform: translateY(20px); } 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.fadeInUp { -webkit-animation-name: fadeInUp; animation-name: fadeInUp; } @-webkit-keyframes fadeInUpBig { 0% { opacity: 0; -webkit-transform: translateY(2000px); transform: translateY(2000px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes fadeInUpBig { 0% { opacity: 0; -webkit-transform: translateY(2000px); -ms-transform: translateY(2000px); transform: translateY(2000px); } 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.fadeInUpBig { -webkit-animation-name: fadeInUpBig; animation-name: fadeInUpBig; } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }.fadeOut { -webkit-animation-name: fadeOut; animation-name: fadeOut; } @-webkit-keyframes fadeOutDown { 0% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px); } }@keyframes fadeOutDown { 0% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(20px); -ms-transform: translateY(20px); transform: translateY(20px); } }.fadeOutDown { -webkit-animation-name: fadeOutDown; animation-name: fadeOutDown; } @-webkit-keyframes fadeOutDownBig { 0% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(2000px); transform: translateY(2000px); } }@keyframes fadeOutDownBig { 0% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(2000px); -ms-transform: translateY(2000px); transform: translateY(2000px); } }.fadeOutDownBig { -webkit-animation-name: fadeOutDownBig; animation-name: fadeOutDownBig; } @-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); transform: translateX(-20px); } }@keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-20px); -ms-transform: translateX(-20px); transform: translateX(-20px); } }.fadeOutLeft { -webkit-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } @-webkit-keyframes fadeOutLeftBig { 0% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-2000px); transform: translateX(-2000px); } }@keyframes fadeOutLeftBig { 0% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-2000px); -ms-transform: translateX(-2000px); transform: translateX(-2000px); } }.fadeOutLeftBig { -webkit-animation-name: fadeOutLeftBig; animation-name: fadeOutLeftBig; } @-webkit-keyframes fadeOutRight { 0% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(20px); transform: translateX(20px); } }@keyframes fadeOutRight { 0% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px); } }.fadeOutRight { -webkit-animation-name: fadeOutRight; animation-name: fadeOutRight; } @-webkit-keyframes fadeOutRightBig { 0% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(2000px); transform: translateX(2000px); } }@keyframes fadeOutRightBig { 0% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(2000px); -ms-transform: translateX(2000px); transform: translateX(2000px); } }.fadeOutRightBig { -webkit-animation-name: fadeOutRightBig; animation-name: fadeOutRightBig; } @-webkit-keyframes fadeOutUp { 0% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(-20px); transform: translateY(-20px); } }@keyframes fadeOutUp { 0% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); } }.fadeOutUp { -webkit-animation-name: fadeOutUp; animation-name: fadeOutUp; } @-webkit-keyframes fadeOutUpBig { 0% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } }@keyframes fadeOutUpBig { 0% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } }.fadeOutUpBig { -webkit-animation-name: fadeOutUpBig; animation-name: fadeOutUpBig; } @-webkit-keyframes flip { 0% { -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); transform: perspective(400px) translateZ(0) rotateY(0) scale(1); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 40% { -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 50% { -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 80% { -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 100% { -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } }@keyframes flip { 0% { -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); -ms-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); transform: perspective(400px) translateZ(0) rotateY(0) scale(1); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 40% { -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); -ms-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 50% { -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); -ms-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 80% { -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 100% { -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } } .animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}@-webkit-keyframes flipInX { 0% { -webkit-transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { -webkit-transform: perspective(400px) rotateX(-10deg); } 70% { -webkit-transform: perspective(400px) rotateX(10deg); } 100% { -webkit-transform: perspective(400px) rotateX(0deg); opacity: 1; } } @-moz-keyframes flipInX { 0% { -moz-transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { -moz-transform: perspective(400px) rotateX(-10deg); } 70% { -moz-transform: perspective(400px) rotateX(10deg); } 100% { -moz-transform: perspective(400px) rotateX(0deg); opacity: 1; } } @-o-keyframes flipInX { 0% { -o-transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { -o-transform: perspective(400px) rotateX(-10deg); } 70% { -o-transform: perspective(400px) rotateX(10deg); } 100% { -o-transform: perspective(400px) rotateX(0deg); opacity: 1; } } @keyframes flipInX { 0% { transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { transform: perspective(400px) rotateX(-10deg); } 70% { transform: perspective(400px) rotateX(10deg); } 100% { transform: perspective(400px) rotateX(0deg); opacity: 1; } } .bounceInDown { -webkit-animation-name: bounceInDown; -moz-animation-name: bounceInDown; -o-animation-name: bounceInDown; animation-name: bounceInDown; } .animated.flip { -webkit-backface-visibility: visible; -ms-backface-visibility: visible; backface-visibility: visible; -webkit-animation-name: flip; animation-name: flip; } @-webkit-keyframes flipInX { 0% { -webkit-transform: perspective(400px) rotateX(90deg); transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { -webkit-transform: perspective(400px) rotateX(-10deg); transform: perspective(400px) rotateX(-10deg); } 70% { -webkit-transform: perspective(400px) rotateX(10deg); transform: perspective(400px) rotateX(10deg); } 100% { -webkit-transform: perspective(400px) rotateX(0deg); transform: perspective(400px) rotateX(0deg); opacity: 1; } }@keyframes flipInX { 0% { -webkit-transform: perspective(400px) rotateX(90deg); -ms-transform: perspective(400px) rotateX(90deg); transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { -webkit-transform: perspective(400px) rotateX(-10deg); -ms-transform: perspective(400px) rotateX(-10deg); transform: perspective(400px) rotateX(-10deg); } 70% { -webkit-transform: perspective(400px) rotateX(10deg); -ms-transform: perspective(400px) rotateX(10deg); transform: perspective(400px) rotateX(10deg); } 100% { -webkit-transform: perspective(400px) rotateX(0deg); -ms-transform: perspective(400px) rotateX(0deg); transform: perspective(400px) rotateX(0deg); opacity: 1; } } .flipInX { -webkit-backface-visibility: visible!important; -ms-backface-visibility: visible!important; backface-visibility: visible!important; -webkit-animation-name: flipInX; animation-name: flipInX; } @-webkit-keyframes flipInY { 0% { -webkit-transform: perspective(400px) rotateY(90deg); transform: perspective(400px) rotateY(90deg); opacity: 0; } 40% { -webkit-transform: perspective(400px) rotateY(-10deg); transform: perspective(400px) rotateY(-10deg); } 70% { -webkit-transform: perspective(400px) rotateY(10deg); transform: perspective(400px) rotateY(10deg); } 100% { -webkit-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(0deg); opacity: 1; } }@keyframes flipInY { 0% { -webkit-transform: perspective(400px) rotateY(90deg); -ms-transform: perspective(400px) rotateY(90deg); transform: perspective(400px) rotateY(90deg); opacity: 0; } 40% { -webkit-transform: perspective(400px) rotateY(-10deg); -ms-transform: perspective(400px) rotateY(-10deg); transform: perspective(400px) rotateY(-10deg); } 70% { -webkit-transform: perspective(400px) rotateY(10deg); -ms-transform: perspective(400px) rotateY(10deg); transform: perspective(400px) rotateY(10deg); } 100% { -webkit-transform: perspective(400px) rotateY(0deg); -ms-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(0deg); opacity: 1; } } .flipInY { -webkit-backface-visibility: visible!important; -ms-backface-visibility: visible!important; backface-visibility: visible!important; -webkit-animation-name: flipInY; animation-name: flipInY; } @-webkit-keyframes flipOutX { 0% { -webkit-transform: perspective(400px) rotateX(0deg); transform: perspective(400px) rotateX(0deg); opacity: 1; } 100% { -webkit-transform: perspective(400px) rotateX(90deg); transform: perspective(400px) rotateX(90deg); opacity: 0; } }@keyframes flipOutX { 0% { -webkit-transform: perspective(400px) rotateX(0deg); -ms-transform: perspective(400px) rotateX(0deg); transform: perspective(400px) rotateX(0deg); opacity: 1; } 100% { -webkit-transform: perspective(400px) rotateX(90deg); -ms-transform: perspective(400px) rotateX(90deg); transform: perspective(400px) rotateX(90deg); opacity: 0; } }.flipOutX { -webkit-animation-name: flipOutX; animation-name: flipOutX; -webkit-backface-visibility: visible!important; -ms-backface-visibility: visible!important; backface-visibility: visible!important; } @-webkit-keyframes flipOutY { 0% { -webkit-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(0deg); opacity: 1; } 100% { -webkit-transform: perspective(400px) rotateY(90deg); transform: perspective(400px) rotateY(90deg); opacity: 0; } }@keyframes flipOutY { 0% { -webkit-transform: perspective(400px) rotateY(0deg); -ms-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(0deg); opacity: 1; } 100% { -webkit-transform: perspective(400px) rotateY(90deg); -ms-transform: perspective(400px) rotateY(90deg); transform: perspective(400px) rotateY(90deg); opacity: 0; } }.flipOutY { -webkit-backface-visibility: visible!important; -ms-backface-visibility: visible!important; backface-visibility: visible!important; -webkit-animation-name: flipOutY; animation-name: flipOutY; } @-webkit-keyframes lightSpeedIn { 0% { -webkit-transform: translateX(100%) skewX(-30deg); transform: translateX(100%) skewX(-30deg); opacity: 0; } 60% { -webkit-transform: translateX(-20%) skewX(30deg); transform: translateX(-20%) skewX(30deg); opacity: 1; } 80% { -webkit-transform: translateX(0%) skewX(-15deg); transform: translateX(0%) skewX(-15deg); opacity: 1; } 100% { -webkit-transform: translateX(0%) skewX(0deg); transform: translateX(0%) skewX(0deg); opacity: 1; } }@keyframes lightSpeedIn { 0% { -webkit-transform: translateX(100%) skewX(-30deg); -ms-transform: translateX(100%) skewX(-30deg); transform: translateX(100%) skewX(-30deg); opacity: 0; } 60% { -webkit-transform: translateX(-20%) skewX(30deg); -ms-transform: translateX(-20%) skewX(30deg); transform: translateX(-20%) skewX(30deg); opacity: 1; } 80% { -webkit-transform: translateX(0%) skewX(-15deg); -ms-transform: translateX(0%) skewX(-15deg); transform: translateX(0%) skewX(-15deg); opacity: 1; } 100% { -webkit-transform: translateX(0%) skewX(0deg); -ms-transform: translateX(0%) skewX(0deg); transform: translateX(0%) skewX(0deg); opacity: 1; } }.lightSpeedIn { -webkit-animation-name: lightSpeedIn; animation-name: lightSpeedIn; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } @-webkit-keyframes lightSpeedOut { 0% { -webkit-transform: translateX(0%) skewX(0deg); transform: translateX(0%) skewX(0deg); opacity: 1; } 100% { -webkit-transform: translateX(100%) skewX(-30deg); transform: translateX(100%) skewX(-30deg); opacity: 0; } }@keyframes lightSpeedOut { 0% { -webkit-transform: translateX(0%) skewX(0deg); -ms-transform: translateX(0%) skewX(0deg); transform: translateX(0%) skewX(0deg); opacity: 1; } 100% { -webkit-transform: translateX(100%) skewX(-30deg); -ms-transform: translateX(100%) skewX(-30deg); transform: translateX(100%) skewX(-30deg); opacity: 0; } }.lightSpeedOut { -webkit-animation-name: lightSpeedOut; animation-name: lightSpeedOut; -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } @-webkit-keyframes rotateIn { 0% { -webkit-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(-200deg); transform: rotate(-200deg); opacity: 0; } 100% { -webkit-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } }@keyframes rotateIn { 0% { -webkit-transform-origin: center center; -ms-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(-200deg); -ms-transform: rotate(-200deg); transform: rotate(-200deg); opacity: 0; } 100% { -webkit-transform-origin: center center; -ms-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } }.rotateIn { -webkit-animation-name: rotateIn; animation-name: rotateIn; } @-webkit-keyframes rotateInDownLeft { 0% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } 100% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } }@keyframes rotateInDownLeft { 0% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } 100% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } }.rotateInDownLeft { -webkit-animation-name: rotateInDownLeft; animation-name: rotateInDownLeft; } @-webkit-keyframes rotateInDownRight { 0% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } 100% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } }@keyframes rotateInDownRight { 0% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } 100% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } }.rotateInDownRight { -webkit-animation-name: rotateInDownRight; animation-name: rotateInDownRight; } @-webkit-keyframes rotateInUpLeft { 0% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } 100% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } }@keyframes rotateInUpLeft { 0% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } 100% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } }.rotateInUpLeft { -webkit-animation-name: rotateInUpLeft; animation-name: rotateInUpLeft; } @-webkit-keyframes rotateInUpRight { 0% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } 100% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } }@keyframes rotateInUpRight { 0% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } 100% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } }.rotateInUpRight { -webkit-animation-name: rotateInUpRight; animation-name: rotateInUpRight; } @-webkit-keyframes rotateOut { 0% { -webkit-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(200deg); transform: rotate(200deg); opacity: 0; } }@keyframes rotateOut { 0% { -webkit-transform-origin: center center; -ms-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: center center; -ms-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(200deg); -ms-transform: rotate(200deg); transform: rotate(200deg); opacity: 0; } }.rotateOut { -webkit-animation-name: rotateOut; animation-name: rotateOut; } @-webkit-keyframes rotateOutDownLeft { 0% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } }@keyframes rotateOutDownLeft { 0% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } }.rotateOutDownLeft { -webkit-animation-name: rotateOutDownLeft; animation-name: rotateOutDownLeft; } @-webkit-keyframes rotateOutDownRight { 0% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } }@keyframes rotateOutDownRight { 0% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } }.rotateOutDownRight { -webkit-animation-name: rotateOutDownRight; animation-name: rotateOutDownRight; } @-webkit-keyframes rotateOutUpLeft { 0% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } }@keyframes rotateOutUpLeft { 0% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: left bottom; -ms-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); opacity: 0; } }.rotateOutUpLeft { -webkit-animation-name: rotateOutUpLeft; animation-name: rotateOutUpLeft; } @-webkit-keyframes rotateOutUpRight { 0% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } }@keyframes rotateOutUpRight { 0% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); opacity: 1; } 100% { -webkit-transform-origin: right bottom; -ms-transform-origin: right bottom; transform-origin: right bottom; -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); opacity: 0; } }.rotateOutUpRight { -webkit-animation-name: rotateOutUpRight; animation-name: rotateOutUpRight; } @-webkit-keyframes slideInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }@keyframes slideInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } 100% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } }.slideInDown { -webkit-animation-name: slideInDown; animation-name: slideInDown; } @-webkit-keyframes slideInLeft { 0% { opacity: 0; -webkit-transform: translateX(-2000px); transform: translateX(-2000px); } 100% { -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes slideInLeft { 0% { opacity: 0; -webkit-transform: translateX(-2000px); -ms-transform: translateX(-2000px); transform: translateX(-2000px); } 100% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.slideInLeft { -webkit-animation-name: slideInLeft; animation-name: slideInLeft; } @-webkit-keyframes slideInRight { 0% { opacity: 0; -webkit-transform: translateX(2000px); transform: translateX(2000px); } 100% { -webkit-transform: translateX(0); transform: translateX(0); } }@keyframes slideInRight { 0% { opacity: 0; -webkit-transform: translateX(2000px); -ms-transform: translateX(2000px); transform: translateX(2000px); } 100% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } }.slideInRight { -webkit-animation-name: slideInRight; animation-name: slideInRight; } @-webkit-keyframes slideOutLeft { 0% { -webkit-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-2000px); transform: translateX(-2000px); } }@keyframes slideOutLeft { 0% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(-2000px); -ms-transform: translateX(-2000px); transform: translateX(-2000px); } }.slideOutLeft { -webkit-animation-name: slideOutLeft; animation-name: slideOutLeft; } @-webkit-keyframes slideOutRight { 0% { -webkit-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(2000px); transform: translateX(2000px); } }@keyframes slideOutRight { 0% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } 100% { opacity: 0; -webkit-transform: translateX(2000px); -ms-transform: translateX(2000px); transform: translateX(2000px); } }.slideOutRight { -webkit-animation-name: slideOutRight; animation-name: slideOutRight; } @-webkit-keyframes slideOutUp { 0% { -webkit-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(-2000px); transform: translateY(-2000px); } }@keyframes slideOutUp { 0% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } 100% { opacity: 0; -webkit-transform: translateY(-2000px); -ms-transform: translateY(-2000px); transform: translateY(-2000px); } }.slideOutUp { -webkit-animation-name: slideOutUp; animation-name: slideOutUp; } @-webkit-keyframes hinge { 0% { -webkit-transform: rotate(0); transform: rotate(0); -webkit-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } 20%, 60% { -webkit-transform: rotate(80deg); transform: rotate(80deg); -webkit-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } 40% { -webkit-transform: rotate(60deg); transform: rotate(60deg); -webkit-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } 80% { -webkit-transform: rotate(60deg) translateY(0); transform: rotate(60deg) translateY(0); -webkit-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; opacity: 1; } 100% { -webkit-transform: translateY(700px); transform: translateY(700px); opacity: 0; } }@keyframes hinge { 0% { -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); -webkit-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } 20%, 60% { -webkit-transform: rotate(80deg); -ms-transform: rotate(80deg); transform: rotate(80deg); -webkit-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } 40% { -webkit-transform: rotate(60deg); -ms-transform: rotate(60deg); transform: rotate(60deg); -webkit-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; } 80% { -webkit-transform: rotate(60deg) translateY(0); -ms-transform: rotate(60deg) translateY(0); transform: rotate(60deg) translateY(0); -webkit-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; opacity: 1; } 100% { -webkit-transform: translateY(700px); -ms-transform: translateY(700px); transform: translateY(700px); opacity: 0; } }.hinge { -webkit-animation-name: hinge; animation-name: hinge; } @-webkit-keyframes rollIn { 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); transform: translateX(0px) rotate(0deg); } }@keyframes rollIn { 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); -ms-transform: translateX(-100%) rotate(-120deg); transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); -ms-transform: translateX(0px) rotate(0deg); transform: translateX(0px) rotate(0deg); } }.rollIn { -webkit-animation-name: rollIn; animation-name: rollIn; } @-webkit-keyframes rollOut { 0% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); transform: translateX(0px) rotate(0deg); } 100% { opacity: 0; -webkit-transform: translateX(100%) rotate(120deg); transform: translateX(100%) rotate(120deg); } }@keyframes rollOut { 0% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); -ms-transform: translateX(0px) rotate(0deg); transform: translateX(0px) rotate(0deg); } 100% { opacity: 0; -webkit-transform: translateX(100%) rotate(120deg); -ms-transform: translateX(100%) rotate(120deg); transform: translateX(100%) rotate(120deg); } }.rollOut { -webkit-animation-name: rollOut; animation-name: rollOut; } /* Mmenu Plugin for chat sidebar */ .mm-page,.mm-menu.mm-horizontal .mm-panel{border:none!important;-webkit-transition:none .4s ease;-moz-transition:none .4s ease;-ms-transition:none .4s ease;-o-transition:none .4s ease;transition:none .4s ease;-webkit-transition-property:all;-moz-transition-property:all;-ms-transition-property:all;-o-transition-property:all;transition-property:all} .mm-menu .mm-hidden{display:none} .mm-fixed-top,.mm-fixed-bottom{position:fixed;left:0} .mm-fixed-top{top:0} .mm-fixed-bottom{bottom:0} html.mm-opened .mm-page,.mm-menu .mm-panel{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box} html.mm-opened,html.mm-opened body{overflow-x:hidden;position:relative} html.mm-opened .mm-page{position:relative} html.mm-background .mm-page{background:inherit} #mm-blocker{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==) transparent;display:none;width:100%;height:100%;position:fixed;z-index:999999} html.mm-opened #mm-blocker,html.mm-blocking #mm-blocker{display:block} .mm-menu.mm-current{display:block} .mm-menu{background:inherit;display:none;overflow:hidden;height:100%;padding:0;position:fixed;left:0;top:0;z-index:0} .mm-menu .mm-panel{background:inherit;-webkit-overflow-scrolling:touch;overflow:scroll;overflow-x:hidden;overflow-y:auto;width:100%;height:100%;padding:20px;position:absolute;top:0;left:100%;z-index:0} .mm-menu .mm-panel.mm-opened{left:0;width:265px} .mm-menu .mm-panel.mm-subopened{left:-40%} .mm-menu .mm-panel.mm-highest{z-index:1} .mm-menu .mm-panel.mm-hidden{display:block;visibility:hidden} .mm-menu .mm-list{padding:20px 0} .mm-menu .mm-list{padding:20px 10px 40px 0} .mm-panel .mm-list{margin-left:-20px;margin-right:-20px} .mm-panel .mm-list:first-child{padding-top:0} .mm-list,.mm-list li{list-style:none;display:block;padding:0;margin:0;padding-right:10px} .mm-list{font:inherit;font-size:13px} .mm-list a,.mm-list a:hover{text-decoration:none} .mm-list li{position:relative;margin-right:-10px} .mm-list li:not(.mm-subtitle):not(.mm-label):not(.mm-noresults):after{width:auto;margin-left:20px;position:relative;left:auto} .mm-list a.mm-subopen{height:100%;padding:0;position:absolute;right:0;top:0;z-index:2} .mm-list a.mm-subopen::before{content:'';border-left-width:1px;border-left-style:solid;display:block;height:100%;position:absolute;left:0;top:0} .mm-list a.mm-subopen.mm-fullsubopen{width:100%} .mm-list a.mm-subopen.mm-fullsubopen:before{border-left:0} .mm-list a.mm-subopen+a,.mm-list a.mm-subopen+span{padding-right:5px} .mm-list li.mm-selected a.mm-subopen{background:transparent} .mm-list li.mm-selected a.mm-fullsubopen+a,.mm-list li.mm-selected a.mm-fullsubopen+span{padding-right:45px;margin-right:0} .mm-list a.mm-subclose{text-indent:20px;padding-top:20px;margin-top:-10px;margin-right:-10px} .mm-list li.mm-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;text-transform:uppercase;text-indent:20px;line-height:25px;padding-right:5px;font-weight:700;margin-bottom:10px;color:rgba(0,0,0,0.4)} .mm-list li.mm-spacer{padding-top:40px} .mm-list li.mm-spacer.mm-label{padding-top:25px} .mm-list a.mm-subopen:after,.mm-list a.mm-subclose:before{content:'';border:1px solid transparent;display:block;width:7px;height:7px;margin-bottom:-5px;position:absolute;bottom:50%;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)} .mm-list a.mm-subopen:after,.mm-list a.mm-subclose:before{content:'';border:1px solid transparent;display:block;width:7px;height:7px;margin-bottom:-5px;position:absolute;bottom:50%;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)} .mm-list a.mm-subopen:after{border-top:0;border-left:0;right:18px} .mm-list a.mm-subclose:before{border-right:0;border-bottom:0;margin-bottom:-10px;left:22px} .mm-menu.mm-vertical .mm-list .mm-panel{display:none;padding:10px 0 10px 10px} .mm-menu.mm-vertical .mm-list .mm-panel li:last-child:after{border-color:transparent} .mm-menu.mm-vertical .mm-list li.mm-opened .mm-panel{display:block} .mm-menu.mm-vertical .mm-list li.mm-opened a.mm-subopen{height:40px} .mm-menu.mm-vertical .mm-list li.mm-opened a.mm-subopen:after{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);top:16px;right:16px} .mm-ismenu{background:#d0dfe9;color:rgba(0,0,0,0.6)} .mm-menu .mm-list li:after{border-color:rgba(0,0,0,0.15)} .mm-menu .mm-list li a.mm-subclose{background:rgba(0,0,0,0.1);color:rgba(0,0,0,0.4)} .mm-menu .mm-list li a.mm-subopen:after,.mm-menu .mm-list li a.mm-subclose:before{border-color:rgba(0,0,0,0.4)} .mm-menu .mm-list li a.mm-subopen:before{border-color:rgba(0,0,0,0.15)} .mm-menu .mm-list li.mm-selected a:not(.mm-subopen),.mm-menu .mm-list li.mm-selected span{background:rgba(0,0,0,0.1)} .mm-menu.mm-vertical .mm-list li.mm-opened a.mm-subopen,.mm-menu.mm-vertical .mm-list li.mm-opened ul{background:rgba(0,0,0,0.05)} @media all and (max-width:175px){.mm-menu{width:140px} html.mm-opening .mm-page,html.mm-opening #mm-blocker{left:140px} } @media all and (min-width:550px){.mm-menu{width:260px} html.mm-opening .mm-page,html.mm-opening #mm-blocker{left:260px} } em.mm-counter{font:inherit;font-size:14px;font-style:normal;text-indent:0;line-height:20px;display:block;margin-top:-10px;position:absolute;right:40px;top:50%} em.mm-counter+a.mm-subopen{padding-left:40px} em.mm-counter+a.mm-subopen+a,em.mm-counter+a.mm-subopen+span{margin-right:80px} em.mm-counter+a.mm-fullsubopen{padding-left:0} .mm-vertical em.mm-counter{top:12px;margin-top:0} .mm-nosubresults em.mm-counter{display:none} .mm-menu em.mm-counter{color:rgba(255,255,255,0.4)} html.mm-opened.mm-dragging .mm-menu,html.mm-opened.mm-dragging .mm-page,html.mm-opened.mm-dragging .mm-fixed-top,html.mm-opened.mm-dragging .mm-fixed-bottom,html.mm-opened.mm-dragging #mm-blocker{-webkit-transition-duration:0;-moz-transition-duration:0;-ms-transition-duration:0;-o-transition-duration:0;transition-duration:0} .mm-menu.mm-fixedlabels .mm-list{background:inherit} .mm-menu.mm-fixedlabels .mm-list li.mm-label{background:inherit !important;opacity:.97;height:25px;overflow:visible;position:relative;z-index:1} .mm-menu.mm-fixedlabels .mm-list li.mm-label div{background:inherit;width:100%;position:absolute;left:0} .mm-menu.mm-fixedlabels .mm-list li.mm-label div div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden} .mm-menu.mm-fixedlabels .mm-list li.mm-label.mm-spacer div div{padding-top:25px} .mm-list li.mm-label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0} .mm-list li.mm-label.mm-opened a.mm-subopen:after{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);right:17px} .mm-list li.mm-collapsed{display:none} .mm-menu .mm-list li.mm-label div div{background:rgba(255,255,255,0.05)} .mm-search,.mm-search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box} .mm-search{background:inherit;width:100%;padding:10px;position:relative;padding-right:20px;top:0;z-index:2} .mm-search input{border:0;border-radius:3px;font:inherit;font-size:14px;line-height:30px;outline:0;display:block;width:100%;height:30px;margin:0;padding:0 10px} .mm-menu li.mm-nosubresults a.mm-subopen{/* display:none */} .mm-menu li.mm-nosubresults a.mm-subopen+a,.mm-menu li.mm-nosubresults a.mm-subopen+span{padding-right:10px} .mm-menu li.mm-noresults{text-align:center;font-size:21px;display:none;padding-top:80px} .mm-menu li.mm-noresults:after{border:0} .mm-menu.mm-noresults li.mm-noresults{display:block} .mm-menu.mm-hassearch .mm-panel{padding-top:80px} .mm-menu .mm-search input{background:rgba(255,255,255,0.4);color:rgba(0,0,0,0.6)} .mm-menu li.mm-noresults{color:rgba(0,0,0,0.4)} .mm-menu.mm-right{left:auto;top:40px;right:-10px} html.mm-right.mm-opened .mm-page{left:auto;right:0} html.mm-right.mm-opened.mm-opening .mm-page{left:auto} html.mm-right.mm-opening .mm-page{right:188px} @media all and (max-width:175px){.mm-menu.mm-right{width:140px} html.mm-right.mm-opening .mm-page{right:140px} } @media all and (min-width:175px){.mm-menu.mm-right img,.mm-menu.mm-right .badge,.mm-menu.mm-right i{display:none} html.mm-right.mm-opening .mm-page{right:188px} } @media all and (min-width:550px){.mm-menu.mm-right img,.mm-menu.mm-right .badge,.mm-menu.mm-right i{display:block} .mm-menu.mm-right{width:260px} html.mm-right.mm-opening .mm-page{right:250px} html.sidebar-large.mm-right.mm-opening .mm-page,html.sidebar-medium.mm-right.mm-opening .mm-page,html.sidebar-thin.mm-right.mm-opening .mm-page,html.sidebar-hidden.mm-right.mm-opening .mm-page{margin-left:250px} } .mm-menu li.img img{float:left;margin:-5px 10px -5px 0;width:35px;border-radius:50%} .no-arrow a:after{display:none !important} #menu-right li.img i.online,#menu-right li.img i.busy,#menu-right li.img i.away,#menu-right li.img i.offline{border-radius:50%;content:"";height:10px;float:right;width:10px;margin-top:10px;margin-right:5px} #menu-right li.img i.online{background-color:#18a689} #menu-right li.img i.away{background-color:#f90} #menu-right li.img i.busy{background-color:#c75757} #menu-right li.img i.offline{background-color:rgba(0,0,0,0.2)} .chat-name{font-weight:600} .chat-messages{margin-left:-5px} .chat-header{font-size:14px;font-weight:600;margin-bottom:10px;text-transform:uppercase;font-family:"Carrois Gothic";color:rgba(0,0,0,0.5)} .mm-list li span.inside-chat span.badge{color:#fff;margin-right:15px;margin-top:-7px;border-radius:50%;width:21px;height:21px;padding:5px} .have-message{background:rgba(0,0,0,0.05)} .chat-bubble{position:relative;width:165px;min-height:40px;padding:0;background:#e5e9ec;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;color:#22262e;padding:10px;white-space:normal;line-height:20px} .chat-bubble:after{content:'';position:absolute;border-style:solid;border-width:9px 7px 9px 0;border-color:rgba(0,0,0,0) #e5e9ec;display:block;width:0;z-index:1;left:-7px;top:12px} .chat-detail{float:left;padding:20px 0 0 0 !important;} .chat-detail .chat-detail {padding: 0 !important;} .chat-input{display: block;position:fixed;bottom:0;background-color:#c5d5db;width:260px;padding:10px;z-index:20} .chat-right img{float:right !important;margin:-5px 0 -5px 10px !important} .chat-detail .chat-bubble{float:right} .chat-detail.chat-right .chat-bubble{float:left;background:#0090d9;color:#fff} .chat-right .chat-bubble:after{border-width:9px 0 9px 7px;right:-7px !important;border-color:rgba(0,0,0,0) #0090d9;left:auto;top:12px} .chat-messages li:last-child{margin-bottom:80px} .mm-menu p {margin: 0} .mm-list li span.inside-chat span {color:#333333;color: rgba(0, 0, 0, 0.6);line-height: auto;display: block;padding: 0;margin: 0;} .mm-list li a,.mm-list li span{text-overflow:ellipsis;white-space:nowrap;overflow:visible !important;color:inherit;line-height:14px;display:block;padding:10px 10px 10px 20px;margin:0} .mm-list li span.bubble-inner{overflow: hidden !important;padding: 0;} /* Bootstrap Switch Plugin */ .switch-toggle { display: inline-block; cursor: pointer; border-radius: 4px; border: 1px solid; position: relative; text-align: left; overflow: hidden; line-height: 8px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; vertical-align: middle; min-width: 100px; -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; border-color: #ccc; } .switch-toggle.switch-mini { min-width: 72px; } .switswitch-togglech.switch-mini > div > span, .switch-toggle.switch-mini > div > label { padding-bottom: 4px; padding-top: 6px; font-size: 10px; line-height: 18px; } .switch-toggle.switch-mini .switch-mini-icons { height: 1.2em; line-height: 9px; vertical-align: text-top; text-align: center; transform: scale(0.6); margin-top: -1px; margin-bottom: -1px; } .switch-toggle.switch-small { min-width: 80px; } .switch-toggle.switch-small > div > span, .switch-toggle.switch-small > div > label { padding-bottom: 3px; padding-top: 3px; font-size: 12px; line-height: 18px; } .switch-toggle.switch-large { min-width: 120px; } .switch-toggle.switch-large > div > span, .switch-toggle.switch-large > div > label { padding-bottom: 9px; padding-top: 9px; font-size: 16px; line-height: normal; } .switch-toggle.switch-animate > div { -webkit-transition: margin-left .5s; transition: margin-left .5s; } .switch-toggle.switch-on > div { margin-left: 0; } .switch-toggle.switch-on > div > label { border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .switch-toggle.switch-off > div { margin-left: -50%} .switch-toggle.switch-off > div > label { border-bottom-left-radius: 3px; border-top-left-radius: 3px; } .switch-toggle.switch-disabled, .switch-toggle.switch-readonly { opacity: 0.5; filter: alpha(opacity=50); cursor: default!important; } .switch-toggle.switch-disabled > div > span, .switch-toggle.switch-readonly > div > span, .switch.switch-disabled > div > label, .switch-toggle.switch-readonly > div > label { cursor: default!important; } .switch-toggle.switch-focused { outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); border-color: #66afe9; } .switch-toggle > div { display: inline-block; width: 150%; top: 0; border-radius: 4px; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .switch-toggle > div > span, .switch-toggle > div > label { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; cursor: pointer; display: inline-block!important; height: 100%; padding-bottom: 4px; padding-top: 4px; font-size: 14px; line-height: 20px; } .switch-toggle > div > span { text-align: center; z-index: 1; width: 33.333333333%} .switch-toggle > div > span.switch-handle-on { color: red; border-bottom-left-radius: 3px; border-top-left-radius: 3px; } .switch-toggle > div > span.switch-handle-off { color: #000; background: #eee; border-bottom-right-radius: 3px; border-top-right-radius: 3px; } .switch-toggle > div > span.switch-primary { color: #fff; background: #3598db; } .switch-toggle > div > span.switch-info { color: #fff; background: #5bc0de; } .switch-toggle > div > span.switch-success { color: #fff; background: #5cb85c; } .switch-toggle > div > span.switch-warning { background: #f0ad4e; color: #fff; } .switch-toggle > div > span.switch-danger { color: #fff; background: #d9534f; } .switch-toggle > div > span.switch-default { color: #000; background: #eee; } .switch-toggle > div > label { text-align: center; margin-top: -1px; margin-bottom: -1px; z-index: 100; width: 33.333333333%; color: #333; background: #fff; } .switch-toggle input[type=radio], .switch-toggle input[type=checkbox] { position: absolute!important; top: 0; left: 0; z-index: -1; } /* Bootstrap Select Plugin */ .bootstrap-select.btn-group:not(.input-group-btn), .bootstrap-select.btn-group[class*="span"] { float: none; display: inline-block; margin-bottom: 10px; margin-left: 0; } .form-search .bootstrap-select.btn-group, .form-inline .bootstrap-select.btn-group, .form-horizontal .bootstrap-select.btn-group { margin-bottom: 0; } .bootstrap-select.form-control { margin-bottom: 0; padding: 0; border: 0; } .bootstrap-select.btn-group.pull-right, .bootstrap-select.btn-group[class*="span"].pull-right, .row-fluid .bootstrap-select.btn-group[class*="span"].pull-right { float: right; } .input-append .bootstrap-select.btn-group { margin-left: -1px; } .input-prepend .bootstrap-select.btn-group { margin-right: -1px; } .bootstrap-select:not([class*="span"]):not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) { width: auto; min-width: 220px; } .bootstrap-select { width: 220px\0; } .bootstrap-select.form-control:not([class*="span"]) { width: 100%} .bootstrap-select>.btn.input-sm { font-size: 12px; } .bootstrap-select>.btn.input-lg { font-size: 16px; } .bootstrap-select>.btn { width: 100%; padding-right: 25px; } .error .bootstrap-select .btn { border: 1px solid #b94a48; } .bootstrap-select.show-menu-arrow.open>.btn { z-index: 2051; } .bootstrap-select .btn:focus { outline: thin dotted #333 !important; outline: 5px auto -webkit-focus-ring-color !important; outline-offset: -2px; } .bootstrap-select.btn-group .btn .filter-option { display: inline-block; overflow: hidden; width: 100%; float: left; text-align: left; } .bootstrap-select.btn-group .btn .filter-option { display: inline-block; overflow: hidden; width: 100%; float: left; text-align: left; } .bootstrap-select.btn-group .btn .caret { position: absolute; top: 50%; right: 12px; margin-top: -2px; vertical-align: middle; } .bootstrap-select.btn-group>.disabled, .bootstrap-select.btn-group .dropdown-menu li.disabled>a { cursor: not-allowed; } .bootstrap-select.btn-group>.disabled:focus { outline: none !important; } .bootstrap-select.btn-group[class*="span"] .btn { width: 100%} .bootstrap-select.btn-group .dropdown-menu { min-width: 100%; z-index: 2000; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .bootstrap-select.btn-group .dropdown-menu.inner { position: static; border: 0; padding: 0; margin: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } .bootstrap-select.btn-group .dropdown-menu dt { display: block; padding: 3px 20px; cursor: default; } .bootstrap-select.btn-group .div-contain { overflow: hidden; } .bootstrap-select.btn-group .dropdown-menu li { position: relative; } .bootstrap-select.btn-group .dropdown-menu li>a.opt { position: relative; padding-left: 35px; } .bootstrap-select.btn-group .dropdown-menu li>a { cursor: pointer; } .bootstrap-select.btn-group .dropdown-menu li>dt small { font-weight: normal; } .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a i.check-mark { position: absolute; display: inline-block; right: 15px; margin-top: 2.5px; } .bootstrap-select.btn-group .dropdown-menu li a i.check-mark { display: none; } .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text { margin-right: 34px; } .bootstrap-select.btn-group .dropdown-menu li small { padding-left: .5em; } .bootstrap-select.btn-group .dropdown-menu li>dt small { font-weight: normal; } .bootstrap-select.show-menu-arrow .dropdown-toggle:before { content: ''; display: inline-block; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 7px solid #CCC; border-bottom-color: rgba(0, 0, 0, 0.2); position: absolute; bottom: -4px; left: 9px; display: none; } .bootstrap-select.show-menu-arrow .dropdown-toggle:after { content: ''; display: inline-block; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid white; position: absolute; bottom: -4px; left: 10px; display: none; } .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before { bottom: auto; top: -3px; border-top: 7px solid #ccc; border-bottom: 0; border-top-color: rgba(0, 0, 0, 0.2); } .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after { bottom: auto; top: -3px; border-top: 6px solid #fff; border-bottom: 0; } .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before { right: 12px; left: auto; } .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after { right: 13px; left: auto; } .bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before, .bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after { display: block; } .bootstrap-select.btn-group .no-results { padding: 3px; background: #f5f5f5; margin: 0 5px; } .bootstrap-select.btn-group .dropdown-menu .notify { position: absolute; bottom: 5px; width: 96%; margin: 0 2%; min-height: 26px; padding: 3px 5px; background: #f5f5f5; border: 1px solid #e3e3e3; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); pointer-events: none; opacity: .9; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .mobile-device { position: absolute; top: 0; left: 0; display: block !important; width: 100%; height: 100% !important; opacity: 0; } .bootstrap-select.fit-width { width: auto !important; } .bootstrap-select.btn-group.fit-width .btn .filter-option { position: static; } .bootstrap-select.btn-group.fit-width .btn .caret { position: static; top: auto; margin-top: -1px; } .control-group.error .bootstrap-select .dropdown-toggle { border-color: #b94a48; } .bootstrap-select-searchbox, .bootstrap-select .bs-actionsbox { padding: 4px 8px; } .bootstrap-select .bs-actionsbox { float: left; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .bootstrap-select-searchbox+.bs-actionsbox { padding: 0 8px 4px; } .bootstrap-select-searchbox input { margin-bottom: 0; } .bootstrap-select .bs-actionsbox .btn-group button { width: 50%} /* Radio and checkbox JQuery Mobile Plugin */ .ui-icon-check:after, /* Used ui-checkbox-on twice to increase specificity. If active state has background-image for gradient this rule overrides. */ html .ui-btn.ui-checkbox-on.ui-checkbox-on:after { background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20style%3D%22enable-background%3Anew%200%200%2014%2014%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpolygon%20style%3D%22fill%3A%23FFFFFF%3B%22%20points%3D%2214%2C4%2011%2C1%205.003%2C6.997%203%2C5%200%2C8%204.966%2C13%204.983%2C12.982%205%2C13%20%22%2F%3E%3C%2Fsvg%3E"); } .ui-alt-icon.ui-icon-check:after, .ui-alt-icon .ui-icon-check:after, html .ui-alt-icon.ui-btn.ui-checkbox-on:after, html .ui-alt-icon .ui-btn.ui-checkbox-on:after { background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20style%3D%22enable-background%3Anew%200%200%2014%2014%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpolygon%20points%3D%2214%2C4%2011%2C1%205.003%2C6.997%203%2C5%200%2C8%204.966%2C13%204.983%2C12.982%205%2C13%20%22%2F%3E%3C%2Fsvg%3E"); } /* Globals */ /* Font -----------------------------------------------------------------------------------------------------------*/ /* Buttons */ .ui-btn-corner-all, .ui-btn.ui-corner-all, /* Slider track */ .ui-slider-track.ui-corner-all, /* Flipswitch */ .ui-flipswitch.ui-corner-all, /* Count bubble */ .ui-li-count { -webkit-border-radius: .3125em /*{global-radii-buttons}*/; border-radius: .3125em /*{global-radii-buttons}*/; } /* Icon-only buttons */ .ui-btn-icon-notext.ui-btn-corner-all, .ui-btn-icon-notext.ui-corner-all { -webkit-border-radius: 1em; border-radius: 1em; } /* Radius clip workaround for cleaning up corner trapping */ .ui-btn-corner-all, .ui-corner-all { -webkit-background-clip: padding; background-clip: padding-box; } /* Popup arrow */ .ui-popup.ui-corner-all > .ui-popup-arrow-guide { left: .6em /*{global-radii-blocks}*/; right: .6em /*{global-radii-blocks}*/; top: .6em /*{global-radii-blocks}*/; bottom: .6em /*{global-radii-blocks}*/; } /* Icons -----------------------------------------------------------------------------------------------------------*/ .ui-btn-icon-left:after, .ui-btn-icon-right:after, .ui-btn-icon-top:after, .ui-btn-icon-bottom:after, .ui-btn-icon-notext:after { background-color: #666 /*{global-icon-color}*/; background-color: rgba(0,0,0,.3) /*{global-icon-disc}*/; background-position: center center; background-repeat: no-repeat; -webkit-border-radius: 1em; border-radius: 1em; } /* Icon shadow */ .ui-shadow-icon.ui-btn:after, .ui-shadow-icon .ui-btn:after { -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.3) /*{global-icon-shadow}*/; -moz-box-shadow: 0 1px 0 rgba(255,255,255,.3) /*{global-icon-shadow}*/; box-shadow: 0 1px 0 rgba(255,255,255,.3) /*{global-icon-shadow}*/; } /* Checkbox and radio */ .ui-btn.ui-checkbox-off:after, .ui-btn.ui-checkbox-on:after, .ui-btn.ui-radio-off:after, .ui-btn.ui-radio-on:after { display: block; width: 18px; height: 18px; margin: -9px 2px 0 2px; } .ui-checkbox-off:after, .ui-btn.ui-radio-off:after { filter: Alpha(Opacity=30); opacity: .3; } .ui-btn.ui-checkbox-off:after, .ui-btn.ui-checkbox-on:after { -webkit-border-radius: .1875em; border-radius: .1875em; } .ui-radio .ui-btn.ui-radio-on:after { background-image: none; background-color: #fff; width: 8px; height: 8px; border-width: 5px; border-style: solid; } .ui-alt-icon.ui-btn.ui-radio-on:after, .ui-alt-icon .ui-btn.ui-radio-on:after { background-color: #000; } /* Swatches */ /* A -----------------------------------------------------------------------------------------------------------*/ .ui-page-theme-a a:active, html .ui-bar-a a:active, html .ui-body-a a:active, html body .ui-group-theme-a a:active { color: #005599 ; } /* Button up */ .ui-page-theme-a .ui-btn, html .ui-bar-a .ui-btn, html .ui-body-a .ui-btn, html body .ui-group-theme-a .ui-btn, html head + body .ui-btn.ui-btn-a, .ui-page-theme-a .ui-btn:visited, html .ui-bar-a .ui-btn:visited, html .ui-body-a .ui-btn:visited, html body .ui-group-theme-a .ui-btn:visited, html head + body .ui-btn.ui-btn-a:visited { background-color: #fff ; } /* Button hover */ .ui-page-theme-a .ui-btn:hover, html .ui-bar-a .ui-btn:hover, html .ui-body-a .ui-btn:hover, html body .ui-group-theme-a .ui-btn:hover, html head + body .ui-btn.ui-btn-a:hover { background-color: #ededed ; } /* Button down */ .ui-page-theme-a .ui-btn:active, html .ui-bar-a .ui-btn:active, html .ui-body-a .ui-btn:active, html body .ui-group-theme-a .ui-btn:active, html head + body .ui-btn.ui-btn-a:active { background-color: #e8e8e8 ; } /* Active button */ .ui-page-theme-a .ui-btn.ui-btn-active, html .ui-bar-a .ui-btn.ui-btn-active, html .ui-body-a .ui-btn.ui-btn-active, html body .ui-group-theme-a .ui-btn.ui-btn-active, html head + body .ui-btn.ui-btn-a.ui-btn-active, /* Active checkbox icon */ .ui-page-theme-a .ui-checkbox-on:after, html .ui-bar-a .ui-checkbox-on:after, html .ui-body-a .ui-checkbox-on:after, html body .ui-group-theme-a .ui-checkbox-on:after, .ui-btn.ui-checkbox-on.ui-btn-a:after, /* Active flipswitch background */ .ui-page-theme-a .ui-flipswitch-active, html .ui-bar-a .ui-flipswitch-active, html .ui-body-a .ui-flipswitch-active, html body .ui-group-theme-a .ui-flipswitch-active, html body .ui-flipswitch.ui-bar-a.ui-flipswitch-active, /* Active slider track */ .ui-page-theme-a .ui-slider-track .ui-btn-active, html .ui-bar-a .ui-slider-track .ui-btn-active, html .ui-body-a .ui-slider-track .ui-btn-active, html body .ui-group-theme-a .ui-slider-track .ui-btn-active, html body div.ui-slider-track.ui-body-a .ui-btn-active { background-color: #3388cc /*{a-active-background-color}*/; border-color: #3388cc /*{a-active-border}*/; color: #fff /*{a-active-color}*/; text-shadow: 0 /*{a-active-shadow-x}*/ 1px /*{a-active-shadow-y}*/ 0 /*{a-active-shadow-radius}*/ #005599 /*{a-active-shadow-color}*/; } /* Active radio button icon */ .ui-page-theme-a .ui-radio-on:after, html .ui-bar-a .ui-radio-on:after, html .ui-body-a .ui-radio-on:after, html body .ui-group-theme-a .ui-radio-on:after, .ui-btn.ui-radio-on.ui-btn-a:after { border-color: #3388cc /*{a-active-background-color}*/; } /* Focus state outline -----------------------------------------------------------------------------------------------------------*/ /* Buttons and icons */ .ui-btn { font-size: 16px; margin: .5em 0; padding: .7em 1em; display: block; position: relative; text-align: center; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .ui-btn-icon-notext { padding: 0; width: 1.75em; height: 1.75em; text-indent: -9999px; white-space: nowrap !important; } .ui-mini { font-size: 12.5px; } .ui-mini .ui-btn { font-size: inherit; } /* Make buttons in toolbars default to mini and inline. */ .ui-header .ui-btn, .ui-footer .ui-btn { font-size: 12.5px; display: inline-block; vertical-align: middle; } /* To ensure same top and left/right position when ui-btn-left/right are added to something other than buttons. */ .ui-header .ui-btn-left, .ui-header .ui-btn-right { font-size: 12.5px; } .ui-mini.ui-btn-icon-notext, .ui-mini .ui-btn-icon-notext, .ui-header .ui-btn-icon-notext, .ui-footer .ui-btn-icon-notext { font-size: 16px; padding: 0; } .ui-btn-inline { display: inline-block; vertical-align: middle; margin-right: .625em; } .ui-btn-icon-left { padding-left: 2.5em; } .ui-btn-icon-right { padding-right: 2.5em; } .ui-btn-icon-top { padding-top: 2.5em; } .ui-btn-icon-bottom { padding-bottom: 2.5em; } .ui-header .ui-btn-icon-top, .ui-footer .ui-btn-icon-top, .ui-header .ui-btn-icon-bottom, .ui-footer .ui-btn-icon-bottom { padding-left: .3125em; padding-right: .3125em; } .ui-btn-icon-left:after, .ui-btn-icon-right:after, .ui-btn-icon-top:after, .ui-btn-icon-bottom:after, .ui-btn-icon-notext:after { content: ""; position: absolute; display: block; width: 22px; height: 22px; } .ui-btn-icon-notext:after, .ui-btn-icon-left:after, .ui-btn-icon-right:after { top: 50%; margin-top: -11px; } .ui-btn-icon-left:after { left: .5625em; } .ui-btn-icon-right:after { right: .5625em; } .ui-mini.ui-btn-icon-left:after, .ui-mini .ui-btn-icon-left:after, .ui-header .ui-btn-icon-left:after, .ui-footer .ui-btn-icon-left:after { left: .37em; } .ui-mini.ui-btn-icon-right:after, .ui-mini .ui-btn-icon-right:after, .ui-header .ui-btn-icon-right:after, .ui-footer .ui-btn-icon-right:after { right: .37em; } .ui-btn-icon-notext:after, .ui-btn-icon-top:after, .ui-btn-icon-bottom:after { left: 50%; margin-left: -11px; } .ui-btn-icon-top:after { top: .5625em; } .ui-btn-icon-bottom:after { top: auto; bottom: .5625em; } .ui-checkbox, .ui-radio { margin: .5em 0; position: relative; } .ui-checkbox .ui-btn, .ui-radio .ui-btn { margin: 0; text-align: left; white-space: normal; /* Nowrap + ellipsis doesn't work on label. Issue #1419. */ z-index: 2; } .ui-controlgroup .ui-checkbox .ui-btn.ui-focus, .ui-controlgroup .ui-radio .ui-btn.ui-focus { z-index: 3; } .ui-checkbox .ui-btn-icon-top, .ui-radio .ui-btn-icon-top, .ui-checkbox .ui-btn-icon-bottom, .ui-radio .ui-btn-icon-bottom { text-align: center; } .ui-controlgroup-horizontal .ui-checkbox .ui-btn:after, .ui-controlgroup-horizontal .ui-radio .ui-btn:after { content: none; display: none; } /* Native input positioning */ .ui-checkbox input, .ui-radio input { position: absolute; left: .466em; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 0; outline: 0 !important; z-index: 1; } .ui-radio *:before, .ui-radio *:after{ -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .ui-controlgroup-horizontal .ui-checkbox input, .ui-controlgroup-horizontal .ui-radio input { left: 50%; margin-left: -9px; } .ui-checkbox input:disabled, .ui-radio input:disabled { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); } .ui-disabled, .ui-state-disabled, button[disabled], .ui-select .ui-btn.ui-state-disabled { filter: Alpha(Opacity=30); opacity: .3; cursor: default!important; pointer-events: none; } .ui-checkbox-off:after, .ui-btn.ui-radio-off:after { filter: Alpha(Opacity=30); opacity: .3; } .ui-btn.ui-checkbox-off:after, .ui-btn.ui-checkbox-on:after { -webkit-border-radius: .1875em; border-radius: .1875em; } .ui-radio .ui-btn.ui-radio-on:after { background-image: none; background-color: #fff; width: 8px; height: 8px; border-width: 5px; border-style: solid; } .ui-alt-icon.ui-btn.ui-radio-on:after, .ui-alt-icon .ui-btn.ui-radio-on:after { background-color: #000; } .ui-page-theme-a .ui-radio-on:after, html .ui-bar-a .ui-radio-on:after, html .ui-body-a .ui-radio-on:after, html body .ui-group-theme-a .ui-radio-on:after, .ui-btn.ui-radio-on.ui-btn-a:after { border-color: #38c; } .ui-page-theme-a .ui-btn:focus, html .ui-bar-a .ui-btn:focus, html .ui-body-a .ui-btn:focus, html body .ui-group-theme-a .ui-btn:focus, html head+body .ui-btn.ui-btn-a:focus, .ui-page-theme-a .ui-focus, html .ui-bar-a .ui-focus, html .ui-body-a .ui-focus, html body .ui-group-theme-a .ui-focus, html head+body .ui-btn-a.ui-focus, html head+body .ui-body-a.ui-focus { -webkit-box-shadow: 0 0 12px #38c; -moz-box-shadow: 0 0 12px #38c; box-shadow: 0 0 12px #38c; } .ui-bar-b, .ui-page-theme-b .ui-bar-inherit, html .ui-bar-b .ui-bar-inherit, html .ui-body-b .ui-bar-inherit, html body .ui-group-theme-b .ui-bar-inherit { background-color: #1d1d1d; border-color: #1b1b1b; color: #fff; text-shadow: 0 1px 0 #111; font-weight: 700; } .ui-bar-b { border-width: 1px; border-style: solid; } .ui-overlay-b, .ui-page-theme-b, .ui-page-theme-b .ui-panel-wrapper { background-color: #252525; border-color: #454545; color: #fff; text-shadow: 0 1px 0 #111; } .ui-body-b, .ui-page-theme-b .ui-body-inherit, html .ui-bar-b .ui-body-inherit, html .ui-body-b .ui-body-inherit, html body .ui-group-theme-b .ui-body-inherit, html .ui-panel-page-container-b { background-color: #2a2a2a; border-color: #1d1d1d; color: #fff; text-shadow: 0 1px 0 #111; } .ui-body-b { border-width: 1px; border-style: solid; } .ui-page-theme-b a, html .ui-bar-b a, html .ui-body-b a, html body .ui-group-theme-b a { color: #2ad; font-weight: 700; } .ui-page-theme-b a:visited, html .ui-bar-b a:visited, html .ui-body-b a:visited, html body .ui-group-theme-b a:visited { color: #2ad; } .ui-page-theme-b a:hover, html .ui-bar-b a:hover, html .ui-body-b a:hover, html body .ui-group-theme-b a:hover { color: #08b; } .ui-page-theme-b a:active, html .ui-bar-b a:active, html .ui-body-b a:active, html body .ui-group-theme-b a:active { color: #08b; } .ui-page-theme-b .ui-btn, html .ui-bar-b .ui-btn, html .ui-body-b .ui-btn, html body .ui-group-theme-b .ui-btn, html head+body .ui-btn.ui-btn-b, .ui-page-theme-b .ui-btn:visited, html .ui-bar-b .ui-btn:visited, html .ui-body-b .ui-btn:visited, html body .ui-group-theme-b .ui-btn:visited, html head+body .ui-btn.ui-btn-b:visited { background-color: #333; border-color: #1f1f1f; color: #fff; text-shadow: 0 1px 0 #111; } .ui-page-theme-b .ui-btn:hover, html .ui-bar-b .ui-btn:hover, html .ui-body-b .ui-btn:hover, html body .ui-group-theme-b .ui-btn:hover, html head+body .ui-btn.ui-btn-b:hover { background-color: #373737; border-color: #1f1f1f; color: #fff; text-shadow: 0 1px 0 #111; } .ui-page-theme-b .ui-btn:active, html .ui-bar-b .ui-btn:active, html .ui-body-b .ui-btn:active, html body .ui-group-theme-b .ui-btn:active, html head+body .ui-btn.ui-btn-b:active { background-color: #404040; border-color: #1f1f1f; color: #fff; text-shadow: 0 1px 0 #111; } .ui-page-theme-b .ui-btn.ui-btn-active, html .ui-bar-b .ui-btn.ui-btn-active, html .ui-body-b .ui-btn.ui-btn-active, html body .ui-group-theme-b .ui-btn.ui-btn-active, html head+body .ui-btn.ui-btn-b.ui-btn-active, .ui-page-theme-b .ui-checkbox-on:after, html .ui-bar-b .ui-checkbox-on:after, html .ui-body-b .ui-checkbox-on:after, html body .ui-group-theme-b .ui-checkbox-on:after, .ui-btn.ui-checkbox-on.ui-btn-b:after, .ui-page-theme-b .ui-flipswitch-active, html .ui-bar-b .ui-flipswitch-active, html .ui-body-b .ui-flipswitch-active, html body .ui-group-theme-b .ui-flipswitch-active, html body .ui-flipswitch.ui-bar-b.ui-flipswitch-active, .ui-page-theme-b .ui-slider-track .ui-btn-active, html .ui-bar-b .ui-slider-track .ui-btn-active, html .ui-body-b .ui-slider-track .ui-btn-active, html body .ui-group-theme-b .ui-slider-track .ui-btn-active, html body div.ui-slider-track.ui-body-b .ui-btn-active { background-color: #2ad; border-color: #2ad; color: #fff; text-shadow: 0 1px 0 #08b; } .ui-page-theme-b .ui-radio-on:after, html .ui-bar-b .ui-radio-on:after, html .ui-body-b .ui-radio-on:after, html body .ui-group-theme-b .ui-radio-on:after, .ui-btn.ui-radio-on.ui-btn-b:after { border-color: #2ad; } .ui-page-theme-b .ui-btn:focus, html .ui-bar-b .ui-btn:focus, html .ui-body-b .ui-btn:focus, html body .ui-group-theme-b .ui-btn:focus, html head+body .ui-btn.ui-btn-b:focus, .ui-page-theme-b .ui-focus, html .ui-bar-b .ui-focus, html .ui-body-b .ui-focus, html body .ui-group-theme-b .ui-focus, html head+body .ui-btn-b.ui-focus, html head+body .ui-body-b.ui-focus { -webkit-box-shadow: 0 0 12px #2ad; -moz-box-shadow: 0 0 12px #2ad; box-shadow: 0 0 12px #2ad; } button.ui-btn-icon-notext, .ui-controlgroup-horizontal .ui-controlgroup-controls button.ui-btn { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; width: 1.75em; } .ui-hide-label>label, .ui-hide-label .ui-controlgroup-label, .ui-hide-label .ui-rangeslider label, .ui-hidden-accessible { position: absolute!important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); } .ui-controlgroup-horizontal .ui-controlgroup-controls { display: inline-block; vertical-align: middle; border-radius: 3px; } .ui-controlgroup-horizontal .ui-controlgroup-controls label{ border:1px solid #ddd; } .ui-controlgroup-horizontal .ui-controlgroup-controls:before, .ui-controlgroup-horizontal .ui-controlgroup-controls:after { content: ""; display: table; } .ui-controlgroup-horizontal .ui-controlgroup-controls:after { clear: both; } .ui-controlgroup-horizontal .ui-controlgroup-controls>.ui-btn, .ui-controlgroup-horizontal .ui-controlgroup-controls li>.ui-btn, .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-checkbox, .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-radio, .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-select { float: left; clear: none; } .ui-controlgroup-horizontal .ui-controlgroup-controls button.ui-btn, .ui-controlgroup-controls .ui-btn-icon-notext { width: auto; } .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-btn-icon-notext, .ui-controlgroup-horizontal .ui-controlgroup-controls button.ui-btn-icon-notext { width: 1.5em; } .ui-controlgroup-controls .ui-btn-icon-notext { height: auto; padding: .7em 1em; } .ui-controlgroup-vertical .ui-controlgroup-controls .ui-btn { border-bottom-width: 0; } .ui-controlgroup-vertical .ui-controlgroup-controls .ui-btn.ui-last-child { border-bottom-width: 1px; } .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-btn { border-right-width: 0; } .ui-controlgroup-horizontal .ui-controlgroup-controls .ui-btn.ui-last-child { border-right-width: 1px; } .ui-controlgroup-controls .ui-btn-corner-all, .ui-controlgroup-controls .ui-btn.ui-corner-all { -webkit-border-radius: 0; border-radius: 0; } .ui-controlgroup-controls, .ui-controlgroup-controls .ui-radio, .ui-controlgroup-controls .ui-checkbox, .ui-controlgroup-controls .ui-select, .ui-controlgroup-controls li { -webkit-border-radius: inherit; border-radius: inherit; } .ui-controlgroup-vertical .ui-btn.ui-first-child { -webkit-border-top-left-radius: inherit; border-top-left-radius: inherit; -webkit-border-top-right-radius: inherit; border-top-right-radius: inherit; } .ui-controlgroup-vertical .ui-btn.ui-last-child { -webkit-border-bottom-left-radius: inherit; border-bottom-left-radius: inherit; -webkit-border-bottom-right-radius: inherit; border-bottom-right-radius: inherit; } .ui-controlgroup-horizontal .ui-btn.ui-first-child { -webkit-border-top-left-radius: inherit; border-top-left-radius: inherit; -webkit-border-bottom-left-radius: inherit; border-bottom-left-radius: inherit; } .ui-controlgroup-horizontal .ui-btn.ui-last-child { -webkit-border-top-right-radius: inherit; border-top-right-radius: inherit; -webkit-border-bottom-right-radius: inherit; border-bottom-right-radius: inherit; } /* Fix bug Jquery Onclick, blue line appear */ *:focus { outline: none !important; } /* MCustom Scrollbar */ .mCSB_container { width: auto; margin-right: 0; overflow: hidden; } .mCSB_container.mCS_no_scrollbar { margin-right: 0; } .mCS_disabled>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar, .mCS_destroyed>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar { margin-right: 30px; } .mCustomScrollBox>.mCSB_scrollTools { width: 5px; height: 100%; top: 0; right: 0; } .mCSB_scrollTools .mCSB_draggerContainer { position: absolute; top: 0; left: 0; bottom: 0; right: 0; height: auto; } .mCSB_scrollTools a+.mCSB_draggerContainer { margin: 20px 0; } .mCSB_scrollTools .mCSB_draggerRail { width: 5px; height: 100%; margin: 0 auto; } .mCSB_scrollTools .mCSB_dragger { cursor: pointer; width: 100%; height: 30px; } .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 5px; height: 100%; margin: 0 auto; text-align: center; } .mCSB_scrollTools .mCSB_buttonUp, .mCSB_scrollTools .mCSB_buttonDown { display: block; position: relative; height: 20px; overflow: hidden; margin: 0 auto; cursor: pointer; } .mCSB_scrollTools .mCSB_buttonDown { top: 100%; margin-top: -40px; } .mCSB_horizontal>.mCSB_container { height: auto; margin-right: 0; margin-bottom: 30px; overflow: hidden; } .mCSB_horizontal>.mCSB_container.mCS_no_scrollbar { margin-bottom: 0; } .mCS_disabled>.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar, .mCS_destroyed>.mCSB_horizontal>.mCSB_container.mCS_no_scrollbar { margin-right: 0; margin-bottom: 30px; } .mCSB_horizontal.mCustomScrollBox>.mCSB_scrollTools { width: 100%; height: 16px; top: auto; right: auto; bottom: 0; left: 0; overflow: hidden; } .mCSB_horizontal>.mCSB_scrollTools a+.mCSB_draggerContainer { margin: 0 20px; } .mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%; height: 2px; margin: 7px 0; } .mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger { width: 30px; height: 100%} .mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 4px; margin: 6px auto; } .mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonLeft, .mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonRight { display: block; position: relative; width: 20px; height: 100%; overflow: hidden; margin: 0 auto; cursor: pointer; float: left; } .mCSB_horizontal>.mCSB_scrollTools .mCSB_buttonRight { margin-left: -40px; float: right; } .mCustomScrollBox { -ms-touch-action: none; } .mCustomScrollBox>.mCSB_scrollTools { opacity: 0; filter: "alpha(opacity=0)"; -ms-filter: "alpha(opacity=0)"} .mCustomScrollBox:hover>.mCSB_scrollTools { opacity: 1; filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)"} .mCSB_scrollTools .mCSB_draggerRail { background: #000; background: rgba(0, 0, 0, 0.4); filter: "alpha(opacity=40)"; -ms-filter: "alpha(opacity=40)"} .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { background: #fff; background: rgba(255, 255, 255, 0.4); filter: "alpha(opacity=40)"; -ms-filter: "alpha(opacity=40)"} .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(255, 255, 255, 0.85); filter: "alpha(opacity=85)"; -ms-filter: "alpha(opacity=85)"} .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(255, 255, 255, 0.9); filter: "alpha(opacity=90)"; -ms-filter: "alpha(opacity=90)"} .mCSB_scrollTools .mCSB_buttonUp, .mCSB_scrollTools .mCSB_buttonDown, .mCSB_scrollTools .mCSB_buttonLeft, .mCSB_scrollTools .mCSB_buttonRight { background-image: url(mCSB_buttons.png); background-repeat: no-repeat; opacity: .4; filter: "alpha(opacity=40)"; -ms-filter: "alpha(opacity=40)"} .mCSB_scrollTools .mCSB_buttonUp { background-position: 0 0; } .mCSB_scrollTools .mCSB_buttonDown { background-position: 0 -20px; } .mCSB_scrollTools .mCSB_buttonLeft { background-position: 0 -40px; } .mCSB_scrollTools .mCSB_buttonRight { background-position: 0 -56px; } .mCSB_scrollTools .mCSB_buttonUp:hover, .mCSB_scrollTools .mCSB_buttonDown:hover, .mCSB_scrollTools .mCSB_buttonLeft:hover, .mCSB_scrollTools .mCSB_buttonRight:hover { opacity: .75; filter: "alpha(opacity=75)"; -ms-filter: "alpha(opacity=75)"} .mCSB_scrollTools .mCSB_buttonUp:active, .mCSB_scrollTools .mCSB_buttonDown:active, .mCSB_scrollTools .mCSB_buttonLeft:active, .mCSB_scrollTools .mCSB_buttonRight:active { opacity: .9; filter: "alpha(opacity=90)"; -ms-filter: "alpha(opacity=90)"} .mCS-dark>.mCSB_scrollTools .mCSB_draggerRail { background: #000; background: rgba(0, 0, 0, 0.15); } .mCS-dark>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { background: #000; background: rgba(0, 0, 0, 0.75); } .mCS-dark>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.85); } .mCS-dark>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-dark>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.9); } .mCS-dark>.mCSB_scrollTools .mCSB_buttonUp { background-position: -80px 0; } .mCS-dark>.mCSB_scrollTools .mCSB_buttonDown { background-position: -80px -20px; } .mCS-dark>.mCSB_scrollTools .mCSB_buttonLeft { background-position: -80px -40px; } .mCS-dark>.mCSB_scrollTools .mCSB_buttonRight { background-position: -80px -56px; } .mCS-light-2>.mCSB_scrollTools .mCSB_draggerRail { width: 4px; background: #fff; background: rgba(255, 255, 255, 0.1); -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; } .mCS-light-2>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 4px; background: #fff; background: rgba(255, 255, 255, 0.75); -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; } .mCS-light-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%; height: 4px; margin: 6px 0; } .mCS-light-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 4px; margin: 6px auto; } .mCS-light-2>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(255, 255, 255, 0.85); } .mCS-light-2>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-light-2>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(255, 255, 255, 0.9); } .mCS-light-2>.mCSB_scrollTools .mCSB_buttonUp { background-position: -32px 0; } .mCS-light-2>.mCSB_scrollTools .mCSB_buttonDown { background-position: -32px -20px; } .mCS-light-2>.mCSB_scrollTools .mCSB_buttonLeft { background-position: -40px -40px; } .mCS-light-2>.mCSB_scrollTools .mCSB_buttonRight { background-position: -40px -56px; } .mCS-dark-2>.mCSB_scrollTools .mCSB_draggerRail { width: 4px; background: #000; background: rgba(0, 0, 0, 0.1); -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; } .mCS-dark-2>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 4px; background: #000; background: rgba(0, 0, 0, 0.75); -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; } .mCS-dark-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%; height: 4px; margin: 6px 0; } .mCS-dark-2.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 4px; margin: 6px auto; } .mCS-dark-2>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.85); } .mCS-dark-2>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-dark-2>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.9); } .mCS-dark-2>.mCSB_scrollTools .mCSB_buttonUp { background-position: -112px 0; } .mCS-dark-2>.mCSB_scrollTools .mCSB_buttonDown { background-position: -112px -20px; } .mCS-dark-2>.mCSB_scrollTools .mCSB_buttonLeft { background-position: -120px -40px; } .mCS-dark-2>.mCSB_scrollTools .mCSB_buttonRight { background-position: -120px -56px; } .mCS-light-thick>.mCSB_scrollTools .mCSB_draggerRail { width: 4px; background: #fff; background: rgba(255, 255, 255, 0.1); -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .mCS-light-thick>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 6px; background: #fff; background: rgba(255, 255, 255, 0.75); -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .mCS-light-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%; height: 4px; margin: 6px 0; } .mCS-light-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 6px; margin: 5px auto; } .mCS-light-thick>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(255, 255, 255, 0.85); } .mCS-light-thick>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-light-thick>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(255, 255, 255, 0.9); } .mCS-light-thick>.mCSB_scrollTools .mCSB_buttonUp { background-position: -16px 0; } .mCS-light-thick>.mCSB_scrollTools .mCSB_buttonDown { background-position: -16px -20px; } .mCS-light-thick>.mCSB_scrollTools .mCSB_buttonLeft { background-position: -20px -40px; } .mCS-light-thick>.mCSB_scrollTools .mCSB_buttonRight { background-position: -20px -56px; } .mCS-dark-thick>.mCSB_scrollTools .mCSB_draggerRail { width: 4px; background: #000; background: rgba(0, 0, 0, 0.1); -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 6px; background: #000; background: rgba(0, 0, 0, 0.75); -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .mCS-dark-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%; height: 4px; margin: 6px 0; } .mCS-dark-thick.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 6px; margin: 5px auto; } .mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.85); } .mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-dark-thick>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.9); } .mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonUp { background-position: -96px 0; } .mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonDown { background-position: -96px -20px; } .mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonLeft { background-position: -100px -40px; } .mCS-dark-thick>.mCSB_scrollTools .mCSB_buttonRight { background-position: -100px -56px; } .mCS-light-thin>.mCSB_scrollTools .mCSB_draggerRail { background: #fff; background: rgba(255, 255, 255, 0.1); } .mCS-light-thin>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 5px; } .mCS-light-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%} .mCS-light-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 2px; margin: 7px auto; } .mCS-dark-thin>.mCSB_scrollTools .mCSB_draggerRail { background: #000; background: rgba(0, 0, 0, 0.15); } .mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 2px; background: #000; background: rgba(0, 0, 0, 0.75); } .mCS-dark-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail { width: 100%} .mCS-dark-thin.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 100%; height: 2px; margin: 7px auto; } .mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.85); } .mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-dark-thin>.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: rgba(0, 0, 0, 0.9); } .mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonUp { background-position: -80px 0; } .mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonDown { background-position: -80px -20px; } .mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonLeft { background-position: -80px -40px; } .mCS-dark-thin>.mCSB_scrollTools .mCSB_buttonRight { background-position: -80px -56px; }
{'content_hash': '92e233766fc9916c56c0c0e607a2d237', 'timestamp': '', 'source': 'github', 'line_count': 3960, 'max_line_length': 910, 'avg_line_length': 28.945454545454545, 'alnum_prop': 0.6717441373534339, 'repo_name': 'project-store/theme', 'id': '38842436fc773138e1138ea574e64afa8b919056', 'size': '114624', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'backend/Pixit/assets/css/plugins.css', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '27940912'}, {'name': 'CoffeeScript', 'bytes': '16726'}, {'name': 'HTML', 'bytes': '231766282'}, {'name': 'JavaScript', 'bytes': '81504306'}, {'name': 'PHP', 'bytes': '417111'}, {'name': 'Ruby', 'bytes': '902'}, {'name': 'Shell', 'bytes': '616'}]}
namespace Kostassoid.Anodyne.Wiring.Syntax.Internal { using System; using Common; using Subscription; internal class TargetSyntax<TEvent> : ITargetSyntax<TEvent> where TEvent : class, IEvent { private readonly SubscriptionSpecification<TEvent> _specification; public TargetSyntax(SubscriptionSpecification<TEvent> specification) { _specification = specification; } public Action With(IHandlerOf<TEvent> handler, Priority priority = null) { _specification.HandlerAction = handler.Handle; _specification.Priority = (priority ?? Priority.Normal).Level; return SubscriptionPerformer.Perform(_specification); } public Action With(Action<TEvent> action, Priority priority = null) { _specification.HandlerAction = action; _specification.Priority = (priority ?? Priority.Normal).Level; return SubscriptionPerformer.Perform(_specification); } public ITargetDiscoverySyntax<TEvent, THandler> With<THandler>(EventMatching eventMatching, Priority priority = null) where THandler : class { _specification.EventMatching = eventMatching; _specification.Priority = (priority ?? Priority.Normal).Level; return new TargetDiscoverySyntax<TEvent, THandler>(_specification); } public ITargetDiscoveryByTypeSyntax<TEvent> With(Type handlerType, EventMatching eventMatching, Priority priority = null) { _specification.EventMatching = eventMatching; _specification.TargetType = handlerType; _specification.Priority = (priority ?? Priority.Normal).Level; return new TargetDiscoveryByTypeSyntax<TEvent>(_specification); } public Action WithAsync(IHandlerOf<TEvent> handler) { _specification.Async = true; return With(handler); } public Action WithAsync(Action<TEvent> action) { _specification.Async = true; return With(action); } public ITargetDiscoverySyntax<TEvent, THandler> WithAsync<THandler>(EventMatching eventMatching) where THandler : class { _specification.Async = true; return With<THandler>(eventMatching); } public ITargetDiscoveryByTypeSyntax<TEvent> WithAsync(Type handlerType, EventMatching eventMatching) { _specification.Async = true; return With(handlerType, eventMatching); } } }
{'content_hash': '15b4484af63dd1040596bb3438c6a12a', 'timestamp': '', 'source': 'github', 'line_count': 78, 'max_line_length': 148, 'avg_line_length': 34.37179487179487, 'alnum_prop': 0.6277508392390899, 'repo_name': 'Kostassoid/Anodyne', 'id': '95588a91e37f669a6eba91a50d6698a6bb763a7f', 'size': '3295', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/Anodyne-Wiring/Syntax/Internal/TargetSyntax.cs', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'ASP', 'bytes': '115'}, {'name': 'C#', 'bytes': '618079'}, {'name': 'CSS', 'bytes': '1051'}, {'name': 'JavaScript', 'bytes': '209546'}, {'name': 'Python', 'bytes': '7766'}, {'name': 'Shell', 'bytes': '7893'}]}
package com.dremio.ssl; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.security.GeneralSecurityException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateException; import java.util.Collections; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SNIHostName; import javax.net.ssl.SSLEngine; import javax.net.ssl.SSLException; import javax.net.ssl.SSLParameters; import javax.net.ssl.TrustManagerFactory; import com.dremio.common.VM; import com.google.common.base.Strings; import com.google.common.collect.ImmutableList; import io.netty.buffer.ByteBufAllocator; import io.netty.handler.ssl.ClientAuth; import io.netty.handler.ssl.OpenSsl; import io.netty.handler.ssl.SslContext; import io.netty.handler.ssl.SslContextBuilder; import io.netty.handler.ssl.SslProvider; import io.netty.handler.ssl.util.InsecureTrustManagerFactory; /** * Default implementation. */ public class SSLEngineFactoryImpl implements SSLEngineFactory { private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(SSLEngineFactoryImpl.class); private static final String SSL_PROVIDER_PROPERTY = "dremio.ssl.provider"; private static final String DEFAULT_SSL_PROVIDER; private static final SslProvider SSL_PROVIDER; private static final String SSL_PROTOCOLS_PROPERTY = "dremio.ssl.protocols"; private static final String DEFAULT_SSL_PROTOCOLS = "TLSv1.2"; private static final String[] SSL_PROTOCOLS; private static final String SSL_CIPHERS_PROPERTY = "dremio.ssl.ciphers"; private static final Iterable<String> SSL_CIPHERS; static { DEFAULT_SSL_PROVIDER = OpenSsl.isAvailable() ? SslProvider.OPENSSL.name() : SslProvider.JDK.name(); SSL_PROVIDER = SslProvider.valueOf(System.getProperty(SSL_PROVIDER_PROPERTY, DEFAULT_SSL_PROVIDER)); SSL_PROTOCOLS = System.getProperty(SSL_PROTOCOLS_PROPERTY, DEFAULT_SSL_PROTOCOLS).split(","); final String cipherString = System.getProperty(SSL_CIPHERS_PROPERTY); Iterable<String> ciphers = null; // defaults to null; see SSlContextBuilder#ciphers if (cipherString != null) { ciphers = ImmutableList.copyOf(cipherString.split(",")); } SSL_CIPHERS = ciphers; } private final SSLConfig sslConfig; private final KeyManagerFactory keyManagerFactory; private final TrustManagerFactory trustManagerFactory; SSLEngineFactoryImpl(SSLConfig sslConfig) throws SSLException { this.sslConfig = sslConfig; try { keyManagerFactory = newKeyManagerFactory(); trustManagerFactory = newTrustManagerFactory(); } catch (GeneralSecurityException | IOException e) { throw new SSLException(e); } } private KeyManagerFactory newKeyManagerFactory() throws GeneralSecurityException, IOException { //noinspection ObjectEquality if (sslConfig.getKeyStorePath() == SSLConfig.UNSPECIFIED) { return null; } final KeyStore keyStore = KeyStore.getInstance(sslConfig.getKeyStoreType()); try (InputStream stream = new FileInputStream(sslConfig.getKeyStorePath())) { keyStore.load(stream, sslConfig.getKeyStorePassword().toCharArray()); } if (keyStore.size() == 0) { throw new IllegalArgumentException("Key store has no entries"); } final KeyManagerFactory factory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()); factory.init(keyStore, sslConfig.getKeyPassword().toCharArray()); return factory; } private TrustManagerFactory newTrustManagerFactory() throws GeneralSecurityException, IOException { if (sslConfig.disablePeerVerification()) { return InsecureTrustManagerFactory.INSTANCE; } final CompositeTrustManagerFactory.Builder builder = CompositeTrustManagerFactory.newBuilder(); if (sslConfig.useDefaultTrustStore()) { builder.addDefaultTrustStore(); } else { final KeyStore mainTrustStore = KeyStore.getInstance(sslConfig.getTrustStoreType()); try (InputStream stream = !Strings.isNullOrEmpty(sslConfig.getTrustStorePath()) ? new FileInputStream(sslConfig.getTrustStorePath()) : null) { mainTrustStore.load(stream, sslConfig.getTrustStorePassword().toCharArray()); } builder.addTrustStore(mainTrustStore); } if (sslConfig.useSystemTrustStore()) { if (VM.isWindowsHost()) { tryAddTrustStoreType(builder, "Windows-ROOT"); tryAddTrustStoreType(builder, "Windows-MY"); } else if (VM.isMacOSHost()) { tryAddTrustStoreType(builder, "KeychainStore"); } } return builder.build(); } private static void tryAddTrustStoreType(CompositeTrustManagerFactory.Builder builder, String trustStoreType) { try { final KeyStore trustStore = KeyStore.getInstance(trustStoreType); trustStore.load(null, null); builder.addTrustStore(trustStore); } catch (KeyStoreException | IOException | NoSuchAlgorithmException | CertificateException e) { logger.warn("Unable to add trust store of type {}. Ignoring certificates.", trustStoreType, e); } } @Override public SslContextBuilder newServerContextBuilder() { return SslContextBuilder.forServer(keyManagerFactory) .trustManager(trustManagerFactory) .clientAuth(sslConfig.disablePeerVerification() ? ClientAuth.OPTIONAL : ClientAuth.REQUIRE) .sslProvider(SSL_PROVIDER) .protocols(SSL_PROTOCOLS) .ciphers(SSL_CIPHERS); } @Override public SSLEngine newServerEngine(ByteBufAllocator allocator, String peerHost, int peerPort) throws SSLException { final SslContext sslContext = newServerContextBuilder().build(); final SSLEngine engine = sslContext.newEngine(allocator, peerHost, peerPort); try { engine.setEnableSessionCreation(true); } catch (UnsupportedOperationException ex) { // see ReferenceCountedOpenSslEngine#setEnableSessionCreation logger.trace("Session creation not enabled", ex); } return engine; } @Override public SslContextBuilder newClientContextBuilder() { return SslContextBuilder.forClient() .keyManager(keyManagerFactory) .trustManager(trustManagerFactory) .sslProvider(SSL_PROVIDER) .protocols(SSL_PROTOCOLS) .ciphers(SSL_CIPHERS); } @Override public SSLEngine newClientEngine(ByteBufAllocator allocator, String peerHost, int peerPort) throws SSLException { final SslContext sslContext = newClientContextBuilder().build(); final SSLEngine engine = sslContext.newEngine(allocator, peerHost, peerPort); final SSLParameters sslParameters = engine.getSSLParameters(); sslParameters.setServerNames(Collections.singletonList(new SNIHostName(peerHost))); if (!sslConfig.disableHostVerification()) { // only available since Java 7 sslParameters.setEndpointIdentificationAlgorithm("HTTPS"); } engine.setSSLParameters(sslParameters); try { engine.setEnableSessionCreation(true); } catch (UnsupportedOperationException ex) { // see ReferenceCountedOpenSslEngine#setEnableSessionCreation logger.trace("Session creation not enabled", ex); } return engine; } }
{'content_hash': '6c7800f857a7a6e9a13309d26b1e0863', 'timestamp': '', 'source': 'github', 'line_count': 200, 'max_line_length': 113, 'avg_line_length': 36.385, 'alnum_prop': 0.7514085474783565, 'repo_name': 'dremio/dremio-oss', 'id': '3a943e53ad800581e7819bac9cc0080a9b266f00', 'size': '7887', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'common/src/main/java/com/dremio/ssl/SSLEngineFactoryImpl.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '47376'}, {'name': 'Dockerfile', 'bytes': '1668'}, {'name': 'FreeMarker', 'bytes': '132156'}, {'name': 'GAP', 'bytes': '15936'}, {'name': 'HTML', 'bytes': '6544'}, {'name': 'Java', 'bytes': '39679012'}, {'name': 'JavaScript', 'bytes': '5439822'}, {'name': 'Less', 'bytes': '547002'}, {'name': 'SCSS', 'bytes': '95688'}, {'name': 'Shell', 'bytes': '16063'}, {'name': 'TypeScript', 'bytes': '887739'}]}
module.exports = { up: (queryInterface, Sequelize) => { queryInterface.createTable('Users', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, username: { allowNull: false, type: Sequelize.STRING }, email: { allowNull: false, type: Sequelize.STRING }, password: { allowNull: false, type: Sequelize.STRING }, firstname: { allowNull: true, type: Sequelize.STRING }, lastname: { allowNull: true, type: Sequelize.STRING }, sex: { allowNull: true, type: Sequelize.STRING }, isAuthenticated: { allowNull: false, type: Sequelize.BOOLEAN }, createdAt: { allowNull: false, type: Sequelize.DATE }, updatedAt: { allowNull: false, type: Sequelize.DATE } }); }, down: queryInterface => queryInterface.dropTable('Users') };
{'content_hash': 'f9f796171a6164944ff5c1e0f2086ca1', 'timestamp': '', 'source': 'github', 'line_count': 49, 'max_line_length': 59, 'avg_line_length': 21.653061224489797, 'alnum_prop': 0.5146088595664468, 'repo_name': 'Blaize3/more-recipes-project2017', 'id': '0084639bcd17094dd2bb1691c97eb18c5e5303d2', 'size': '1063', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'server/server/migrations/20171030223516-create-user.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '2609'}, {'name': 'HTML', 'bytes': '128077'}, {'name': 'JavaScript', 'bytes': '36387'}]}
package io.cloudslang.lang.compiler.modeller.transformers; import io.cloudslang.lang.entities.ScoreLangConstants; import org.springframework.stereotype.Component; import java.util.Arrays; import java.util.List; @Component public class BreakTransformer implements Transformer<List<String>, List<String>>{ @Override public List<String> transform(List<String> rawData) { if (rawData == null) { return Arrays.asList(ScoreLangConstants.FAILURE_RESULT); } return rawData; } @Override public List<Scope> getScopes() { return Arrays.asList(Scope.AFTER_TASK); } @Override public String keyToTransform() { return null; } }
{'content_hash': '0bdbbffe61ed492c5a166181b603c3d4', 'timestamp': '', 'source': 'github', 'line_count': 31, 'max_line_length': 81, 'avg_line_length': 22.870967741935484, 'alnum_prop': 0.691114245416079, 'repo_name': 'natabeck/cloud-slang', 'id': 'bc16715a85e5deee941630f34c44d5ac13ff0686', 'size': '1193', 'binary': False, 'copies': '4', 'ref': 'refs/heads/master', 'path': 'cloudslang-compiler/src/main/java/io/cloudslang/lang/compiler/modeller/transformers/BreakTransformer.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Java', 'bytes': '796835'}, {'name': 'Shell', 'bytes': '1730'}, {'name': 'Slash', 'bytes': '70492'}]}
FROM gradle:4.7.0-jdk10 USER root WORKDIR /http4k COPY build.gradle build.gradle COPY settings.gradle settings.gradle COPY apache apache COPY core core COPY jetty jetty COPY netty netty COPY sunhttp sunhttp COPY undertow undertow RUN gradle --quiet build netty:shadowJar CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-XX:+AlwaysPreTouch", "-jar", "netty/build/libs/http4k-netty-benchmark.jar"]
{'content_hash': '78b8aa118e5e7176b4c88ccb4ee06e4f', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 162, 'avg_line_length': 33.38461538461539, 'alnum_prop': 0.7672811059907834, 'repo_name': 'jeevatkm/FrameworkBenchmarks', 'id': '339b8e8a91274e1613ada2f2aa135fe92777cf65', 'size': '434', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'frameworks/Kotlin/http4k/http4k-netty.dockerfile', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'ASP', 'bytes': '104'}, {'name': 'Batchfile', 'bytes': '2088'}, {'name': 'C', 'bytes': '159009'}, {'name': 'C#', 'bytes': '408319'}, {'name': 'C++', 'bytes': '118817'}, {'name': 'CMake', 'bytes': '2823'}, {'name': 'CSS', 'bytes': '17457'}, {'name': 'Clojure', 'bytes': '78497'}, {'name': 'Common Lisp', 'bytes': '2653'}, {'name': 'Crystal', 'bytes': '24233'}, {'name': 'D', 'bytes': '30033'}, {'name': 'Dart', 'bytes': '52149'}, {'name': 'Dockerfile', 'bytes': '286276'}, {'name': 'Elixir', 'bytes': '11485'}, {'name': 'Erlang', 'bytes': '41222'}, {'name': 'F#', 'bytes': '89877'}, {'name': 'Go', 'bytes': '118936'}, {'name': 'Groovy', 'bytes': '21834'}, {'name': 'HTML', 'bytes': '138242'}, {'name': 'Hack', 'bytes': '1945'}, {'name': 'Haskell', 'bytes': '29053'}, {'name': 'Java', 'bytes': '618410'}, {'name': 'JavaScript', 'bytes': '168850'}, {'name': 'Kotlin', 'bytes': '52933'}, {'name': 'Lua', 'bytes': '14508'}, {'name': 'Makefile', 'bytes': '3052'}, {'name': 'Meson', 'bytes': '846'}, {'name': 'MoonScript', 'bytes': '2396'}, {'name': 'Nim', 'bytes': '1645'}, {'name': 'PHP', 'bytes': '649217'}, {'name': 'PLpgSQL', 'bytes': '3446'}, {'name': 'Perl', 'bytes': '12797'}, {'name': 'Python', 'bytes': '314850'}, {'name': 'QMake', 'bytes': '2301'}, {'name': 'Ruby', 'bytes': '82555'}, {'name': 'Rust', 'bytes': '72892'}, {'name': 'Scala', 'bytes': '57723'}, {'name': 'Shell', 'bytes': '47827'}, {'name': 'Smarty', 'bytes': '436'}, {'name': 'Swift', 'bytes': '96148'}, {'name': 'TypeScript', 'bytes': '13551'}, {'name': 'UrWeb', 'bytes': '4453'}, {'name': 'Vala', 'bytes': '1579'}, {'name': 'Visual Basic', 'bytes': '27087'}, {'name': 'Volt', 'bytes': '511'}]}
<?php namespace denbora\R_T_G_Services\responses; use denbora\R_T_G_Services\R_T_G_ServiceException; class TournamentResponse extends BaseResponse implements SoapResponseInterface { /** * @param $response * @return mixed */ public function rawResponse($response) { return $response; } /** * @param $response * @return mixed * @throws R_T_G_ServiceException */ public function getSlotTournamentsList($response) { return $this->baseTrim($response); } /** * @param $response * @return mixed * @throws R_T_G_ServiceException */ public function getSlotTournamentDetails($response) { return $this->baseTrim($response); } /** * @param $response * @return mixed * @throws R_T_G_ServiceException */ public function getCasinoList($response) { return $this->baseTrim($response); } /** * @param $response * @return mixed * @throws R_T_G_ServiceException */ public function getPlayerClassList($response) { return $this->baseTrim($response); } /** * @param $response * @return mixed * @throws R_T_G_ServiceException */ public function getUnRestrictedTournaments($response) { return $this->baseTrim($response); } /** * @param $response * @return mixed * @throws R_T_G_ServiceException */ public function getRestrictedTournaments($response) { return $this->baseTrim($response); } }
{'content_hash': 'a9bd9561ac38de1920d92954ede42b3c', 'timestamp': '', 'source': 'github', 'line_count': 77, 'max_line_length': 78, 'avg_line_length': 20.493506493506494, 'alnum_prop': 0.5906210392902408, 'repo_name': 'Denbora/R_T_G_Services', 'id': 'e3c616ca49c562930467611ee487cb2fd7f1841b', 'size': '1578', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/responses/TournamentResponse.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'PHP', 'bytes': '636309'}]}
# `no-use-before-define` Disallow the use of variables before they are defined. ## Rule Details This rule extends the base [`eslint/no-use-before-define`](https://eslint.org/docs/rules/no-use-before-define) rule. It adds support for `type`, `interface` and `enum` declarations. ## How to Use ```jsonc { // note you must disable the base rule as it can report incorrect errors "no-use-before-define": "off", "@typescript-eslint/no-use-before-define": ["error"] } ``` ## Options See [`eslint/no-use-before-define` options](https://eslint.org/docs/rules/no-use-before-define#options). This rule adds the following options: ```ts interface Options extends BaseNoUseBeforeDefineOptions { enums?: boolean; typedefs?: boolean; ignoreTypeReferences?: boolean; } const defaultOptions: Options = { ...baseNoUseBeforeDefineDefaultOptions, enums: true, typedefs: true, ignoreTypeReferences: true, }; ``` ### `enums` If this is `true`, this rule warns every reference to a enum before the enum declaration. If this is `false`, this rule will ignore references to enums, when the reference is in a child scope. Examples of code for the `{ "enums": true }` option: <!--tabs--> #### ❌ Incorrect ```ts /*eslint no-use-before-define: ["error", { "enums": true }]*/ const x = Foo.FOO; enum Foo { FOO, } ``` #### ✅ Correct ```ts /*eslint no-use-before-define: ["error", { "enums": false }]*/ function foo() { return Foo.FOO; } enum Foo { FOO, } ``` ### `typedefs` If this is `true`, this rule warns every reference to a type before the type declaration. If this is `false`, this rule will ignore references to types. Examples of **correct** code for the `{ "typedefs": false }` option: ```ts /*eslint no-use-before-define: ["error", { "typedefs": false }]*/ let myVar: StringOrNumber; type StringOrNumber = string | number; ``` ### `ignoreTypeReferences` If this is `true`, this rule ignores all type references, such as in type annotations and assertions. If this is `false`, this will will check all type references. Examples of **correct** code for the `{ "ignoreTypeReferences": true }` option: ```ts /*eslint no-use-before-define: ["error", { "ignoreTypeReferences": true }]*/ let var1: StringOrNumber; type StringOrNumber = string | number; let var2: Enum; enum Enum {} ``` ### Other Options See [`eslint/no-use-before-define` options](https://eslint.org/docs/rules/no-use-before-define#options). <sup> Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-use-before-define.md) </sup> ## Attributes - [ ] ✅ Recommended - [ ] 🔧 Fixable - [ ] 💭 Requires type information
{'content_hash': 'e6580778f770e2632789d3dfd88d56a5', 'timestamp': '', 'source': 'github', 'line_count': 120, 'max_line_length': 116, 'avg_line_length': 22.141666666666666, 'alnum_prop': 0.6928867143394806, 'repo_name': 'GoogleCloudPlatform/prometheus-engine', 'id': 'd96b3099ee8bdd7a6abbead6a32dfa84298a6153', 'size': '2673', 'binary': False, 'copies': '2', 'ref': 'refs/heads/main', 'path': 'third_party/prometheus_ui/base/web/ui/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Dockerfile', 'bytes': '4035'}, {'name': 'Go', 'bytes': '574177'}, {'name': 'Makefile', 'bytes': '5189'}, {'name': 'Shell', 'bytes': '11915'}]}
package com.github.joostvdg.keepwatching.controller; import com.github.joostvdg.keepwatching.model.Movie; import com.github.joostvdg.keepwatching.model.Watcher; import com.github.joostvdg.keepwatching.service.MovieService; import com.github.joostvdg.keepwatching.service.WatcherService; import io.swagger.annotations.ApiParam; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import java.security.Principal; import java.util.Collection; @RestController @RequestMapping("/movies") public class MoviesController { private final Logger logger = LoggerFactory.getLogger(this.getClass()); private MovieService movieService; private ResponseEntity notAuthorizedResponse; public MoviesController(MovieService movieService) { this.movieService = movieService; notAuthorizedResponse = ResponseEntity.status(HttpStatus.UNAUTHORIZED).build(); } @RequestMapping( value = {"/{id}"}, produces = {"application/json", "text/plain; charset=utf-8"}, method = {RequestMethod.GET} ) @ResponseBody public ResponseEntity<Movie> getMovieById(Principal principal, @PathVariable("id") long movieId){ if (principal == null) {return notAuthorizedResponse;} logger.info("Movies::GET {}", movieId); return ResponseEntity.ok().body(movieService.getMovieById(movieId)); } @RequestMapping( value = {""}, produces = {"application/json", "text/plain; charset=utf-8"}, method = {RequestMethod.PUT} ) @ResponseBody public ResponseEntity<Movie> updateMovie(Principal principal, @ApiParam("Movie to update") @RequestBody Movie movie) { if (principal == null) {return notAuthorizedResponse;} logger.info("Movies::PUT {}", movie.getName()); movieService.updateMovie(movie); return ResponseEntity.ok().build(); } }
{'content_hash': 'a6d8cc70b3cbcaa144f7eacc7a9f4b90', 'timestamp': '', 'source': 'github', 'line_count': 57, 'max_line_length': 123, 'avg_line_length': 36.85964912280702, 'alnum_prop': 0.7201332698714897, 'repo_name': 'joostvdg/keep-watching', 'id': 'd52894a52f673986664fa3ae86015a9495abd853', 'size': '2101', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'backend/src/main/java/com/github/joostvdg/keepwatching/controller/MoviesController.java', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Dockerfile', 'bytes': '792'}, {'name': 'HTML', 'bytes': '2080'}, {'name': 'Java', 'bytes': '70976'}, {'name': 'JavaScript', 'bytes': '50800'}, {'name': 'Shell', 'bytes': '7126'}]}
<!-- responsive templates from https://github.com/InterNations/antwort --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- So that mobile will display zoomed in --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- enable media queries for windows phone 8 --> <meta name="format-detection" content="telephone=no"> <!-- disable auto telephone linking in iOS --> <title>{{ $subject }}</title> <style type="text/css"> body { margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } table { border-spacing: 0; } table td { border-collapse: collapse; } .ExternalClass { width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } .ReadMsgBody { width: 100%; background-color: #ebebeb; } table { mso-table-lspace: 0pt; mso-table-rspace: 0pt; } img { -ms-interpolation-mode: bicubic; } .yshortcuts a { border-bottom: none !important; } @media screen and (max-width: 599px) { table[class="force-row"], table[class="container"] { width: 100% !important; max-width: 100% !important; } } @media screen and (max-width: 400px) { td[class*="container-padding"] { padding-left: 12px !important; padding-right: 12px !important; } } .ios-footer a { color: #aaaaaa !important; text-decoration: underline; } </style> </head> <body style="margin:0; padding:0;" bgcolor="#F0F0F0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- 100% background wrapper (grey background) --> <table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" bgcolor="#F0F0F0"> <tr> <td align="center" valign="top" bgcolor="#F0F0F0" style="background-color: #F0F0F0;"> <br> <!-- 600px container (white background) --> <table border="0" width="600" cellpadding="0" cellspacing="0" class="container" style="width:600px;max-width:600px"> <tr> <td class="container-padding header" align="left" style="font-family:Helvetica, Arial, sans-serif;font-size:24px;font-weight:bold;padding-bottom:12px;color:#4582EC;padding-left:24px;padding-right:24px"> {{ $subject }} </td> </tr> <tr> <td class="container-padding content" align="left" style="padding-left:24px;padding-right:24px;padding-top:12px;padding-bottom:12px;background-color:#ffffff"> @yield('body') </td> </tr> <tr> <td class="container-padding footer-text" align="left" style="font-family:Helvetica, Arial, sans-serif;font-size:12px;line-height:16px;color:#aaaaaa;padding-left:24px;padding-right:24px"> <br> {{ trans('email.sent-from') }} <a href="http://barryvanveen.nl" style="color:#aaaaaa">barryvanveen.nl</a> <br><br> </td> </tr> </table> <!--/600px container --> </td> </tr> </table> <!--/100% background wrapper--> </body> </html>
{'content_hash': 'a5782c8527ecb9a1f62aaddcc3676edf', 'timestamp': '', 'source': 'github', 'line_count': 117, 'max_line_length': 222, 'avg_line_length': 33.70940170940171, 'alnum_prop': 0.5225659229208925, 'repo_name': 'barryvanveen/barryvanveen', 'id': '226a38a669e42e8b8d593b8350986af77ee7b19a', 'size': '3944', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'resources/views/emails/template.blade.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Blade', 'bytes': '48256'}, {'name': 'HTML', 'bytes': '9025'}, {'name': 'JavaScript', 'bytes': '70724'}, {'name': 'PHP', 'bytes': '226906'}, {'name': 'SCSS', 'bytes': '47472'}, {'name': 'Shell', 'bytes': '671'}]}
title: Controllers type: guide order: 30 version: 0.10 --- There are two ways to implement a controller for your resources. Either derive from `ResourceController` or import the `ActsAsResourceController` module. ## ResourceController `JSONAPI::Resources` provides a class, `ResourceController`, that can be used as the base class for your controllers. `ResourceController` supports `index`, `show`, `create`, `update`, and `destroy` methods. Just deriving your controller from `ResourceController` will give you a fully functional controller. For example: ```ruby class PeopleController < JSONAPI::ResourceController end ``` Of course you are free to extend this as needed and override action handlers or other methods. A jsonapi-controller generator is avaliable: ```bash rails generate jsonapi:controller contact ``` ### ResourceControllerMetal `JSONAPI::Resources` also provides an alternative class to `ResourceController` called `ResourceControllerMetal`. In order to provide a lighter weight controller option this strips the controller down to just the classes needed to work with `JSONAPI::Resources`. For example: ```ruby class PeopleController < JSONAPI::ResourceControllerMetal end ``` Note: This may not provide all of the expected controller capabilities if you are using additional gems such as DoorKeeper. ### Serialization Options Additional options can be passed to the serializer using the `serialization_options` method. For example: ```ruby class ApplicationController < JSONAPI::ResourceController def serialization_options {copyright: 'Copyright 2015'} end end ``` These `serialization_options` are passed to the `meta` method used to generate resource `meta` values. ## ActsAsResourceController `JSONAPI::Resources` also provides a module, `JSONAPI::ActsAsResourceController`. You can include this module to mix in all the features of `ResourceController` into your existing controller class. For example: ```ruby class PostsController < ActionController::Base include JSONAPI::ActsAsResourceController end ``` #### Namespaces JSONAPI::Resources supports namespacing of controllers and resources. With namespacing, you can version your API. If you namespace your controller, it will require a namespaced resource. In the following example, we have a `resource` that isn't namespaced, and one that has now been namespaced. There are slight differences between the two resources, as might be seen in a new version of an API: ```ruby class PostResource < JSONAPI::Resource attribute :title attribute :body attribute :subject has_one :author, class_name: 'Person' has_one :section has_many :tags, acts_as_set: true has_many :comments, acts_as_set: false def subject @model.title end filters :title, :author, :tags, :comments filter :id end ... module Api module V1 class PostResource < JSONAPI::Resource # V1 replaces the non-namespaced resource # V1 no longer supports tags and now calls author 'writer' attribute :title attribute :body attribute :subject has_one :writer, foreign_key: 'author_id' has_one :section has_many :comments, acts_as_set: false def subject @model.title end filters :writer end class WriterResource < JSONAPI::Resource attributes :name, :email model_name 'Person' has_many :posts filter :name end end end ``` The following controllers are used: ```ruby class PostsController < JSONAPI::ResourceController end module Api module V1 class PostsController < JSONAPI::ResourceController end end end ``` You will also need to namespace your routes: ```ruby Rails.application.routes.draw do jsonapi_resources :posts namespace :api do namespace :v1 do jsonapi_resources :posts end end end ``` When a namespaced `resource` is used, any related `resources` must also be in the same namespace. #### Error codes Error codes are provided for each error object returned, based on the error. These errors are: ```ruby module JSONAPI VALIDATION_ERROR = '100' INVALID_RESOURCE = '101' FILTER_NOT_ALLOWED = '102' INVALID_FIELD_VALUE = '103' INVALID_FIELD = '104' PARAM_NOT_ALLOWED = '105' PARAM_MISSING = '106' INVALID_FILTER_VALUE = '107' COUNT_MISMATCH = '108' KEY_ORDER_MISMATCH = '109' KEY_NOT_INCLUDED_IN_URL = '110' INVALID_INCLUDE = '112' RELATION_EXISTS = '113' INVALID_SORT_CRITERIA = '114' INVALID_LINKS_OBJECT = '115' TYPE_MISMATCH = '116' INVALID_PAGE_OBJECT = '117' INVALID_PAGE_VALUE = '118' INVALID_FIELD_FORMAT = '119' INVALID_FILTERS_SYNTAX = '120' SAVE_FAILED = '121' INVALID_DATA_FORMAT = '122' INVALID_RELATIONSHIP = '123' BAD_REQUEST = '400' FORBIDDEN = '403' RECORD_NOT_FOUND = '404' NOT_ACCEPTABLE = '406' UNSUPPORTED_MEDIA_TYPE = '415' LOCKED = '423' end ``` These codes can be customized in your app by creating an initializer to override any or all of the codes. In addition, textual error codes can be returned by setting the configuration option `use_text_errors = true`. For example: ```ruby JSONAPI.configure do |config| config.use_text_errors = true end ``` #### Handling Exceptions By default, all exceptions raised downstream from a resource controller will be caught, logged, and a `500 Internal Server Error` will be rendered. Exceptions can be whitelisted in the config to pass through the handler and be caught manually, or you can pass a callback from a resource controller to insert logic into the rescue block without interrupting the control flow. This can be particularly useful for additional logging or monitoring without the added work of rendering responses. Pass a block, refer to controller class methods, or both. Note that methods must be defined as class methods on a controller and accept one parameter, which is passed the exception object that was rescued. ```ruby class ApplicationController < JSONAPI::ResourceController on_server_error :first_callback #or # on_server_error do |error| #do things #end def self.first_callback(error) #env["airbrake.error_id"] = notify_airbrake(error) end end ``` #### Action Callbacks ## verify_content_type_header By default, when controllers extend functionalities from `jsonapi-resources`, the `ActsAsResourceController#verify_content_type_header` method will be triggered before `create`, `update`, `create_relationship` and `update_relationship` actions. This method is responsible for checking if client's request corresponds to the correct media type required by [JSON API](http://jsonapi.org/format/#content-negotiation-clients): `application/vnd.api+json`. In case you need to check the media type for custom actions, just make sure to call the method in your controller's `before_action`: ```ruby class UsersController < JSONAPI::ResourceController before_action :verify_content_type_header, only: [:auth] def auth # some crazy auth code goes here end end ```
{'content_hash': 'aa135d23beb006380d6db0079d1bdf9d', 'timestamp': '', 'source': 'github', 'line_count': 249, 'max_line_length': 490, 'avg_line_length': 28.313253012048193, 'alnum_prop': 0.7409929078014185, 'repo_name': 'cerebris/jsonapi-resources-site', 'id': '6e8b853007cc96a40d8fa5ad9a62828ef8b00793', 'size': '7050', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/v0.10/guide/controllers.md', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '21723'}, {'name': 'HTML', 'bytes': '11925'}, {'name': 'JavaScript', 'bytes': '8522'}]}
import { Component } from "@angular/core"; import { AppComponent } from "../app.component"; @Component({ selector: "navigation-bar", templateUrl: "/app/templates/components/navigations/navigation-bar.component.html" }) export class NavigationBarComponent { constructor(public parent: AppComponent) { } }
{'content_hash': '1ebf0bb621a8e80dad5a9d6c8e00945c', 'timestamp': '', 'source': 'github', 'line_count': 12, 'max_line_length': 86, 'avg_line_length': 27.5, 'alnum_prop': 0.703030303030303, 'repo_name': 'gregoryjenk/GregoryJenk.Mastermind', 'id': 'bf2df8f2d42f85e84d6d8f92f8c5094667f42dbb', 'size': '332', 'binary': False, 'copies': '1', 'ref': 'refs/heads/develop', 'path': 'src/GregoryJenk.Mastermind.Web.Mvc/TypeScripts/Components/Navigations/navigation-bar.component.ts', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C#', 'bytes': '43995'}, {'name': 'HTML', 'bytes': '34210'}, {'name': 'JavaScript', 'bytes': '4171'}, {'name': 'Less', 'bytes': '5522'}, {'name': 'TypeScript', 'bytes': '31993'}]}
class PicksController < ApplicationController before_action :set_pick, only: [:upvote, :downvote] def upvote @pick.upvote_from current_user redirect_to poll_path(@pick.poll_id) end def downvote @pick.downvote_from current_user redirect_to poll_path(@pick.poll_id) end private # Use callbacks to share common setup or constraints between actions. def set_pick @pick = Pick.find(params[:id]) end # Never trust parameters from the scary internet, only allow the white list through. def pick_params params.fetch(:pick, {}) end end
{'content_hash': '4b45b68c9fc404386aea463b43154994', 'timestamp': '', 'source': 'github', 'line_count': 24, 'max_line_length': 88, 'avg_line_length': 24.791666666666668, 'alnum_prop': 0.6907563025210084, 'repo_name': 'AndyLTang/ShadowPoll', 'id': 'b977cf6c4017716768e929f6c7d3e5bd4d16076f', 'size': '595', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'app/controllers/picks_controller.rb', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '4064'}, {'name': 'CoffeeScript', 'bytes': '632'}, {'name': 'HTML', 'bytes': '27172'}, {'name': 'JavaScript', 'bytes': '1940'}, {'name': 'Ruby', 'bytes': '52508'}]}
import { borders, compose, display, flexbox, grid, palette, positions, shadows, sizing, spacing, typography, styleFunctionSx } from '@material-ui/system'; import styled from '../styles/styled'; export const styleFunction = styleFunctionSx(compose(borders, display, flexbox, grid, positions, palette, shadows, sizing, spacing, typography)); /** * @ignore - do not document. */ const Box = styled('div')(styleFunction, { name: 'MuiBox' }); export default Box;
{'content_hash': '207929fd4c70318411de910d0644d850', 'timestamp': '', 'source': 'github', 'line_count': 11, 'max_line_length': 154, 'avg_line_length': 42.0, 'alnum_prop': 0.7337662337662337, 'repo_name': 'cdnjs/cdnjs', 'id': '07928aeb4e3c6272bddd81aaba1d8687a1dc377e', 'size': '462', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'ajax/libs/material-ui/4.12.4/es/Box/Box.js', 'mode': '33188', 'license': 'mit', 'language': []}
using System; using System.IO; using Aspose.Email.AntiSpam; using Aspose.Email.Mime; using Aspose.Email.Clients.Smtp; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET API reference when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manually download Aspose.Email for .NET API from https://www.nuget.org/packages/Aspose.Email/, install it and then add its reference to this project. For any issues, questions or suggestions please feel free to contact us using https://forum.aspose.com/c/email */ namespace Aspose.Email.Examples.CSharp.Email { class ReceiveNotifications { public static void Run() { try { // ExStart:ReceiveNotifications // Create the message MailMessage msg = new MailMessage(); msg.From = "sender@sender.com"; msg.To = "receiver@receiver.com"; msg.Subject = "the subject of the message"; // Set delivery notifications for success and failed messages msg.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess | DeliveryNotificationOptions.OnFailure; // Add the MIME headers msg.Headers.Add_("Disposition-Notification-To", "sender@sender.com"); msg.Headers.Add_("Disposition-Notification-To", "sender@sender.com"); // Send the message SmtpClient client = new SmtpClient("host", "username", "password"); client.Send(msg); // ExEnd:ReceiveNotifications } catch (Exception ex) { Console.Write(ex.Message); } } } }
{'content_hash': '4fd524096f53e9e7cfa870181095f642', 'timestamp': '', 'source': 'github', 'line_count': 51, 'max_line_length': 136, 'avg_line_length': 36.96078431372549, 'alnum_prop': 0.6122015915119363, 'repo_name': 'asposeemail/Aspose_Email_NET', 'id': 'e634baa81044e2decfe751569935a50493b4673d', 'size': '1887', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'Examples/CSharp/Email/ReceiveNotifications.cs', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C#', 'bytes': '73213'}]}
"""Unidiff parsing library.""" from __future__ import unicode_literals from unidiff import __version__ from unidiff.patch import ( DEFAULT_ENCODING, LINE_TYPE_ADDED, LINE_TYPE_CONTEXT, LINE_TYPE_REMOVED, Hunk, PatchedFile, PatchSet, UnidiffParseError, ) VERSION = __version__.__version__
{'content_hash': '3022b2e33a87c71ef11347fdd8aa18be', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 39, 'avg_line_length': 19.0, 'alnum_prop': 0.6718266253869969, 'repo_name': 'matiasb/python-unidiff', 'id': '5f50cc2ed082664e60c29728be72114d0da6978e', 'size': '1472', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'unidiff/__init__.py', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Python', 'bytes': '63678'}, {'name': 'Shell', 'bytes': '70'}]}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>org.gosu-lang.gosu</groupId> <artifactId>gosu-parent</artifactId> <version>1.X-SNAPSHOT</version> <relativePath>../gosu-parent/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>gosu-test-api</artifactId> <name>Gosu :: Test API</name> <dependencies> <dependency> <groupId>org.gosu-lang.gosu</groupId> <artifactId>gosu-core-api</artifactId> <version>1.X-SNAPSHOT</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> </dependencies> </project>
{'content_hash': '921fc2d3e46ad50c5bcbe6de135fe286', 'timestamp': '', 'source': 'github', 'line_count': 27, 'max_line_length': 204, 'avg_line_length': 31.77777777777778, 'alnum_prop': 0.6748251748251748, 'repo_name': 'dumitru-petrusca/gosu-lang', 'id': '8ead648f3b62a88f03ece4b32709aea3a4b4e216', 'size': '858', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'gosu-test-api/pom.xml', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '7707'}, {'name': 'GAP', 'bytes': '51782'}, {'name': 'Gosu', 'bytes': '15934376'}, {'name': 'Groovy', 'bytes': '1245'}, {'name': 'HTML', 'bytes': '4998'}, {'name': 'Java', 'bytes': '14373185'}, {'name': 'JavaScript', 'bytes': '1009648'}, {'name': 'Makefile', 'bytes': '6850'}, {'name': 'Python', 'bytes': '8450'}, {'name': 'Shell', 'bytes': '1046'}]}
#ifndef _WPAIO_H_ #define _WPAIO_H_ # ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/param.h> #include <fcntl.h> #include <stdlib.h> #include <libaio.h> #include "slab_allocator.h" #define A_READ 0 #define A_WRITE 1 namespace safs { class aio_ctx { obj_allocator<struct iocb> iocb_allocator; public: aio_ctx(int node_id, int max_aio); virtual ~aio_ctx() { } struct iocb* make_io_request(int fd, size_t iosize, long long offset, void* buffer, int io_type, struct io_callback_s *cb); struct iocb *make_iovec_request(int fd, const struct iovec iov[], int count, long long offset, int io_type, struct io_callback_s *cb); void destroy_io_requests(struct iocb **iocbs, int num) { iocb_allocator.free(iocbs, num); } virtual void submit_io_request(struct iocb* ioq[], int num) = 0; virtual int io_wait(struct timespec* to, int num) = 0; virtual int max_io_slot() = 0; virtual void print_stat() { } }; class aio_ctx_impl: public aio_ctx { int max_aio; int busy_aio; io_context_t ctx; public: aio_ctx_impl(int node_id, int max_aio): aio_ctx(node_id, max_aio) { this->max_aio = max_aio; busy_aio = 0; memset(&ctx, 0, sizeof(ctx)); int ret = io_queue_init(max_aio, &ctx); if (ret < 0) { fprintf(stderr, "io_queue_init fails: %s\n", strerror(-ret)); exit (1); } } virtual void submit_io_request(struct iocb* ioq[], int num); virtual int io_wait(struct timespec* to, int num); virtual int max_io_slot(); }; typedef void (*callback_t) (io_context_t, struct iocb*[], void *[], long *, long *, int); struct io_callback_s { callback_t func; }; } #endif
{'content_hash': '83e3689cea51bdd4bf78edc74bde8219', 'timestamp': '', 'source': 'github', 'line_count': 83, 'max_line_length': 71, 'avg_line_length': 20.216867469879517, 'alnum_prop': 0.6644815256257449, 'repo_name': 'zheng-da/FlashX', 'id': 'acd84e880f65924c280a90e8c2a40bdc7f8994ab', 'size': '2392', 'binary': False, 'copies': '1', 'ref': 'refs/heads/release', 'path': 'libsafs/wpaio.h', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'C', 'bytes': '3624'}, {'name': 'C++', 'bytes': '3053696'}, {'name': 'CMake', 'bytes': '8165'}, {'name': 'Makefile', 'bytes': '33526'}, {'name': 'Perl', 'bytes': '15061'}, {'name': 'R', 'bytes': '195963'}, {'name': 'Shell', 'bytes': '11848'}]}
using System; namespace MonoMod { /// <summary> /// MonoMod original name attribute. /// Apply it onto a method (not the orig_) and its orig_ method will instead be named like that. /// </summary> [MonoMod__SafeToCopy__] public class MonoModOriginalName : Attribute { public MonoModOriginalName(string n) { } } }
{'content_hash': '6d0a67cdb35fe5d295984be86e786e7c', 'timestamp': '', 'source': 'github', 'line_count': 14, 'max_line_length': 100, 'avg_line_length': 25.714285714285715, 'alnum_prop': 0.6305555555555555, 'repo_name': 'AngelDE98/MonoMod', 'id': '429e3be78e66edbf4c161a685803c84ce05987df', 'size': '362', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'MonoMod/Modifiers/MonoModOriginalName.cs', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C#', 'bytes': '117968'}]}