answer stringlengths 15 1.25M |
|---|
import { Profile } from '../security/Profile';
import { SearchResultBase } from './SearchResultBase';
export class ProfileSearchResult extends SearchResultBase<Profile> {
constructor (kuzzle, request, options, result) {
super(kuzzle, request, options, result);
this._searchAction = 'searchProfiles';
this._scrollAction = 'scrollProfiles';
this.hits = result.hits.map(hit => (
new Profile(this._kuzzle, hit._id, hit._source)
));
}
next () {
return super.next()
.then((nextSearchResult: ProfileSearchResult) => {
if (! nextSearchResult) {
return null;
}
nextSearchResult.hits = nextSearchResult._result.hits.map(hit => (
new Profile(nextSearchResult._kuzzle, hit._id, hit._source)
));
return nextSearchResult;
});
}
} |
'use strict';
var testHelper = require('../../../common/tests/test-helper');
var setupFile = require('./<API key>');
var dashboardPage = require('../pages/dashboard');
var editModalPage = dashboardPage.taskFilters.editFilterPage;
describe('Tasklist Filter Criteria Spec', function() {
describe('the criteria page', function() {
before(function() {
return testHelper(setupFile.setup1, function() {
dashboardPage.navigateToWebapp('Tasklist');
dashboardPage.authentication.userLogin('admin', 'admin');
});
});
beforeEach(function() {
dashboardPage.taskFilters.selectFilter(0);
dashboardPage.taskFilters.editFilter(0);
editModalPage.selectPanelByKey('criteria');
});
afterEach(function() {
editModalPage.closeFilter();
});
it('should display help text', function() {
// then
expect(editModalPage.criteriaHelpText())
.to.eventually.eql('This section is aimed to set the parameters used to filter the tasks. Keys marked with a * accept expressions as value.')
expect(editModalPage.addCriterionButton().isDisplayed()).to.eventually.be.true;
});
it('should allow to add criteria', function() {
// when
editModalPage.addCriterionButton().click();
// then
expect(editModalPage.criterionList().count()).to.eventually.eql(1);
expect(editModalPage.criterionKeyInput(0).isEnabled()).to.eventually.be.true;
expect(editModalPage.criterionValueInput(0).isEnabled()).to.eventually.be.true;
});
it('should allow to remove criteria', function() {
// given
editModalPage.addCriterionButton().click();
expect(editModalPage.criterionList().count()).to.eventually.eql(1);
// when
editModalPage.<API key>(0).click();
// then
expect(editModalPage.criterionList().count()).to.eventually.eql(0);
});
it('should clean input fields after removing', function() {
// given
editModalPage.addCriterion('Task', 'Name Like', 'task');
// when
editModalPage.<API key>(0).click();
editModalPage.addCriterionButton().click();
// then
expect(editModalPage.criterionKeyInput(0).getAttribute('value')).to.eventually.eql('? undefined:undefined ?');
expect(editModalPage.criterionValueInput(0).getAttribute('value')).to.eventually.eql('');
});
it('should validate input - missing criterion', function() {
// when
editModalPage.addCriterionButton().click();
editModalPage.criterionValueInput(0, 'myValue');
// then
expect(editModalPage.saveButton().isEnabled()).to.eventually.be.false;
});
it('should validate input - missing value', function() {
// when
editModalPage.addCriterionButton().click();
editModalPage.selectCriterionKey(0, 'Case Instance', 'Business Key Like');
// then
expect(editModalPage.saveButton().isEnabled()).to.eventually.be.false;
});
it('should validate input - unique criterion key', function() {
// when
editModalPage.addCriterion('Process Instance', 'ID', 'the value');
editModalPage.addCriterion('Process Instance', 'ID', 'the other value');
// then
expect(editModalPage.<API key>(0)).to.eventually.eql('Key must be unique');
expect(editModalPage.<API key>(1)).to.eventually.eql('Key must be unique');
expect(editModalPage.saveButton().isEnabled()).to.eventually.be.false;
});
it('should validate input - delegation state key', function() {
var criterionValue = 'the wrong delegation state value';
// when
editModalPage.addCriterion('User / Group', 'Delegation State', criterionValue);
editModalPage.saveButton().click();
// then
expect(editModalPage.notificationStatus(0))
.to.eventually.eql('Something went wrong while saving the filter');
expect(editModalPage.notificationMessage(0))
.to.eventually.eql('Valid values for property \'delegationState\' are \'PENDING\' or \'RESOLVED\', but was \'' +
criterionValue + '\'');
});
});
describe('use criteria', function() {
describe('to filter by instance, definition and task', function() {
before(function() {
return testHelper(setupFile.setup1, function() {
dashboardPage.navigateToWebapp('Tasklist');
dashboardPage.authentication.userLogin('test', 'test');
dashboardPage.taskList.taskSorting.changeSorting(0, 'Task name');
});
});
beforeEach(function() {
dashboardPage.taskFilters.selectFilter(0);
dashboardPage.taskFilters.editFilter(0);
editModalPage.selectPanelByKey('criteria');
});
it('should add task name like criterion and validate result', function() {
// when
editModalPage.addCriterion('Task', 'Name Like', 'ask');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(3);
});
it('should edit task name like criterion value and validate result', function() {
// when
editModalPage.criterionValueInput(0, ' 1');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(2);
});
it('should add process name criterion and validate results', function() {
// when
editModalPage.addCriterion('Process definition', 'Key', 'user-tasks');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(1);
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('User Task 1');
});
it('should add business key criterion and validate results', function() {
// when
editModalPage.addCriterion('Process Instance', 'Business Key', 123);
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(1);
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('User Task 1');
});
});
describe('to filter by User / Groups', function() {
before(function() {
return testHelper(setupFile.setup1, function() {
dashboardPage.navigateToWebapp('Tasklist');
dashboardPage.authentication.userLogin('test', 'test');
dashboardPage.taskList.taskSorting.changeSorting(0, 'Task name');
});
});
beforeEach(function() {
dashboardPage.taskFilters.selectFilter(0);
dashboardPage.taskFilters.editFilter(0);
editModalPage.selectPanelByKey('criteria');
});
it('should add Candidate Groups criterion and validate result', function() {
// when
editModalPage.addCriterion('User / Group', 'Candidate Groups', '${ currentUserGroups() }');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('Task 1');
});
it('should edit criterion value and validate result', function() {
// when
editModalPage.editCriterion(0, 'User / Group', 'Candidate Groups', 'accounting,sales');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('User Task 1');
expect(dashboardPage.taskList.taskName(1)).to.eventually.eql('Task 1');
});
it('should include assigned tasks and validate result', function() {
// when
editModalPage.<API key>().click();
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('User Task 1');
expect(dashboardPage.taskList.taskName(1)).to.eventually.eql('Task 2');
expect(dashboardPage.taskList.taskName(2)).to.eventually.eql('Task 1');
});
it('should add second criterion to filter by owner and validate result', function() {
// when
editModalPage.addCriterion('User / Group', 'Owner', 'test');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('Task 2');
expect(dashboardPage.taskList.taskName(1)).to.eventually.eql('Task 1');
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(2);
});
});
describe('to filter by dates', function() {
before(function() {
return testHelper(setupFile.setup1, function() {
dashboardPage.navigateToWebapp('Tasklist');
dashboardPage.authentication.userLogin('test', 'test');
dashboardPage.taskList.taskSorting.changeSorting(0, 'Task name');
});
});
beforeEach(function() {
dashboardPage.taskFilters.selectFilter(0);
dashboardPage.taskFilters.editFilter(0);
editModalPage.selectPanelByKey('criteria');
});
it('should add created before criterion', function() {
// when
editModalPage.addCriterion('Dates', 'Created Before', '${ now() }');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(3);
});
it('should add follow up before criterion', function() {
// when
editModalPage.addCriterion('Dates', 'Follow Up Before', '2014-08-25T11:00:02.000+0200');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(1);
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('Task 2');
});
it('should edit follow up criterion', function() {
// when
editModalPage.editCriterion(0, 'Dates', 'Follow Up After', '2014-08-25T11:00:02.000+0200');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(1);
expect(dashboardPage.taskList.taskName(0)).to.eventually.eql('Task 1');
});
});
});
describe('multi tenacy', function() {
before(function() {
return testHelper(setupFile.multiTenancySetup, function() {
dashboardPage.navigateToWebapp('Tasklist');
dashboardPage.authentication.userLogin('admin', 'admin');
});
});
beforeEach(function() {
dashboardPage.taskFilters.selectFilter(0);
dashboardPage.taskFilters.editFilter(0);
editModalPage.selectPanelByKey('criteria');
});
it('should add tenant id criterion and validate result', function() {
// when
editModalPage.addCriterion('Task', 'Tenant ID In', 'tenant1');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(1);
});
it('should add tenant ids criterion and validate result', function() {
// when
editModalPage.editCriterion(0, 'Task', 'Tenant ID In', 'tenant1,tenant2');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(2);
});
it('should add without tenant id criterion and validate result', function() {
// when
editModalPage.<API key>(0).click();
editModalPage.addCriterion('Task', 'Without Tenant ID');
editModalPage.saveFilter();
// then
expect(dashboardPage.taskList.taskList().count()).to.eventually.eql(1);
});
});
}); |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Coverage Report</title>
<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/>
<script type="text/javascript" src="js/popup.js"></script>
</head>
<body>
<h5>Coverage Report - ch.bfh.ti.sed.patmon1.server.context.impl.<API key></h5>
<div class="separator"> </div>
<table class="report">
<thead><tr> <td class="heading">Classes in this File</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead>
<tr><td><a href="ch.bfh.ti.sed.patmon1.server.context.impl.<API key>.html"><API key></a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">100 %</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:100px"><span class="text">8/8</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></td><td class="percentgraph"><div class="percentgraph"><div class="na" style="width:100px"><span class="text"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">N/A</a></span></div></div></td></tr></table></td><td class="value"><span class="hidden">1.0;</span>1</td></tr>
</table>
<div class="separator"> </div>
<table cellspacing="0" cellpadding="0" class="src">
<tr> <td class="numLine"> 1</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">package</span> ch.bfh.ti.sed.patmon1.server.context.impl;</pre></td></tr>
<tr> <td class="numLine"> 2</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 3</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.context.ApplicationContext;</pre></td></tr>
<tr> <td class="numLine"> 4</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.domain.<API key>;</pre></td></tr>
<tr> <td class="numLine"> 5</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.domain.impl.<API key>;</pre></td></tr>
<tr> <td class="numLine"> 6</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.gtk.GatekeeperFactory;</pre></td></tr>
<tr> <td class="numLine"> 7</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.gtk.mock.<API key>;</pre></td></tr>
<tr> <td class="numLine"> 8</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.persistence.EntityManager;</pre></td></tr>
<tr> <td class="numLine"> 9</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">import</span> ch.bfh.ti.sed.patmon1.server.persistence.mock.MockEntityManager;</pre></td></tr>
<tr> <td class="numLine"> 10</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 11</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment">/**</span></pre></td></tr>
<tr> <td class="numLine"> 12</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> * Implementation for {@link ApplicationContext}.</span></pre></td></tr>
<tr> <td class="numLine"> 13</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr>
<tr> <td class="numLine"> 14</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">class</span> <API key> <span class="keyword">implements</span> ApplicationContext {</pre></td></tr>
<tr> <td class="numLine"> 15</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 16</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">private</span> EntityManager entityManager;</pre></td></tr>
<tr> <td class="numLine"> 17</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">private</span> <API key> <API key>;</pre></td></tr>
<tr> <td class="numLine"> 18</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">private</span> GatekeeperFactory gatekeeperFactory;</pre></td></tr>
<tr> <td class="numLine"> 19</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLineCover"> 20</td> <td class="nbHitsCovered"> 34</td> <td class="src"><pre class="src"> <span class="keyword">public</span> <API key>() {</pre></td></tr>
<tr> <td class="numLineCover"> 21</td> <td class="nbHitsCovered"> 34</td> <td class="src"><pre class="src"> entityManager = <span class="keyword">new</span> MockEntityManager();</pre></td></tr>
<tr> <td class="numLineCover"> 22</td> <td class="nbHitsCovered"> 34</td> <td class="src"><pre class="src"> <API key> = <span class="keyword">new</span> <API key>(<span class="keyword">this</span>);</pre></td></tr>
<tr> <td class="numLineCover"> 23</td> <td class="nbHitsCovered"> 34</td> <td class="src"><pre class="src"> gatekeeperFactory = <span class="keyword">new</span> <API key>();</pre></td></tr>
<tr> <td class="numLineCover"> 24</td> <td class="nbHitsCovered"> 34</td> <td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 25</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 26</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> @Override</pre></td></tr>
<tr> <td class="numLine"> 27</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">public</span> EntityManager getEntityManager() {</pre></td></tr>
<tr> <td class="numLineCover"> 28</td> <td class="nbHitsCovered"> 1</td> <td class="src"><pre class="src"> <span class="keyword">return</span> <span class="keyword">this</span>.entityManager;</pre></td></tr>
<tr> <td class="numLine"> 29</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 30</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 31</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> @Override</pre></td></tr>
<tr> <td class="numLine"> 32</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">public</span> <API key> <API key>() {</pre></td></tr>
<tr> <td class="numLineCover"> 33</td> <td class="nbHitsCovered"> 15</td> <td class="src"><pre class="src"> <span class="keyword">return</span> <API key>;</pre></td></tr>
<tr> <td class="numLine"> 34</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 35</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 36</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> @Override</pre></td></tr>
<tr> <td class="numLine"> 37</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">public</span> GatekeeperFactory <API key>() {</pre></td></tr>
<tr> <td class="numLineCover"> 38</td> <td class="nbHitsCovered"> 1</td> <td class="src"><pre class="src"> <span class="keyword">return</span> gatekeeperFactory;</pre></td></tr>
<tr> <td class="numLine"> 39</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 40</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 41</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
</table>
<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9.4.1 on 17.06.12 23:52.</div>
</body>
</html> |
package it.polito.softeng.lombokmigrator;
import japa.parser.ast.body.MethodDeclaration;
public class <API key> extends <API key><MethodDeclaration>{
public <API key>(){
addElement(new <API key>("get"));
}
} |
package com.amaker.mp;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.amaker.util.HttpUtil;
public class LoginActivity extends Activity {
private Button cancelBtn,loginBtn;
private EditText userEditText,pwdEditText;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle("ÒÆ¶¯¾¯Îñͨ");
setContentView(R.layout.login_system);
cancelBtn = (Button)findViewById(R.id.cancelButton);
loginBtn = (Button)findViewById(R.id.loginButton);
userEditText = (EditText)findViewById(R.id.userEditText);
pwdEditText = (EditText)findViewById(R.id.pwdEditText);
cancelBtn.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
finish();
}
});
loginBtn.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
if(validate()){
if(login()){
Intent intent = new Intent(LoginActivity.this,MainActivity.class);
startActivity(intent);
}else{
showDialog("Óû§Ãû³Æ»òÕßÃÜÂë´íÎó£¬ÇëÖØÐÂÊäÈ룡");
}
}
}
});
}
private boolean login(){
String username = userEditText.getText().toString();
String pwd = pwdEditText.getText().toString();
String result=query(username,pwd);
if(result!=null&&result.equals("1")){
return true;
}else{
return false;
}
}
private boolean validate(){
String username = userEditText.getText().toString();
if(username.equals("")){
showDialog("Óû§Ãû³ÆÊDZØÌîÏ");
return false;
}
String pwd = pwdEditText.getText().toString();
if(pwd.equals("")){
showDialog("Óû§ÃÜÂëÊDZØÌîÏ");
return false;
}
return true;
}
private void showDialog(String msg){
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage(msg)
.setCancelable(false)
.setPositiveButton("È·¶¨", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
}
});
AlertDialog alert = builder.create();
alert.show();
}
private String query(String username,String password){
String queryString = "username="+username+"&password="+password;
String url = HttpUtil.BASE_URL+"servlet/LoginServlet?"+queryString;
return HttpUtil.queryStringForPost(url);
}
} |
/**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class <API key> implements org.apache.thrift.TBase<<API key>, <API key>._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("<API key>");
private static final org.apache.thrift.protocol.TField <API key> = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new <API key>());
schemes.put(TupleScheme.class, new <API key>());
}
private List<Partition> partitions; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
PARTITIONS((short)1, "partitions");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // PARTITIONS
return PARTITIONS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields <API key>(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new <API key>("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private _Fields optionals[] = {_Fields.PARTITIONS};
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.PARTITIONS, new org.apache.thrift.meta_data.FieldMetaData("partitions", org.apache.thrift.<API key>.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.<API key>(<API key>.class, metaDataMap);
}
public <API key>() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public <API key>(<API key> other) {
if (other.isSetPartitions()) {
List<Partition> __this__partitions = new ArrayList<Partition>();
for (Partition other_element : other.partitions) {
__this__partitions.add(new Partition(other_element));
}
this.partitions = __this__partitions;
}
}
public <API key> deepCopy() {
return new <API key>(this);
}
@Override
public void clear() {
this.partitions = null;
}
public int getPartitionsSize() {
return (this.partitions == null) ? 0 : this.partitions.size();
}
public java.util.Iterator<Partition> <API key>() {
return (this.partitions == null) ? null : this.partitions.iterator();
}
public void addToPartitions(Partition elem) {
if (this.partitions == null) {
this.partitions = new ArrayList<Partition>();
}
this.partitions.add(elem);
}
public List<Partition> getPartitions() {
return this.partitions;
}
public void setPartitions(List<Partition> partitions) {
this.partitions = partitions;
}
public void unsetPartitions() {
this.partitions = null;
}
/** Returns true if field partitions is set (has been assigned a value) and false otherwise */
public boolean isSetPartitions() {
return this.partitions != null;
}
public void setPartitionsIsSet(boolean value) {
if (!value) {
this.partitions = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case PARTITIONS:
if (value == null) {
unsetPartitions();
} else {
setPartitions((List<Partition>)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case PARTITIONS:
return getPartitions();
}
throw new <API key>();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new <API key>();
}
switch (field) {
case PARTITIONS:
return isSetPartitions();
}
throw new <API key>();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof <API key>)
return this.equals((<API key>)that);
return false;
}
public boolean equals(<API key> that) {
if (that == null)
return false;
boolean <API key> = true && this.isSetPartitions();
boolean <API key> = true && that.isSetPartitions();
if (<API key> || <API key>) {
if (!(<API key> && <API key>))
return false;
if (!this.partitions.equals(that.partitions))
return false;
}
return true;
}
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_partitions = true && (isSetPartitions());
builder.append(present_partitions);
if (present_partitions)
builder.append(partitions);
return builder.toHashCode();
}
public int compareTo(<API key> other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
<API key> typedOther = (<API key>)other;
lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetPartitions()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("<API key>(");
boolean first = true;
if (isSetPartitions()) {
sb.append("partitions:");
if (this.partitions == null) {
sb.append("null");
} else {
sb.append(this.partitions);
}
first = false;
}
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, <API key> {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class <API key> implements SchemeFactory {
public <API key> getScheme() {
return new <API key>();
}
}
private static class <API key> extends StandardScheme<<API key>> {
public void read(org.apache.thrift.protocol.TProtocol iprot, <API key> struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list396 = iprot.readListBegin();
struct.partitions = new ArrayList<Partition>(_list396.size);
for (int _i397 = 0; _i397 < _list396.size; ++_i397)
{
Partition _elem398; // optional
_elem398 = new Partition();
_elem398.read(iprot);
struct.partitions.add(_elem398);
}
iprot.readListEnd();
}
struct.setPartitionsIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, <API key> struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.partitions != null) {
if (struct.isSetPartitions()) {
oprot.writeFieldBegin(<API key>);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
for (Partition _iter399 : struct.partitions)
{
_iter399.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class <API key> implements SchemeFactory {
public <API key> getScheme() {
return new <API key>();
}
}
private static class <API key> extends TupleScheme<<API key>> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, <API key> struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetPartitions()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
for (Partition _iter400 : struct.partitions)
{
_iter400.write(oprot);
}
}
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, <API key> struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TList _list401 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.partitions = new ArrayList<Partition>(_list401.size);
for (int _i402 = 0; _i402 < _list401.size; ++_i402)
{
Partition _elem403; // optional
_elem403 = new Partition();
_elem403.read(iprot);
struct.partitions.add(_elem403);
}
}
struct.setPartitionsIsSet(true);
}
}
}
} |
# AUTOGENERATED FILE
FROM balenalib/etcher-pro-ubuntu:hirsute-build
ENV GO_VERSION 1.17.7
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "<SHA256-like> go$GO_VERSION.linux-arm64.tar.gz" | sha256sum -c - \
&& tar -xzf "go$GO_VERSION.linux-arm64.tar.gz" -C /usr/local/go --strip-components=1 \
&& rm -f go$GO_VERSION.linux-arm64.tar.gz
ENV GOROOT /usr/local/go
ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
WORKDIR $GOPATH
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/<SHA1-like>/scripts/assets/tests/test-stack@golang.sh" \
&& echo "Running test-stack@golang" \
&& chmod +x test-stack@golang.sh \
&& bash test-stack@golang.sh \
&& rm -rf test-stack@golang.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:
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 |
#!/usr/bin/env bash
INPUT=$1
OUTPUT=$2
TMP_PREFIX=$3
I_FILENAME=$(basename $INPUT)
O_FILENAME=$(basename $OUTPUT)
TMP_DIR=$TMP_PREFIX
INPUT_LOCAL=$INPUT
#Check if input file on S3, if yes - then copy to temporary dir |
package com.coolweather.app.activity;
import com.coolweather.app.R;
import java.util.ArrayList;
import java.util.List;
import com.coolweather.app.db.CoolWeatherDB;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
import com.coolweather.app.model.Province;
import com.coolweather.app.util.<API key>;
import com.coolweather.app.util.HttpUtil;
import com.coolweather.app.util.Utility;
import android.R.bool;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
public class ChooseAreaActivity extends Activity {
public static final int LEVEL_PROVINCE = 0;
public static final int LEVEL_CITY = 1;
public static final int LEVEL_COUNTY= 2;
private ProgressDialog progressDialog;
private TextView titleText;
private ListView listView;
private ArrayAdapter<String> adapter;
private CoolWeatherDB coolWeatherDB;
private List<String> dataList = new ArrayList<String>();
private List<Province> provinceList;
private List<City> cityList;
private List<County> countyList;
private Province selectedProvince;
private City selectedCity;
private int currentLevel;
private boolean <API key>;
@Override
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
<API key> = getIntent().getBooleanExtra("<API key>", false);
SharedPreferences preferences = PreferenceManager.<API key>(this);
if (preferences.getBoolean("city_selected", false)&& !<API key>) {
Intent intent = new Intent(this,WeatherActivity.class);
startActivity(intent);
finish();
return;
}
<API key>(Window.FEATURE_NO_TITLE);
setContentView(R.layout.choose_area);
listView = (ListView)findViewById(R.id.list_view);
titleText = (TextView)findViewById(R.id.title_text);
adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1,dataList);
listView.setAdapter(adapter);
coolWeatherDB= CoolWeatherDB.getInstance(this);
listView.<API key>(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> arg0, View view, int index,
long arg3) {
System.out.println("currentLevel==="+currentLevel);
if(currentLevel == LEVEL_PROVINCE){
selectedProvince = provinceList.get(index);
queryCities();
}else if(currentLevel == LEVEL_CITY){
selectedCity = cityList.get(index);
queryCounties();
}else if (currentLevel == LEVEL_COUNTY) {
String countyCode = countyList.get(index).getCountyCode();
Intent intent = new Intent(ChooseAreaActivity.this,WeatherActivity.class);
intent.putExtra("county_code", countyCode);
startActivity(intent);
finish();
}
}
});
queryProvinces();
}
private void queryProvinces() {
provinceList = coolWeatherDB.loadProvinces();
if(provinceList.size()> 0){
dataList.clear();
for(Province province:provinceList){
dataList.add(province.getProvinceName());
}
adapter.<API key>();
listView.setSelection(0);
titleText.setText("Öйú");
currentLevel = LEVEL_PROVINCE;
}else {
queryFormServer(null,"province");
}
}
private void queryCities() {
cityList = coolWeatherDB.loadCitys(selectedProvince.getId());
if(cityList.size()> 0){
dataList.clear();
for(City city:cityList){
dataList.add(city.getCityName());
}
adapter.<API key>();
listView.setSelection(0);
titleText.setText(selectedProvince.getProvinceName());
currentLevel = LEVEL_CITY;
}else {
queryFormServer(selectedProvince.getProvinceCode(),"city");
Log.d("queryCities()","city");
}
}
private void queryCounties() {
countyList = coolWeatherDB.loadCounties(selectedCity.getId());
if(countyList.size()> 0){
dataList.clear();
for (County county : countyList) {
dataList.add(county.getCountyName());
}
adapter.<API key>();
listView.setSelection(0);
titleText.setText(selectedCity.getCityName());
currentLevel = LEVEL_COUNTY;
}else {
queryFormServer(selectedCity.getCityCode(),"county");
Log.d("queryCounties()","county123");
}
}
private void queryFormServer(final String code, final String type) {
String address;
if (!TextUtils.isEmpty(code)) {
address = "http:
}else {
address = "http:
}
showProgressDialog();
HttpUtil.sendHttpRequest(address, new <API key>() {
@Override
public void onFinish(String response) {
boolean result = false;
if ("province".equals(type)) {
result = Utility.<API key>(coolWeatherDB, response);
} else if ("city".equals(type)) {
result = Utility.<API key>(coolWeatherDB, response, selectedProvince.getId());
} else if("county".equals(type)){
result = Utility.<API key>(coolWeatherDB, response, selectedCity.getId());
}
if (result) {
runOnUiThread(new Runnable() {
@Override
public void run() {
closeProgressDialog();
if("province".equals(type)){
queryProvinces();
}else if ("city".equals(type)) {
queryCities();
}else if ("county".equals(type)) {
queryCounties();
}
}
});
}
}
@Override
public void onError(Exception e) {
runOnUiThread(new Runnable() {
@Override
public void run() {
closeProgressDialog();
Toast.makeText(ChooseAreaActivity.this, "¼ÓÔØÊ§°Ü", Toast.LENGTH_SHORT).show();
}
});
}
});
}
private void closeProgressDialog() {
if(progressDialog != null){
progressDialog.dismiss();
}
}
private void showProgressDialog() {
if(progressDialog == null){
progressDialog = new ProgressDialog(this);
progressDialog.setMessage("ÕýÔÚ¼ÓÔØ...");
progressDialog.<API key>(false);
}
progressDialog.show();
}
@Override
public void onBackPressed(){
if(currentLevel == LEVEL_COUNTY){
queryCities();
}else if (currentLevel == LEVEL_CITY) {
queryProvinces();
}else {
if (<API key>) {
Intent intent = new Intent(this,WeatherActivity.class);
startActivity(intent);
}
finish();
}
}
} |
using Assets.Scripts.Constants;
using Assets.Scripts.Utility;
using UnityEngine;
namespace Assets.Scripts.GameScripts.GameLogic.<API key>
{
[AddComponentMenu("TargetEffectApplier/InterruptEffect")]
public class InterruptEffect : TargetEffectApplier
{
protected override void ApplyEffect(GameObject target)
{
target.<API key>(GameScriptEvent.InterruptCharacter);
}
}
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Sat Mar 16 04:11:56 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.naming (BOM: * : All 2.3.1.Final-SNAPSHOT API)</title>
<meta name="date" content="2019-03-16">
<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="org.wildfly.swarm.naming (BOM: * : All 2.3.1.Final-SNAPSHOT API)";
}
}
catch(err) {
}
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<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 class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">Thorntail API, 2.3.1.Final-SNAPSHOT</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/wildfly/swarm/mvc/detect/package-summary.html">Prev Package</a></li>
<li><a href="../../../../org/wildfly/swarm/neo4j/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/wildfly/swarm/naming/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip.navbar.top">
</a></div>
<div class="header">
<h1 title="Package" class="title">Package org.wildfly.swarm.naming</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/wildfly/swarm/naming/NamingFraction.html" title="class in org.wildfly.swarm.naming">NamingFraction</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<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 class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">Thorntail API, 2.3.1.Final-SNAPSHOT</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/wildfly/swarm/mvc/detect/package-summary.html">Prev Package</a></li>
<li><a href="../../../../org/wildfly/swarm/neo4j/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/wildfly/swarm/naming/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip.navbar.bottom">
</a></div>
<p class="legalCopy"><small>Copyright &
</body>
</html> |
namespace Zammad.Client.IntegrationTests
{
public static class TestHelper
{
public static ZammadAccount CreateTestAccount()
{
return ZammadAccount.CreateBasicAccount(TestConstants.AccountEndpoint, TestConstants.AccountUser, TestConstants.AccountPassword);
}
}
} |
<?php
namespace postyou;
class FbConnector
{
protected $arrConfig = array();
protected static $arrInstances = array();
protected $accesstoken;
protected $limit = null;
protected $since = null;
protected function __construct(array $arrConfig)
{
$this->arrConfig = $arrConfig;
$this->initFacebookPhpSdk();
}
public static function getInstance(array $arrCustomOpt = null)
{
$arrConfig = array(
'baseUrl' => 'https://graph.facebook.com',
'version' => \Config::get('facebookApiVersion'),
'appID' => \Config::get('appID'),
'appSecret' => \Config::get('appSecret'),
'userAccessToken' => \Config::get('userAccessToken'),
'connectionType' => ConnectionType::POST_GET
);
if (is_array($arrCustomOpt)) {
$arrConfig = array_merge($arrConfig, $arrCustomOpt);
}
ksort($arrConfig);
$strKey = md5(implode(' ', $arrConfig));
if (! isset(static::$arrInstances[$strKey])) {
$strClass = '\FbConnector' .
str_replace(' ', '_', ucwords(str_replace('_', ' ', $arrConfig['connectionType'])));
static::$arrInstances[$strKey] = new $strClass($arrConfig);
}
return static::$arrInstances[$strKey];
}
protected function getAppID()
{
return $this->arrConfig['appID'];
}
protected function getAppSecret()
{
return $this->arrConfig['appSecret'];
}
public function getBaseUrl()
{
return $this->arrConfig['baseUrl'];
}
public function getVersion()
{
return $this->arrConfig['version'];
}
public function getAccessTokenQuery()
{
// return 'access_token=' . $this->arrConfig['appID'] . '|' . $this->arrConfig['appSecret'];
return 'access_token=' . $this->arrConfig['userAccessToken'];
}
public function setLimit($limit)
{
$this->limit = $limit;
return $this;
}
public function setSince($timestamp)
{
$this->since = $timestamp;
}
protected function fetchData($url, $header = false)
{
$ch = $this->initCurl($url, $header);
return json_decode(curl_exec($ch), true);
}
protected function initCurl($url, $header = false)
{
$ch = curl_init($url);
if ($header) {
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
}
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, <API key>, true);
curl_setopt($ch, <API key>, false);
return $ch;
}
protected function initFacebookPhpSdk()
{
return;
}
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Mon Mar 03 10:44:38 EST 2014 -->
<title>Uses of Class org.hibernate.loader.plan.build.internal.<API key> (Hibernate JavaDocs)</title>
<meta name="date" content="2014-03-03">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.hibernate.loader.plan.build.internal.<API key> (Hibernate JavaDocs)";
}
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="topNav"><a name="navbar_top">
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../../org/hibernate/loader/plan/build/internal/<API key>.html" title="class in org.hibernate.loader.plan.build.internal">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/hibernate/loader/plan/build/internal/class-use/<API key>.html" target="_top">Frames</a></li>
<li><a href="<API key>.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip-navbar_top">
</a></div>
<div class="header">
<h2 title="Uses of Class org.hibernate.loader.plan.build.internal.<API key>" class="title">Uses of Class<br>org.hibernate.loader.plan.build.internal.<API key></h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../../org/hibernate/loader/plan/build/internal/<API key>.html" title="class in org.hibernate.loader.plan.build.internal"><API key></a></span><span class="tabEnd"> </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.hibernate.loader.plan.build.internal">org.hibernate.loader.plan.build.internal</a></td>
<td class="colLast">
<div class="block"><div class="paragraph"></div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.hibernate.loader.plan.build.internal">
</a>
<h3>Uses of <a href="../../../../../../../org/hibernate/loader/plan/build/internal/<API key>.html" title="class in org.hibernate.loader.plan.build.internal"><API key></a> in <a href="../../../../../../../org/hibernate/loader/plan/build/internal/package-summary.html">org.hibernate.loader.plan.build.internal</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../../../../org/hibernate/loader/plan/build/internal/<API key>.html" title="class in org.hibernate.loader.plan.build.internal"><API key></a> in <a href="../../../../../../../org/hibernate/loader/plan/build/internal/package-summary.html">org.hibernate.loader.plan.build.internal</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/hibernate/loader/plan/build/internal/<API key>.html" title="class in org.hibernate.loader.plan.build.internal"><API key></a></strong></code>
<div class="block"><div class="paragraph"></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="bottomNav"><a name="navbar_bottom">
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="<API key>">
</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/hibernate/loader/plan/build/internal/<API key>.html" title="class in org.hibernate.loader.plan.build.internal">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../../../overview-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/hibernate/loader/plan/build/internal/class-use/<API key>.html" target="_top">Frames</a></li>
<li><a href="<API key>.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip-navbar_bottom">
</a></div>
<p class="legalCopy"><small>Copyright © 2001-2014 <a href="http:
</body>
</html> |
/**
* Locale support classes for Spring's web MVC framework.
* Provides standard LocaleResolver implementations,
* and a HandlerInterceptor for locale changes.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.servlet.i18n;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields; |
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" type="image/png" href={{ url_for("static", filename="img/BigARTM-favicon.png") }}>
<title>{% block title %} VisARTM {% endblock %}</title>
<!-- Custom styles for this template -->
<link href={{ url_for("static", filename="css/style.css") }} rel="stylesheet">
<!-- Bootstrap core CSS -->
<link href={{ url_for("static", filename="css/bootstrap.min.css") }} rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">VisARTM</a>
</div>
<div class="collapse navbar-collapse" id="<API key>">
<ul class="nav navbar-nav">
{% block navbar_links %}{% endblock %}
</ul>
</div>
</div>
</nav>
<div class="container content">{% block content %}{% endblock %}</div>
<div id="footer">{% block footer %}{% endblock %}</div>
<!-- Bootstrap core JavaScript
===============================================
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src={{ url_for("static", filename="js/bootstrap.min.js") }}></script>
<script src={{ url_for("static", filename="js/routine.js") }}></script>
</body>
</html> |
package liquid.controller;
import liquid.operation.domain.ServiceSubtype;
import liquid.operation.service.<API key>;
import liquid.order.domain.ServiceItem;
import liquid.order.service.ServiceItemService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
@Deprecated
@RequestMapping("/service_item")
public class <API key> {
private static final Logger logger = LoggerFactory.getLogger(<API key>.class);
@Autowired
private ServiceItemService serviceItemService;
@Autowired
private <API key> <API key>;
@ModelAttribute("serviceSubtypes")
public Iterable<ServiceSubtype> <API key>() {
return <API key>.findEnabled();
}
@RequestMapping(method = RequestMethod.GET)
public String listEnabled(Model model) {
// Iterable<ServiceItem> serviceItems = serviceItemService.findEnabled();
// model.addAttribute("serviceItems", serviceItems);
// model.addAttribute("serviceItem", new ServiceItem());
return "service/item";
}
@RequestMapping(method = RequestMethod.POST)
public String newServiceSubtype(@ModelAttribute("serviceItem") ServiceItem serviceItem) {
// serviceItemService.add(serviceItem);
return "redirect:/service_item";
}
} |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/>
<link rel="stylesheet" href="../../../../../aui/css/aui-experimental.min.css" media="all"/>
<!--[if IE 9]><link rel="stylesheet" href="../../../../../aui/css/aui-ie9.min.css" media="all"/><![endif]-->
<style type="text/css" media="all">
@import url('../../../../../style.css');
@import url('../../../../../tree.css');
</style>
<script src="../../../../../jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="../../../../../aui/js/aui.min.js" type="text/javascript"></script>
<script src="../../../../../aui/js/aui-experimental.min.js" type="text/javascript"></script>
<script src="../../../../../aui/js/aui-soy.min.js" type="text/javascript"></script>
<script src="../../../../../package-nodes-tree.js" type="text/javascript"></script>
<script src="../../../../../clover-tree.js" type="text/javascript"></script>
<script src="../../../../../clover.js" type="text/javascript"></script>
<script src="../../../../../clover-descriptions.js" type="text/javascript"></script>
<script src="../../../../../cloud.js" type="text/javascript"></script>
<title>ABA Route Transit Number Validator 1.0.1-SNAPSHOT</title>
</head>
<body>
<div id="page">
<header id="header" role="banner">
<nav class="aui-header <API key>" role="navigation">
<div class="aui-header-inner">
<div class="aui-header-primary">
<h1 id="logo" class="aui-header-logo <API key>">
<a href="http://openclover.org" title="Visit OpenClover home page"><span class="<API key>">OpenClover</span></a>
</h1>
</div>
<div class="<API key>">
<ul class="aui-nav">
<li id="system-help-menu">
<a class="aui-nav-link" title="Open online documentation" target="_blank"
href="http://openclover.org/documentation">
<span class="aui-icon aui-icon-small aui-iconfont-help"> Help</span>
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="aui-page-panel">
<div class="<API key>">
<div class="aui-page-panel-nav <API key>">
<div class="<API key>" style="margin-bottom: 20px;">
<div class="<API key>">
<a href="http://cardatechnologies.com" target="_top">
<div class="aui-avatar aui-avatar-large aui-avatar-project">
<div class="aui-avatar-inner">
<img src="../../../../../img/clover_logo_large.png" alt="Clover icon"/>
</div>
</div>
</a>
</div>
<div class="<API key>" >
<h1>
<a href="http://cardatechnologies.com" target="_top">
ABA Route Transit Number Validator 1.0.1-SNAPSHOT
</a>
</h1>
</div>
</div>
<nav class="aui-navgroup <API key>">
<div class="aui-navgroup-inner">
<ul class="aui-nav">
<li class="">
<a href="../../../../../dashboard.html">Project overview</a>
</li>
</ul>
<div class="aui-nav-heading <API key>">
<strong>Packages</strong>
</div>
<div class="aui-nav project-packages">
<form method="get" action="#" class="aui <API key>">
<input type="text" autocomplete="off" class="package-filter text"
placeholder="Type to filter packages..." name="package-filter" id="package-filter"
title="Start typing package name (or part of the name) to search through the tree. Use arrow keys and the Enter key to navigate."/>
</form>
<p class="<API key> hidden">
<small>No results found.</small>
</p>
<div class="<API key>" data-root-relative="../../../../../" data-package-name="com.cardatechnologies.utils.validators.abaroutevalidator">
<div class="<API key>"></div>
<div class="<API key>"></div>
</div>
</div>
</div>
</nav> </div>
<section class="<API key>">
<div class="<API key>">
<div class="<API key>"><ol class="aui-nav aui-nav-breadcrumbs">
<li><a href="../../../../../dashboard.html"> Project Clover database Sat Aug 7 2021 12:29:33 MDT</a></li>
<li><a href="test-pkg-summary.html">Package com.cardatechnologies.utils.validators.abaroutevalidator</a></li>
<li><a href="<API key>.html">Class <API key></a></li>
</ol></div>
<h1 class="aui-h2-clover">
Test <API key>
</h1>
<table class="aui">
<thead>
<tr>
<th>Test</th>
<th><label title="The test result. Either a Pass, Fail or Error.">Status</label></th>
<th><label title="When the test execution was started">Start time</label></th>
<th><label title="The total time in seconds taken to run this test.">Time (seconds)</label></th>
<th><label title="A failure or error message if the test is not successful.">Message</label></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="../../../../../com/cardatechnologies/utils/validators/abaroutevalidator/<API key>.html?line=47386#src-47386" ><API key></a>
</td>
<td>
<span class="sortValue">1</span><span class="aui-lozenge aui-lozenge-success">PASS</span>
</td>
<td>
7 Aug 12:39:14
</td>
<td>
0.0 </td>
<td>
<div></div>
<div class="errorMessage"></div>
</td>
</tr>
</tbody>
</table>
<div> </div>
<table class="aui aui-table-sortable">
<thead>
<tr>
<th style="white-space:nowrap;"><label title="A class that was directly hit by this test.">Target Class</label></th>
<th colspan="4"><label title="The percentage of coverage contributed by each single test.">Coverage contributed by</label> <API key></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span class="sortValue">com.cardatechnologies.utils.validators.abaroutevalidator.AbaRouteValidator</span>
  <a href="../../../../../com/cardatechnologies/utils/validators/abaroutevalidator/AbaRouteValidator.html?id=6749#AbaRouteValidator" title="AbaRouteValidator" name="sl-47">com.cardatechnologies.utils.validators.abaroutevalidator.AbaRouteValidator</a>
</td>
<td>
<span class="sortValue">0.7352941</span>73.5%
</td>
<td class="align-middle" style="width: 100%" colspan="3">
<div>
<div title="73.5% Covered" style="min-width:40px;" class="barNegative contribBarNegative contribBarNegative"><div class="barPositive contribBarPositive contribBarPositive" style="width:73.5%"></div></div></div> </td>
</tr>
</tbody>
</table>
</div> <!-- class="<API key>" -->
<footer id="footer" role="contentinfo">
<section class="footer-body">
<ul>
<li>
Report generated by <a target="_new" href="http://openclover.org">OpenClover</a> v 4.4.1
on Sat Aug 7 2021 12:49:26 MDT using coverage data from Sat Aug 7 2021 12:47:23 MDT.
</li>
</ul>
<ul>
<li>OpenClover is free and open-source software. </li>
</ul>
</section>
</footer> </section> <!-- class="<API key>" -->
</div> <!-- class="<API key>" -->
</div> <!-- class="aui-page-panel" -->
</div> <!-- id="page" -->
</body>
</html> |
package chronic.handler.access;
import chronic.app.ChronicHttpx;
import chronic.api.ChronicHttpxHandler;
import chronic.app.ChronicApp;
import chronic.entity.Person;
import chronic.app.ChronicCookie;
import chronic.app.<API key>;
import chronic.entity.Org;
import chronic.persona.PersonaInfo;
import chronic.persona.PersonaVerifier;
import java.util.Date;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import vellum.jx.JMap;
import vellum.util.Lists;
/**
*
* @author evan.summers
*/
public class PersonaLogin implements ChronicHttpxHandler {
static Logger logger = LoggerFactory.getLogger(PersonaLogin.class);
String assertion;
int timezoneOffset;
ChronicCookie cookie;
@Override
public JMap handle(ChronicApp app, ChronicHttpx httpx, <API key> es)
throws Exception {
JMap map = httpx.parseJsonMap();
timezoneOffset = map.getInt("timezoneOffset");
logger.trace("timezoneOffset {}", timezoneOffset);
assertion = map.getString("assertion");
if (ChronicCookie.matches(httpx.getCookieMap())) {
cookie = new ChronicCookie(httpx.getCookieMap());
}
PersonaInfo userInfo = new PersonaVerifier(app, cookie).getPersonaInfo(
httpx.getHostUrl(), assertion);
logger.trace("persona {}", userInfo);
String email = userInfo.getEmail();
Person person = es.findPerson(email);
if (person == null) {
person = new Person(email);
person.setEnabled(true);
person.setLoginTime(new Date());
es.persist(person);
logger.info("insert user {}", email);
} else {
person.setEnabled(true);
person.setLoginTime(new Date());
}
List<Org> orgList = es.listOrg(email);
String server = null;
if (orgList.isEmpty()) {
logger.warn("orgList empty");
server = app.getProperties().getAllocateServer();
} else if (orgList.size() == 1) {
server = orgList.get(0).getServer();
} else {
server = orgList.get(0).getServer(); // TODO
logger.info("orgList {}", Lists.toString(orgList));
}
logger.info("server {}", server);
cookie = new ChronicCookie(person.getEmail(), person.getLabel(),
person.getLoginTime().getTime(), timezoneOffset, assertion, server);
JMap cookieMap = cookie.toMap();
logger.trace("cookie {}", cookieMap);
cookieMap.put("timezoneOffset", timezoneOffset);
httpx.setCookie(cookieMap, ChronicCookie.MAX_AGE_MILLIS);
cookieMap.put("orgList", orgList);
cookieMap.put("demo", httpx.getReferer().endsWith("/demo"));
return cookieMap;
}
} |
package com.alex.develop.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.alex.develop.stockanalyzer.R;
public class SelectFragment extends BaseFragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.select_fragment, container, false);
return view;
}
} |
package Leveleditor;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Act</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link Leveleditor.Act#getWorld <em>World</em>}</li>
* <li>{@link Leveleditor.Act#getActName <em>Act Name</em>}</li>
* <li>{@link Leveleditor.Act#getGotoAct <em>Goto Act</em>}</li>
* <li>{@link Leveleditor.Act#getDescription <em>Description</em>}</li>
* </ul>
* </p>
*
* @see Leveleditor.LeveleditorPackage#getAct()
* @model
* @generated
*/
public interface Act extends EObject {
/**
* Returns the value of the '<em><b>World</b></em>' containment reference list.
* The list contents are of type {@link Leveleditor.Room}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>World</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>World</em>' containment reference list.
* @see Leveleditor.LeveleditorPackage#getAct_World()
* @model containment="true" required="true"
* @generated
*/
EList<Room> getWorld();
/**
* Returns the value of the '<em><b>Act Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Act Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Act Name</em>' attribute.
* @see #setActName(String)
* @see Leveleditor.LeveleditorPackage#getAct_ActName()
* @model
* @generated
*/
String getActName();
/**
* Sets the value of the '{@link Leveleditor.Act#getActName <em>Act Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Act Name</em>' attribute.
* @see #getActName()
* @generated
*/
void setActName(String value);
/**
* Returns the value of the '<em><b>Goto Act</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Goto Act</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Goto Act</em>' reference.
* @see #setGotoAct(Act)
* @see Leveleditor.LeveleditorPackage#getAct_GotoAct()
* @model
* @generated
*/
Act getGotoAct();
/**
* Sets the value of the '{@link Leveleditor.Act#getGotoAct <em>Goto Act</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Goto Act</em>' reference.
* @see #getGotoAct()
* @generated
*/
void setGotoAct(Act value);
/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see Leveleditor.LeveleditorPackage#getAct_Description()
* @model
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link Leveleditor.Act#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);
} // Act |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/>
<link rel="stylesheet" href="../../../../../aui/css/aui-experimental.min.css" media="all"/>
<!--[if IE 9]><link rel="stylesheet" href="../../../../../aui/css/aui-ie9.min.css" media="all"/><![endif]-->
<style type="text/css" media="all">
@import url('../../../../../style.css');
@import url('../../../../../tree.css');
</style>
<script src="../../../../../jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="../../../../../aui/js/aui.min.js" type="text/javascript"></script>
<script src="../../../../../aui/js/aui-experimental.min.js" type="text/javascript"></script>
<script src="../../../../../aui/js/aui-soy.min.js" type="text/javascript"></script>
<script src="../../../../../package-nodes-tree.js" type="text/javascript"></script>
<script src="../../../../../clover-tree.js" type="text/javascript"></script>
<script src="../../../../../clover.js" type="text/javascript"></script>
<script src="../../../../../clover-descriptions.js" type="text/javascript"></script>
<script src="../../../../../cloud.js" type="text/javascript"></script>
<title>ABA Route Transit Number Validator 1.0.1-SNAPSHOT</title>
</head>
<body>
<div id="page">
<header id="header" role="banner">
<nav class="aui-header <API key>" role="navigation">
<div class="aui-header-inner">
<div class="aui-header-primary">
<h1 id="logo" class="aui-header-logo <API key>">
<a href="http://openclover.org" title="Visit OpenClover home page"><span class="<API key>">OpenClover</span></a>
</h1>
</div>
<div class="<API key>">
<ul class="aui-nav">
<li id="system-help-menu">
<a class="aui-nav-link" title="Open online documentation" target="_blank"
href="http://openclover.org/documentation">
<span class="aui-icon aui-icon-small aui-iconfont-help"> Help</span>
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="aui-page-panel">
<div class="<API key>">
<div class="aui-page-panel-nav <API key>">
<div class="<API key>" style="margin-bottom: 20px;">
<div class="<API key>">
<a href="http://cardatechnologies.com" target="_top">
<div class="aui-avatar aui-avatar-large aui-avatar-project">
<div class="aui-avatar-inner">
<img src="../../../../../img/clover_logo_large.png" alt="Clover icon"/>
</div>
</div>
</a>
</div>
<div class="<API key>" >
<h1>
<a href="http://cardatechnologies.com" target="_top">
ABA Route Transit Number Validator 1.0.1-SNAPSHOT
</a>
</h1>
</div>
</div>
<nav class="aui-navgroup <API key>">
<div class="aui-navgroup-inner">
<ul class="aui-nav">
<li class="">
<a href="../../../../../dashboard.html">Project overview</a>
</li>
</ul>
<div class="aui-nav-heading <API key>">
<strong>Packages</strong>
</div>
<div class="aui-nav project-packages">
<form method="get" action="#" class="aui <API key>">
<input type="text" autocomplete="off" class="package-filter text"
placeholder="Type to filter packages..." name="package-filter" id="package-filter"
title="Start typing package name (or part of the name) to search through the tree. Use arrow keys and the Enter key to navigate."/>
</form>
<p class="<API key> hidden">
<small>No results found.</small>
</p>
<div class="<API key>" data-root-relative="../../../../../" data-package-name="com.cardatechnologies.utils.validators.abaroutevalidator">
<div class="<API key>"></div>
<div class="<API key>"></div>
</div>
</div>
</div>
</nav> </div>
<section class="<API key>">
<div class="<API key>">
<div class="<API key>"><ol class="aui-nav aui-nav-breadcrumbs">
<li><a href="../../../../../dashboard.html"> Project Clover database Sat Aug 7 2021 12:29:33 MDT</a></li>
<li><a href="test-pkg-summary.html">Package com.cardatechnologies.utils.validators.abaroutevalidator</a></li>
<li><a href="<API key>.html">Class <API key></a></li>
</ol></div>
<h1 class="aui-h2-clover">
Test <API key>
</h1>
<table class="aui">
<thead>
<tr>
<th>Test</th>
<th><label title="The test result. Either a Pass, Fail or Error.">Status</label></th>
<th><label title="When the test execution was started">Start time</label></th>
<th><label title="The total time in seconds taken to run this test.">Time (seconds)</label></th>
<th><label title="A failure or error message if the test is not successful.">Message</label></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="../../../../../com/cardatechnologies/utils/validators/abaroutevalidator/<API key>.html?line=52145#src-52145" ><API key></a>
</td>
<td>
<span class="sortValue">1</span><span class="aui-lozenge aui-lozenge-success">PASS</span>
</td>
<td>
7 Aug 12:41:53
</td>
<td>
0.0 </td>
<td>
<div></div>
<div class="errorMessage"></div>
</td>
</tr>
</tbody>
</table>
<div> </div>
<table class="aui aui-table-sortable">
<thead>
<tr>
<th style="white-space:nowrap;"><label title="A class that was directly hit by this test.">Target Class</label></th>
<th colspan="4"><label title="The percentage of coverage contributed by each single test.">Coverage contributed by</label> <API key></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span class="sortValue">com.cardatechnologies.utils.validators.abaroutevalidator.exceptions.<API key></span>
  <a href="../../../../../com/cardatechnologies/utils/validators/abaroutevalidator/exceptions/<API key>.html?id=42144#<API key>" title="<API key>" name="sl-43">com.cardatechnologies.utils.validators.abaroutevalidator.exceptions.<API key></a>
</td>
<td>
<span class="sortValue">0.5714286</span>57.1%
</td>
<td class="align-middle" style="width: 100%" colspan="3">
<div>
<div title="57.1% Covered" style="min-width:40px;" class="barNegative contribBarNegative contribBarNegative"><div class="barPositive contribBarPositive contribBarPositive" style="width:57.1%"></div></div></div> </td>
</tr>
<tr>
<td>
<span class="sortValue">com.cardatechnologies.utils.validators.abaroutevalidator.ErrorCodes</span>
  <a href="../../../../../com/cardatechnologies/utils/validators/abaroutevalidator/ErrorCodes.html?id=42144#ErrorCodes" title="ErrorCodes" name="sl-42">com.cardatechnologies.utils.validators.abaroutevalidator.ErrorCodes</a>
</td>
<td>
<span class="sortValue">0.5714286</span>57.1%
</td>
<td class="align-middle" style="width: 100%" colspan="3">
<div>
<div title="57.1% Covered" style="min-width:40px;" class="barNegative contribBarNegative contribBarNegative"><div class="barPositive contribBarPositive contribBarPositive" style="width:57.1%"></div></div></div> </td>
</tr>
<tr>
<td>
<span class="sortValue">com.cardatechnologies.utils.validators.abaroutevalidator.AbaRouteValidator</span>
  <a href="../../../../../com/cardatechnologies/utils/validators/abaroutevalidator/AbaRouteValidator.html?id=42144#AbaRouteValidator" title="AbaRouteValidator" name="sl-47">com.cardatechnologies.utils.validators.abaroutevalidator.AbaRouteValidator</a>
</td>
<td>
<span class="sortValue">0.29411766</span>29.4%
</td>
<td class="align-middle" style="width: 100%" colspan="3">
<div>
<div title="29.4% Covered" style="min-width:40px;" class="barNegative contribBarNegative contribBarNegative"><div class="barPositive contribBarPositive contribBarPositive" style="width:29.4%"></div></div></div> </td>
</tr>
</tbody>
</table>
</div> <!-- class="<API key>" -->
<footer id="footer" role="contentinfo">
<section class="footer-body">
<ul>
<li>
Report generated by <a target="_new" href="http://openclover.org">OpenClover</a> v 4.4.1
on Sat Aug 7 2021 12:49:26 MDT using coverage data from Sat Aug 7 2021 12:47:23 MDT.
</li>
</ul>
<ul>
<li>OpenClover is free and open-source software. </li>
</ul>
</section>
</footer> </section> <!-- class="<API key>" -->
</div> <!-- class="<API key>" -->
</div> <!-- class="aui-page-panel" -->
</div> <!-- id="page" -->
</body>
</html> |
require 'spec_helper'
describe Facter::Util::Fact do
before do
Facter.clear
end
describe 'mysql present' do
context 'with mysql present' do
it do
Facter::Util::Resolution.stubs(:exec)
Facter::Util::Resolution.expects(:which).with('mysqld').returns(true)
expect(Facter.value(:mysql_present)).to eq(true)
end
end
context 'with mysql absent' do
it do
Facter::Util::Resolution.stubs(:exec)
Facter::Util::Resolution.expects(:which).with('mysqld').returns(false)
expect(Facter.value(:mysql_present)).to eq(false)
end
end
end
end |
package net.xcodersteam.lemoprint.web;
import io.netty.buffer.ByteBuf;
import io.netty.channel.<API key>;
import io.netty.handler.codec.http.*;
import net.xcodersteam.lemoprint.api.Globals;
import net.xcodersteam.lemoprint.api.web.IPageHandler;
import net.xcodersteam.lemoprint.api.web.RequestHandler;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.File;
import java.io.FileInputStream;
import java.nio.file.Files;
import java.util.Optional;
public class StaticPage implements IPageHandler {
private final static Log log = LogFactory.getLog(StaticPage.class);
/** Adds pattern for static page handling
* @param uri - Pattern using for check uri
*/
public static void addStaticPage(String uri){
System.out.println("Adding static page "+uri);
RequestHandler.handlerClasses.put(uri, StaticPage.class);
}
@Override
public boolean check(HttpMethod method, String uri) throws Exception {
return method==HttpMethod.GET;
}
@Override
public void onRequest(FullHttpRequest request, <API key> ctx) throws Exception {
HttpResponseStatus status = HttpResponseStatus.OK;
String urlM=request.uri();
File f=new File(Globals.mainDirectory,"/static"+urlM);
if(f.isDirectory())
f=new File(f,"index.html");
if(!f.exists()) {
f=new File(Globals.mainDirectory,"/static/404.html");
status=HttpResponseStatus.NOT_FOUND;
}
log.info(ctx.channel().remoteAddress() + " GET Static " + urlM + " result " + status);
FileInputStream fis=new FileInputStream(f);
ByteBuf bb=io.netty.buffer.Unpooled.buffer(fis.available());
bb.writeBytes(fis, fis.available());
FullHttpResponse response=new <API key>( HttpVersion.HTTP_1_1, status,bb);
HttpHeaderUtil.setContentLength(response, bb.readableBytes());
response.headers().set(HttpHeaderNames.CONTENT_TYPE, Optional.ofNullable(Files.probeContentType(f.toPath())).orElse("application/octet-stream"));
ctx.write(response);
}
@Override
public void onChannelInactive(<API key> ctx) throws Exception {
}
} |
package io.quarkus.oidc;
import io.smallrye.mutiny.Uni;
import io.vertx.ext.web.RoutingContext;
/**
* Authorization Code Flow Token State Manager.
* It converts the ID, access and refresh tokens returned in the authorization code grant response into a token state
* for OIDC Code <API key> to keep it as a session cookie.
*
* For example, default TokenStateManager concatenates all 3 tokens into a single String but does not persist it.
* Custom TokenStateManager may choose to keep the tokens in the external storage (DB, file system, etc) and return
* a reference to this storage.
*/
public interface TokenStateManager {
/**
* Convert the authorization code flow tokens into a token state.
*
* @param routingContext the request context
* @param oidcConfig the tenant configuration
* @param tokens the authorization code flow tokens
* @param requestContext the request context
*
* @return the token state
*/
Uni<String> createTokenState(RoutingContext routingContext, OidcTenantConfig oidcConfig,
<API key> tokens, OidcRequestContext<String> requestContext);
/**
* Convert the token state into the authorization code flow tokens.
*
* @param routingContext the request context
* @param oidcConfig the tenant configuration
* @param tokenState the token state
* @param requestContext the request context
*
* @return the authorization code flow tokens
*/
Uni<<API key>> getTokens(RoutingContext routingContext, OidcTenantConfig oidcConfig,
String tokenState, OidcRequestContext<<API key>> requestContext);
/**
* Delete the token state.
*
* @param routingContext the request context
* @param oidcConfig the tenant configuration
* @param tokenState the token state
*/
Uni<Void> deleteTokens(RoutingContext routingContext, OidcTenantConfig oidcConfig, String tokenState,
OidcRequestContext<Void> requestContext);
} |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var OuterSubscriber_1 = require("../OuterSubscriber");
var subscribeToResult_1 = require("../util/subscribeToResult");
var map_1 = require("./map");
var from_1 = require("../observable/from");
/* tslint:enable:max-line-length */
/**
* Projects each source value to an Observable which is merged in the output
* Observable, emitting values only from the most recently projected Observable.
*
* <span class="informal">Maps each value to an Observable, then flattens all of
* these inner Observables using {@link switch}.</span>
*
* <img src="./img/switchMap.png" width="100%">
*
* Returns an Observable that emits items based on applying a function that you
* supply to each item emitted by the source Observable, where that function
* returns an (so-called "inner") Observable. Each time it observes one of these
* inner Observables, the output Observable begins emitting the items emitted by
* that inner Observable. When a new inner Observable is emitted, `switchMap`
* stops emitting items from the earlier-emitted inner Observable and begins
* emitting items from the new one. It continues to behave like this for
* subsequent inner Observables.
*
* @example <caption>Rerun an interval Observable on every click event</caption>
* var clicks = Rx.Observable.fromEvent(document, 'click');
* var result = clicks.switchMap((ev) => Rx.Observable.interval(1000));
* result.subscribe(x => console.log(x));
*
* @see {@link concatMap}
* @see {@link exhaustMap}
* @see {@link mergeMap}
* @see {@link switch}
* @see {@link switchMapTo}
*
* @param {function(value: T, ?index: number): ObservableInput} project A function
* that, when applied to an item emitted by the source Observable, returns an
* Observable.
* @return {Observable} An Observable that emits the result of applying the
* projection function (and the optional `resultSelector`) to each item emitted
* by the source Observable and taking only the values from the most recently
* projected inner Observable.
* @method switchMap
* @owner Observable
*/
function switchMap(project, resultSelector) {
if (typeof resultSelector === 'function') {
return function (source) { return source.pipe(switchMap(function (a, i) { return from_1.from(project(a, i)).pipe(map_1.map(function (b, ii) { return resultSelector(a, b, i, ii); })); })); };
}
return function (source) { return source.lift(new SwitchMapOperator(project)); };
}
exports.switchMap = switchMap;
var SwitchMapOperator = /** @class */ (function () {
function SwitchMapOperator(project) {
this.project = project;
}
SwitchMapOperator.prototype.call = function (subscriber, source) {
return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));
};
return SwitchMapOperator;
}());
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
var SwitchMapSubscriber = /** @class */ (function (_super) {
__extends(SwitchMapSubscriber, _super);
function SwitchMapSubscriber(destination, project) {
var _this = _super.call(this, destination) || this;
_this.project = project;
_this.index = 0;
return _this;
}
SwitchMapSubscriber.prototype._next = function (value) {
var result;
var index = this.index++;
try {
result = this.project(value, index);
}
catch (error) {
this.destination.error(error);
return;
}
this._innerSub(result, value, index);
};
SwitchMapSubscriber.prototype._innerSub = function (result, value, index) {
var innerSubscription = this.innerSubscription;
if (innerSubscription) {
innerSubscription.unsubscribe();
}
this.add(this.innerSubscription = subscribeToResult_1.subscribeToResult(this, result, value, index));
};
SwitchMapSubscriber.prototype._complete = function () {
var innerSubscription = this.innerSubscription;
if (!innerSubscription || innerSubscription.closed) {
_super.prototype._complete.call(this);
}
};
SwitchMapSubscriber.prototype._unsubscribe = function () {
this.innerSubscription = null;
};
SwitchMapSubscriber.prototype.notifyComplete = function (innerSub) {
this.remove(innerSub);
this.innerSubscription = null;
if (this.isStopped) {
_super.prototype._complete.call(this);
}
};
SwitchMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
this.destination.next(innerValue);
};
return SwitchMapSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=switchMap.js.map |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../ncollide_geometry/bounding_volume/fn.support_map_aabb.html">
</head>
<body>
<p>Redirecting to <a href="../../../ncollide_geometry/bounding_volume/fn.support_map_aabb.html">../../../ncollide_geometry/bounding_volume/fn.support_map_aabb.html</a>...</p>
<script>location.replace("../../../ncollide_geometry/bounding_volume/fn.support_map_aabb.html" + location.search + location.hash);</script>
</body>
</html> |
require File.join(File.dirname(__FILE__), "../utils.rb")
namespace :rosetta do
namespace :filter do
desc "Set up Rosetta filter."
task :setup, :roles => "filter" do
remote_chef("filter")
end
end
end |
Imports System.Xml
Imports System.Web.Configuration
Imports System.Text.RegularExpressions
Imports Protean.Cms.Cart
Namespace Providers
Namespace Payment
Public Class Pay360
Public Sub New()
'do nothing
End Sub
Public Sub Initiate(ByRef _AdminXforms As Object, ByRef _AdminProcess As Object, ByRef _Activities As Object, ByRef MemProvider As Object, ByRef myWeb As Cms)
MemProvider.AdminXforms = New AdminXForms(myWeb)
MemProvider.AdminProcess = New AdminProcess(myWeb)
MemProvider.AdminProcess.oAdXfm = MemProvider.AdminXforms
MemProvider.Activities = New Activities()
End Sub
Public Class AdminXForms
Inherits Cms.Admin.AdminXforms
Private Const mcModuleName As String = "Providers.Providers.Eonic.AdminXForms"
Sub New(ByRef aWeb As Cms)
MyBase.New(aWeb)
End Sub
End Class
Public Class AdminProcess
Inherits Cms.Admin
Dim _oAdXfm As Protean.Providers.Payment.Pay360.AdminXForms
Public Property oAdXfm() As Object
Set(ByVal value As Object)
_oAdXfm = value
End Set
Get
Return _oAdXfm
End Get
End Property
Sub New(ByRef aWeb As Cms)
MyBase.New(aWeb)
End Sub
End Class
Public Class Activities
Inherits Protean.Providers.Payment.DefaultProvider.Activities
Private Const mcModuleName As String = "Providers.Payment.Pay360.Activities"
Private myWeb As Protean.Cms
Protected moPaymentCfg As XmlNode
Private nTransactionMode As TransactionMode
Enum TransactionMode
Live = 0
Test = 1
Fail = 2
End Enum
Private ScheduleIntervals() As String = {"yearly", "half-yearly", "quarterly", "monthly", "weekly", "daily"}
Public Overloads Function GetPaymentForm(ByRef oWeb As Protean.Cms, ByRef oCart As Cms.Cart, ByRef oOrder As XmlElement, Optional returnCmd As String = "cartCmd=<API key>") As xForm
PerfMon.Log("PaymentProviders", "GetPaymentForm")
Dim sSql As String
Dim ccXform As xForm
Dim Xform3dSec As xForm = Nothing
Dim bIsValid As Boolean
Dim err_msg As String = ""
Dim err_msg_log As String = ""
Dim sProcessInfo As String = ""
Dim aResponse() As String
Dim oDictResp As Hashtable
Dim cResponse As String
Dim oDictOpt As Hashtable = New Hashtable
Dim sSubmitPath As String = oCart.mcPagePath & returnCmd
Dim i As Integer
Dim nPos As Integer
Dim sOpts As String
Dim cOrderType As String
Dim bCv2 As Boolean = False
Dim b3DSecure As Boolean = False
Dim b3DAuthorised As Boolean = False
Dim sRedirectURL As String = ""
Dim sPaymentRef As String = ""
Dim cProcessInfo As String = "payGetPaymentForm"
'Get the payment options into a hashtable
Dim oPay360Cfg As XmlNode
Dim bSavePayment As Boolean = False
Dim bAllowSavePayment As Boolean = False
Dim sProfile As String = ""
Try
myWeb = oWeb
moPaymentCfg = <API key>.<API key>("protean/payment")
oPay360Cfg = moPaymentCfg.SelectSingleNode("provider[@name='Pay360']")
oDictOpt = xmlTools.xmlToHashTable(oPay360Cfg, "value")
Dim oEwProv As Protean.Cms.Cart.PaymentProviders = New PaymentProviders(myWeb)
'Get values form cart
oEwProv.mcCurrency = IIf(oCart.mcCurrencyCode = "", oCart.mcCurrency, oCart.mcCurrencyCode)
oEwProv.mcCurrencySymbol = oCart.mcCurrencySymbol
If oOrder.GetAttribute("payableType") = "" Then
oEwProv.mnPaymentAmount = oOrder.GetAttribute("total")
Else
oEwProv.mnPaymentAmount = oOrder.GetAttribute("payableAmount")
oEwProv.mnPaymentMaxAmount = oOrder.GetAttribute("total")
oEwProv.mcPaymentType = oOrder.GetAttribute("payableType")
End If
oEwProv.mnCartId = oCart.mnCartId
oEwProv.<API key> = "Ref:" & oCart.OrderNoPrefix & CStr(oCart.mnCartId) & " An online purchase from: " & oCart.mcSiteURL & " on " & niceDate(Now) & " " & TimeValue(Now)
oEwProv.mcCardHolderName = oOrder.SelectSingleNode("Contact[@type='Billing Address']/GivenName").InnerText
If sProfile <> "" Then
oPay360Cfg = moPaymentCfg.SelectSingleNode("provider[@name='Pay360' and @profile='" & sProfile & "']")
Else
oPay360Cfg = moPaymentCfg.SelectSingleNode("provider[@name='Pay360']")
End If
' Get the payment options
'oPay360Cfg = moPaymentCfg.SelectSingleNode("provider[@name='SecPay']")
oDictOpt = xmlTools.xmlToHashTable(oPay360Cfg, "value")
Select Case oDictOpt("opperationMode")
Case "true"
nTransactionMode = TransactionMode.Test
Case "false"
nTransactionMode = TransactionMode.Fail
Case "live"
nTransactionMode = TransactionMode.Live
End Select
' override the currency
If oDictOpt.ContainsKey("currency") Then oDictOpt.Remove("currency")
oDictOpt.Add("currency", oEwProv.mcCurrency)
' Set common variables
If oDictOpt("validateCV2") = "on" Then bCv2 = True
If oDictOpt("secure3d") = "on" Then b3DSecure = True
If oDictOpt("allowSavePayment") = "on" Then bAllowSavePayment = True
'Load the Xform
ccXform = oEwProv.creditCardXform(oOrder, "PayForm", sSubmitPath, oDictOpt("cardsAccepted"), bCv2, "Make Payment of " & FormatNumber(oEwProv.mnPaymentAmount, 2) & " " & oDictOpt("currency") & " by Credit/Debit Card", b3DSecure, , , bAllowSavePayment)
If b3DSecure Then
'check for return from aquiring bank
If myWeb.moRequest("MD") <> "" Then
b3DAuthorised = True
End If
End If
If ccXform.valid Or b3DAuthorised Then
' Set up card options
sOpts = "test_status=" & oDictOpt("opperationMode")
sOpts = sOpts & ",dups=false,card_type=" & myWeb.moRequest("creditCard/type")
' Account for scheduled payments from the payment config.
Dim scheduleInterval As String = (oDictOpt("scheduleInterval") & "").ToLower
Dim scheduleMaxRepeats As String = oDictOpt("scheduleMaxRepeats") & ""
If Not String.IsNullOrEmpty(scheduleInterval) _
AndAlso Array.IndexOf(ScheduleIntervals, scheduleInterval) >= 0 Then
Dim maxRepeats As Integer
If Not String.IsNullOrEmpty(scheduleMaxRepeats) _
AndAlso IsNumeric(scheduleMaxRepeats) _
AndAlso Convert.ToInt16(scheduleMaxRepeats) > 0 Then
maxRepeats = scheduleMaxRepeats
Else
maxRepeats = -1
End If
' We need to send through an immediate payment - ie, the actual payment
' and then schedule the same payment based on the interval
Dim scheduleDate As Date
Select Case scheduleInterval
Case "yearly"
scheduleDate = Today.AddYears(1)
Case "half-yearly"
scheduleDate = Today.AddMonths(6)
Case "quarterly"
scheduleDate = Today.AddMonths(3)
Case "monthly"
scheduleDate = Today.AddMonths(1)
Case "weekly"
scheduleDate = Today.AddDays(7)
Case "daily"
scheduleDate = Today.AddDays(1)
End Select
sOpts &= ",repeat=" & Format(scheduleDate, "yyyyMMdd")
sOpts &= "/" & scheduleInterval
sOpts &= "/" & maxRepeats.ToString
sOpts &= ":" & oEwProv.mnPaymentAmount.ToString
End If
' Currency - if no currency then use GBP
If oEwProv.mcCurrency <> "" Then
sOpts = sOpts & ",currency=" & UCase(oEwProv.mcCurrency)
Else
sOpts = sOpts & ",currency=GBP"
End If
' Optional - CV2
If bCv2 Then
sOpts = sOpts & ",cv2=" & myWeb.moRequest("creditCard/CV2")
End If
' Optional - 3DSecure
If oDictOpt("opperationMode") = "true" And b3DSecure Then
sOpts = sOpts & ",test_mpi_status=true"
End If
' If test mode, then we must turn on cv2-avs checks - mandatory Visa mandate May 2009
If LCase(oDictOpt("opperationMode")) = "true" Or LCase(oDictOpt("opperationMode")) = "false" Then
sOpts = sOpts & ",default_cv2avs=ALL MATCH"
End If
If LCase(oDictOpt("transactionType")) = "defer" Or LCase(oDictOpt("transactionType")) = "deferred" Then
If IsNumeric(oDictOpt("ccDeferDays")) And IsNumeric(oDictOpt("dcDeferDays")) Then
sOpts &= ",deferred=reuse:" & oDictOpt("ccDeferDays") & ":" & oDictOpt("dcDeferDays")
Else
sOpts &= ",deferred=true"
End If
End If
If oDictOpt("digest") = "on" Then
Dim cDigest As String = ""
If Not oDictOpt("accountId") = "secpay" Then
cDigest = CStr(oEwProv.mnCartId) & CStr(oEwProv.mnPaymentAmount) & CStr(oDictOpt("accountPassword"))
Else
cDigest = "secpay"
End If
Dim encode As New System.Text.UnicodeEncoding
Dim inputDigest() As Byte = encode.GetBytes(cDigest)
Dim hash() As Byte
' get hash
Dim md5 As New System.Security.Cryptography.<API key>
hash = md5.ComputeHash(inputDigest)
' convert hash value to hex string
Dim sb As New System.Text.StringBuilder
Dim outputByte As Byte
For Each outputByte In hash
' convert each byte to a Hexadecimal upper case string
sb.Append(outputByte.ToString("x2"))
Next outputByte
sOpts &= ",digest=" & sb.ToString
End If
Dim oSecVpn As Paypoint.SECVPNClient = New Paypoint.SECVPNClient
cOrderType = oOrder.GetAttribute("orderType")
If Not (cOrderType <> "" And CStr(oDictOpt("UseOrderType")) = "true") Then cOrderType = CStr(oDictOpt("accountId"))
If Not b3DSecure Then
cResponse = oSecVpn.validateCardFull(cOrderType,
CStr(oDictOpt("accountPassword")),
CStr(oEwProv.mnCartId),
myWeb.moRequest.ServerVariables("REMOTE_ADDR"),
oEwProv.mcCardHolderName,
myWeb.moRequest("creditCard/number"),
CStr(oEwProv.mnPaymentAmount),
fmtSecPayDate(myWeb.moRequest("creditCard/expireDate")),
myWeb.moRequest("creditCard/issueNumber"),
fmtSecPayDate(myWeb.moRequest("creditCard/issueDate")),
getPay360Order(oOrder),
getPay360Address(oOrder, "Delivery Address"),
getPay360Address(oOrder, "Billing Address"),
sOpts)
bSavePayment = True
Else
If Not b3DAuthorised Then
cResponse = oSecVpn.<API key>(cOrderType,
CStr(oDictOpt("accountPassword")),
CStr(oEwProv.mnCartId),
myWeb.moRequest.ServerVariables("REMOTE_ADDR"),
oEwProv.mcCardHolderName,
myWeb.moRequest("creditCard/number"),
CStr(oEwProv.mnPaymentAmount),
fmtSecPayDate(myWeb.moRequest("creditCard/expireDate")),
myWeb.moRequest("creditCard/issueNumber"),
fmtSecPayDate(myWeb.moRequest("creditCard/issueDate")),
getPay360Order(oOrder),
getPay360Address(oOrder, "Delivery Address"),
getPay360Address(oOrder, "Billing Address"),
sOpts,
"0",
myWeb.moRequest.ServerVariables("HTTP_ACCEPT"),
myWeb.moRequest.ServerVariables("HTTP_USER_AGENT"),
"",
"",
"",
"",
"",
"")
bSavePayment = True
Else
'Pass the process back to Secpay
cResponse = oSecVpn.threeDSecure<API key>(cOrderType,
CStr(oDictOpt("accountPassword")),
CStr(oEwProv.mnCartId),
myWeb.moRequest("MD"),
myWeb.moRequest("PaRes"),
sOpts)
'Save in the session the MD and the instance to save
End If
End If
' Parse the response
oDictResp = New Hashtable
'cResponse = Replace(oXMLHttp.responseXML.selectSingleNode("//node()[local-name()='<API key>']").Text, "+", " ")
Dim cAuthCode As String = ""
If cResponse <> "" Then
aResponse = Split(Right(cResponse, Len(cResponse) - 1), "&")
For i = 0 To UBound(aResponse)
Dim cPos As String = InStr(aResponse(i), "=")
If IsNumeric(cPos) Then
nPos = CInt(cPos)
oDictResp.Add(Left(aResponse(i), nPos - 1), Right(aResponse(i), Len(aResponse(i)) - nPos))
Else
oDictResp.Add(Trim(aResponse(i)), "")
End If
Next
If oDictResp("valid") = "true" Then
If Not b3DSecure Then
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oEwProv.mnCartId)
ccXform.valid = True
Else
Select Case oDictResp("mpi_status_code")
Case "200"
'we have to get the browser to redirect
' v4 change - don't explicitly redirect to /deafault.ashx - this breaks everything.
' AJG Remove defualt.ashx from RedirectUrl Compare this line to 4.1
If oEwProv.moCartConfig("SecureURL").EndsWith("/") Then
sRedirectURL = oEwProv.moCartConfig("SecureURL") & "?cartCmd=Redirect3ds"
Else
sRedirectURL = oEwProv.moCartConfig("SecureURL") & "/?cartCmd=Redirect3ds"
End If
Dim cleanACSURL As String = myWeb.goServer.UrlDecode(oDictResp("acs_url"))
cleanACSURL = Replace(cleanACSURL, "&", "&")
bIsValid = False
ccXform.valid = False
err_msg = "customer redirected to:" & cleanACSURL
'Save MD as paymentRef
sPaymentRef = oDictResp("MD")
'Save the payment instance in the session
Xform3dSec = oEwProv.xfrmSecure3D(oDictResp("acs_url"), oDictResp("MD"), oDictResp("PaReq"), sRedirectURL)
Case "212"
'not subscribes to 3D Secure
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oEwProv.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
ccXform.valid = True
Case "237"
'Payer Authenticated
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oEwProv.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
ccXform.valid = True
Case "236"
' Payer Declined 3D Secure but Proceeded to confirm
' the(authentication)
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oEwProv.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
ccXform.valid = True
Case "234"
' unable to verify erolement but secpay passes
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oEwProv.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
ccXform.valid = True
Case "229"
'Payer Not Authenticated
bIsValid = False
ccXform.valid = False
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Case Else
If oDictResp("code") = "A" Then
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oEwProv.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
ccXform.valid = True
Else
'Payer Not Authenticated
bIsValid = False
ccXform.valid = False
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_status_code") & " - " & oDictResp("mpi_message")
End If
End Select
End If
Else
ccXform.valid = False
bIsValid = False
err_msg_log = "Payment Failed : " & oDictResp("message") & " (Code::" & oDictResp("code") & ")"
' Produce nice format error messages.
Select Case oDictResp("code")
Case "N"
err_msg = "The transaction was not authorised by your payment provider."
Case "C"
err_msg = "There was a comunication problem. Please try resubmitting your order later."
Case "P:A"
err_msg = "There was a system error - the amount was not supplied or invalid. Please call for assistance."
Case "P:X"
err_msg = "There was a system error - not all the mandatory parameters were supplied. Please call for assistance."
Case "P:P"
err_msg = "The payment has already been processed. This is a duplicate payment, and will not be processed."
Case "P:S"
err_msg = "The start date is invalid. Please check that you have entered your card details correctly."
Case "P:E"
err_msg = "The expiry date is invalid. Please check that you have entered your card details correctly."
Case "P:I"
err_msg = "The issue number is invalid. Please check that you have entered your card details correctly."
Case "P:C"
err_msg = "The card number supplied is invalid. Please check that you have entered your card details correctly."
Case "P:T"
err_msg = "The card type does not match the card number entered. Please check that you have entered your card details correctly."
Case "P:N"
err_msg = "There was a system error - the customer name was not supplied. Please call for assistance."
Case "P:M"
err_msg = "There was a system error - the merchant account deos not exist or has not been registered. Please call for assistance."
Case "P:B"
err_msg = "There was a system error - the merchant account for this card type does not exist. Please call for assistance."
Case "P:D"
err_msg = "There was a system error - the merchant account for this currency does not exist. Please call for assistance."
Case "P:V"
err_msg = "The security code is invalid. Please check that you have entered your card details correctly. The security code can be found on the back of your card and is the last 3 digits of the series of digits on the back."
Case "P:R"
err_msg = "There was a communication problem and the transaction has timed out. Please try resubmitting your order later."
Case "P:
err_msg = "There was a system error - no encryption key has been set up against this account. Please call for assistance."
Case Else
err_msg = "There was an unspecified error. Please call for assistance.(code::" & oDictResp("code") & " | " & oDictResp("message")
End Select
err_msg = "Payment Failed : " & err_msg
End If
Else
bIsValid = False
ccXform.valid = False
err_msg = "Payment Failed : no response from Pay360 check settings and password"
End If
If bSavePayment Then
'We Save the payment method prior to ultimate validation because we only have access to the request object at the point it is submitted
'only do this for a valid payment method
Dim oSaveElmt As XmlElement = ccXform.Instance.SelectSingleNode("creditCard/bSavePayment")
Debug.WriteLine(myWeb.moRequest("creditCard/expireDate"))
Dim oDate As New Date("20" & Right(myWeb.moRequest("creditCard/expireDate"), 2), CInt(Left(myWeb.moRequest("creditCard/expireDate"), 2)), 1)
oDate = oDate.AddMonths(1)
oDate = oDate.AddDays(-1)
Dim cMethodName As String = myWeb.moRequest("creditCard/type") & ": " & MaskString(myWeb.moRequest("creditCard/number"), "*", False, 4) & " Expires: " & oDate.ToShortDateString
cAuthCode = oDictResp("auth_code")
' Dim oPay360Elmt As XmlElement = ccXform.Instance.OwnerDocument.CreateElement("Pay360")
' oPay360Elmt.SetAttribute("AuthCode", cAuthCode)
' ccXform.Instance.FirstChild.AppendChild(oPay360Elmt)
If Not oSaveElmt Is Nothing Then
If oSaveElmt.InnerText = "true" And bIsValid Then
oCart.mnPaymentId = oEwProv.savePayment(myWeb.mnUserId, "Pay360", oEwProv.mnCartId, cMethodName, ccXform.Instance.FirstChild, oDate, True, oEwProv.mnPaymentAmount)
Else
oCart.mnPaymentId = oEwProv.savePayment(myWeb.mnUserId, "Pay360", oEwProv.mnCartId, cMethodName, ccXform.Instance.FirstChild, Now, False, oEwProv.mnPaymentAmount)
End If
Else
oCart.mnPaymentId = oEwProv.savePayment(myWeb.mnUserId, "Pay360", oEwProv.mnCartId, cMethodName, ccXform.Instance.FirstChild, Now, False, oEwProv.mnPaymentAmount)
End If
End If
ccXform.addNote(ccXform.moXformElmt, xForm.noteTypes.Alert, err_msg)
Else
If ccXform.isSubmitted And ccXform.validationError = "" Then
err_msg = "Unknown Error: Please call"
ccXform.addNote(ccXform.moXformElmt, xForm.noteTypes.Alert, err_msg)
Else
err_msg = ccXform.validationError
End If
ccXform.valid = False
End If
If ccXform.isSubmitted Or b3DAuthorised Then
'Update Seller Notes:
sSql = "select * from tblCartOrder where nCartOrderKey = " & oEwProv.mnCartId
Dim oDs As DataSet
Dim oRow As DataRow
oDs = myWeb.moDbHelper.getDataSetForUpdate(sSql, "Order", "Cart")
For Each oRow In oDs.Tables("Order").Rows
If bIsValid Or b3DAuthorised Then
oRow("cSellerNotes") = oRow("cSellerNotes") & vbLf & Today & " " & TimeOfDay & ": changed to: (Payment Received) " & vbLf & "comment: " & err_msg & vbLf & "Full Response:' " & cResponse & "'"
Else
If err_msg_log = "" Then err_msg_log = err_msg
oRow("cSellerNotes") = oRow("cSellerNotes") & vbLf & Today & " " & TimeOfDay & ": changed to: (Payment Failed) " & vbLf & "comment: " & err_msg_log & vbLf & "Full Response:' " & cResponse & "'"
End If
If b3DSecure And bIsValid = False Then
oRow("cPaymentRef") = sPaymentRef
End If
Next
myWeb.moDbHelper.updateDataset(oDs, "Order")
End If
If Not Xform3dSec Is Nothing Then
Return Xform3dSec
Else
Return ccXform
End If
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "GetPaymentForm", ex, "", cProcessInfo, gbDebug)
Return Nothing
End Try
End Function
Private Function getPay360Address(ByRef oRoot As XmlElement, ByRef sType As String) As String
PerfMon.Log("PaymentProviders", "getSecPayAddress")
Dim oCartAdd As XmlElement
Dim sAddress As String
Dim sPrefix As String
Dim cProcessInfo As String = "getSecPayAddress"
Try
sAddress = ""
oCartAdd = oRoot.SelectSingleNode("Contact[@type='" & sType & "']")
If sType = "Delivery" Then sType = "Shipping"
If Not oCartAdd Is Nothing Then
sPrefix = LCase(Left(sType, 4)) & "_"
'given name
If Not oCartAdd.SelectSingleNode("GivenName") Is Nothing Then
sAddress = sAddress & sPrefix & "name=" & Replace(oCartAdd.SelectSingleNode("GivenName").InnerText, ",", ",") & ","
End If
If Not oCartAdd.SelectSingleNode("Company") Is Nothing Then
sAddress = sAddress & sPrefix & "company=" & Replace(oCartAdd.SelectSingleNode("Company").InnerText, ",", ",") & ","
End If
Dim cStreet() As String = Split(oCartAdd.SelectSingleNode("Street").InnerText, ",")
Select Case UBound(cStreet)
Case 0
If Not oCartAdd.SelectSingleNode("Street") Is Nothing Then
sAddress = sAddress & sPrefix & "addr_1=" & cStreet(0) & ","
End If
Case 1
If Not oCartAdd.SelectSingleNode("Street") Is Nothing Then
sAddress = sAddress & sPrefix & "addr_1=" & cStreet(0) & ","
sAddress = sAddress & sPrefix & "addr_2=" & cStreet(1) & ","
End If
Case Else
If Not oCartAdd.SelectSingleNode("Street") Is Nothing Then
sAddress = sAddress & sPrefix & "addr_1=" & cStreet(0) & ","
'remove commas AVC doesn't like em.
sAddress = sAddress & sPrefix & "addr_2=" & Replace(Replace(oCartAdd.SelectSingleNode("Street").InnerText, cStreet(0), ""), ",", " ") & ","
End If
End Select
If Not oCartAdd.SelectSingleNode("City") Is Nothing Then
sAddress = sAddress & sPrefix & "city=" & Replace(oCartAdd.SelectSingleNode("City").InnerText, ",", ",") & ","
End If
If Not oCartAdd.SelectSingleNode("State") Is Nothing Then
sAddress = sAddress & sPrefix & "state=" & Replace(oCartAdd.SelectSingleNode("State").InnerText, ",", ",") & ","
End If
If Not oCartAdd.SelectSingleNode("Country") Is Nothing Then
sAddress = sAddress & sPrefix & "country=" & Replace(oCartAdd.SelectSingleNode("Country").InnerText, ",", ",") & ","
End If
If Not oCartAdd.SelectSingleNode("PostalCode") Is Nothing Then
sAddress = sAddress & sPrefix & "post_code=" & Replace(oCartAdd.SelectSingleNode("PostalCode").InnerText, ",", ",") & ","
End If
If Not oCartAdd.SelectSingleNode("Telephone") Is Nothing Then
sAddress = sAddress & sPrefix & "tel=" & Replace(oCartAdd.SelectSingleNode("Telephone").InnerText, ",", ",") & ","
End If
If Not oCartAdd.SelectSingleNode("Email") Is Nothing Then
sAddress = sAddress & sPrefix & "email=" & Replace(oCartAdd.SelectSingleNode("Email").InnerText, ",", ",") & ","
End If
If sAddress <> "" Then sAddress = Left(sAddress, Len(sAddress) - 1)
End If
Return sAddress
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "getSecPayAddress", ex, "", cProcessInfo, gbDebug)
Return Nothing
End Try
End Function
Private Function getPay360Order(ByRef oRoot As XmlElement) As String
PerfMon.Log("PaymentProviders", "getSecPayOrder")
Dim sOrder As String
Dim cProcessInfo As String = "getSecPayOrder"
Dim oItem As XmlElement
Try
sOrder = ""
For Each oItem In oRoot.SelectNodes("Item")
sOrder = sOrder & "prod=" & Replace(oItem.SelectSingleNode("Name").InnerText, " ", "_")
sOrder = sOrder & ", item_amount=" & oItem.SelectSingleNode("@price").InnerText & "x" & oItem.SelectSingleNode("@quantity").InnerText & ";"
Next
'add the shipping
If CInt("0" & oRoot.SelectSingleNode("@shippingCost").InnerText) > 0 Then
sOrder = sOrder & "prod=SHIPPING,item_amount=" & oRoot.SelectSingleNode("@shippingCost").InnerText & "x1;"
End If
'add the tax
If CInt("0" & oRoot.SelectSingleNode("@vatAmt").InnerText) > 0 Then
sOrder = sOrder & "prod=TAX,item_amount=" & oRoot.SelectSingleNode("@vatAmt").InnerText & "x1;"
End If
'strip the trailing semiColon
sOrder = Left(sOrder, Len(sOrder) - 1)
Return sOrder
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "getSecPayOrder", ex, "", cProcessInfo, gbDebug)
Return Nothing
End Try
End Function
Private Function fmtSecPayDate(ByVal sdate As String) As String
PerfMon.Log("PaymentProviders", "fmtSecPayDate")
Dim cProcessInfo As String = "fmtSecPayDate"
Dim strReturn As String = ""
Try
' The dates are formatted "mm yyyy" - convert them to "mmyy"
If sdate <> "" Then strReturn = Left(sdate, 2) & Right(sdate, 2)
Return strReturn
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "fmtSecPayDate", ex, "", cProcessInfo, gbDebug)
Return ""
End Try
End Function
Public Function <API key>(ByVal sCCNumber As String) As Long
PerfMon.Log("PaymentProviders", "<API key>")
Dim cResult As String = ""
Dim oRE As Regex = New Regex("\D")
cResult = oRE.Replace(sCCNumber, "")
cResult = Replace(cResult, " ", "") 'also strip out spaces
If cResult = "" Then cResult = 0
Return cResult
End Function
Public Function FullMoneyString(ByVal amount As String) As String
Try
If Not amount.Contains(".") Then Return Replace(amount, ",", "")
amount = Replace(amount, ",", "")
Dim cAmounts() As String = Split(amount, ".")
If UBound(cAmounts) > 2 Then Return amount
amount = cAmounts(0) & "."
If cAmounts(1).Length < 2 Then
amount &= cAmounts(1) & "0"
Else
amount &= cAmounts(1)
End If
Return amount
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "FullMoneyString", ex, "", "", gbDebug)
Return amount
End Try
End Function
Public Function CheckStatus(ByRef oWeb As Protean.Cms, ByRef nPaymentProviderRef As String) As String
Dim cProcessInfo As String = ""
' Dim moPaymentCfg = <API key>.<API key>("protean/payment")
' Dim oSagePayV3Cfg As XmlNode
' Dim nTransactionMode As TransactionMode
Try
'moPaymentCfg = <API key>.<API key>("protean/payment")
'oPay360Cfg = moPaymentCfg.SelectSingleNode("provider[@name='Pay360']")
'oDictOpt = xmlTools.xmlToHashTable(oPay360Cfg, "value")
'Dim oSecVpn As Paypoint.SECVPNClient = New Paypoint.SECVPNClient
'Dim cResponse As String
'cResponse = oSecVpn.repeatCardFull(cOrderType,
' CStr(oDictOpt("accountPassword")),
' CStr(oEwProv.mnCartId),
' myWeb.moRequest.ServerVariables("REMOTE_ADDR"),
' oEwProv.mcCardHolderName,
' myWeb.moRequest("creditCard/number"),
' CStr(oEwProv.mnPaymentAmount),
' fmtSecPayDate(myWeb.moRequest("creditCard/expireDate")),
' myWeb.moRequest("creditCard/issueNumber"),
' fmtSecPayDate(myWeb.moRequest("creditCard/issueDate")),
' getPay360Order(oOrder),
' getPay360Address(oOrder, "Delivery Address"),
' getPay360Address(oOrder, "Billing Address"),
' sOpts)
Return "Active"
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "CheckStatus", ex, "", cProcessInfo, gbDebug)
Return ""
End Try
End Function
Public Function CollectPayment(ByRef oWeb As Protean.Cms, ByVal nPaymentMethodId As Long, ByVal Amount As Double, ByVal CurrencyCode As String, ByVal PaymentDescription As String, ByRef oOrder As Protean.Cms.Cart) As String
Dim cProcessInfo As String = ""
Dim oPay360Cfg As XmlElement
Dim oDictOpt As Hashtable = New Hashtable
Dim sOpts As String
Try
moPaymentCfg = <API key>.<API key>("protean/payment")
oPay360Cfg = moPaymentCfg.SelectSingleNode("provider[@name='Pay360']")
oDictOpt = xmlTools.xmlToHashTable(oPay360Cfg, "value")
Dim RemotePassword As String = ""
Dim sToken As String = myWeb.moDbHelper.GetDataValue("select cPayMthdProviderRef from <API key> where nPayMthdKey = " & nPaymentMethodId)
Dim cardXml As New XmlDocument
cardXml.LoadXml(myWeb.moDbHelper.GetDataValue("select cPayMthdProviderRef from <API key> where nPayMthdKey = " & nPaymentMethodId))
Dim cardExpireDate As String = cardXml.SelectSingleNode("creditCard/expireDate").InnerText
Dim cardType As String = cardXml.SelectSingleNode("creditCard/type").InnerText
Dim CV2 As String = cardXml.SelectSingleNode("creditCard/CV2").InnerText
sOpts = "test_status=" & oDictOpt("opperationMode")
sOpts = sOpts & ",dups=false,card_type=" & cardType
' Currency - if no currency then use GBP
If oOrder.mcCurrency <> "" Then
sOpts = sOpts & ",currency=" & UCase(oOrder.mcCurrency)
Else
sOpts = sOpts & ",currency=GBP"
End If
If CV2 <> "" Then
sOpts = sOpts & ",cv2=" & CV2
End If
Dim oSecVpn As Paypoint.SECVPNClient = New Paypoint.SECVPNClient
Dim cResponse As String
cResponse = oSecVpn.repeatCardFull(CStr(oDictOpt("accountId")),
CStr(oDictOpt("accountPassword")),
sToken,
Amount,
oDictOpt("remotePassword"),
fmtSecPayDate(cardExpireDate),
oOrder.mnCartId,
sOpts
)
Dim aResponse As String() = Split(Right(cResponse, Len(cResponse) - 1), "&")
Dim i As Int16
Dim nPos As Int16
Dim oDictResp As New Hashtable
For i = 0 To UBound(aResponse)
Dim cPos As String = InStr(aResponse(i), "=")
If IsNumeric(cPos) Then
nPos = CInt(cPos)
oDictResp.Add(Left(aResponse(i), nPos - 1), Right(aResponse(i), Len(aResponse(i)) - nPos))
Else
oDictResp.Add(Trim(aResponse(i)), "")
End If
Next
Dim bIsValid As Boolean = False
Dim err_msg As String = ""
If oDictResp("valid") = "true" Then
Select Case oDictResp("mpi_status_code")
Case "212"
'not subscribes to 3D Secure
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oOrder.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Case "237"
'Payer Authenticated
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oOrder.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Case "236"
' Payer Declined 3D Secure but Proceeded to confirm
' the(authentication)
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oOrder.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Case "234"
' unable to verify erolement but secpay passes
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oOrder.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Case "229"
'Payer Not Authenticated
bIsValid = False
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Case Else
If oDictResp("code") = "A" Then
bIsValid = True
err_msg = "Payment Authorised Ref: " & CStr(oOrder.mnCartId)
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_message")
Else
'Payer Not Authenticated
bIsValid = False
err_msg = err_msg & " 3D Secure:" & oDictResp("mpi_status_code") & " - " & oDictResp("mpi_message")
End If
End Select
End If
If bIsValid Then
Return "Success"
Else
Return err_msg
End If
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "CollectPayment", ex, "", cProcessInfo, gbDebug)
Return "Payment Error"
End Try
End Function
Public Function CancelPayments(ByRef oWeb As Protean.Cms, ByRef nPaymentProviderRef As String) As String
Dim cProcessInfo As String = ""
Dim moPaymentCfg = <API key>.<API key>("protean/payment")
' Dim oPay360Cfg As XmlNode
Try
Catch ex As Exception
returnException(myWeb.msException, mcModuleName, "CancelPayments", ex, "", cProcessInfo, gbDebug)
Return ""
End Try
End Function
End Class
End Class
End Namespace
End Namespace |
var Alloy = require("alloy");
var _ = require("alloy/underscore");
var Declare = require("tui/base/Declare");
var AnimateBase = require("tui/animation/AnimateBase");
var animate = require("tui/animation/Animate");
var TileFlip = Declare({
"extends": AnimateBase,
animate: function(options) {
var tileFlip = this;
tileFlip._super(options);
if (!tileFlip.node) return;
var imgTile = tileFlip.node.toImage();
var imageTileView = Ti.UI.createImageView({
image: imgTile,
width: Ti.UI.FILL,
height: Ti.UI.FILL
});
imageTileView.animate({
opacity: 0,
delay: tileFlip.settings.animSpeed / 4,
duration: tileFlip.settings.animSpeed / 4
});
tileFlip.mask.animate({
backgroundColor: "rgba(255,255,255, 1)",
duration: 0,
delay: tileFlip.settings.animSpeed / 2
});
tileFlip.node.add(imageTileView);
tileFlip.node.zIndex = 100;
tileFlip.innerTileView.opacity = 0;
tileFlip.node.animate({
width: Alloy.Globals.Styles.page.width,
height: Alloy.Globals.Styles.page.height,
top: Alloy.Globals.Styles.template.homeContentOffset + Alloy.Globals.Styles.page.top,
left: Alloy.Globals.Styles.page.left,
transform: Ti.UI.create3DMatrix().rotate(tileFlip.settings.rotateDegrees, 0, 1, 0),
delay: tileFlip.settings.animSpeed / 2,
duration: tileFlip.settings.animSpeed,
curve: tileFlip.settings.curve
}, function() {
tileFlip.onBeforeComplete && tileFlip.onBeforeComplete();
Alloy.Globals.Events.trigger("<API key>", tileFlip.page);
tileFlip.tile.open = true;
tileFlip.node.remove(imageTileView);
tileFlip.node.opacity = 0;
tileFlip.tile.open = true;
tileFlip.onComplete && tileFlip.onComplete();
});
}
});
module.exports = TileFlip; |
package edu.harvard.mgh.lcs.sprout.forms.study.mdb;
import edu.harvard.mgh.lcs.sprout.forms.study.beaninterface.AuditService;
import edu.harvard.mgh.lcs.sprout.forms.study.beaninterface.SproutFormsService;
import edu.harvard.mgh.lcs.sprout.forms.study.beaninterface.<API key>;
import edu.harvard.mgh.lcs.sprout.forms.study.to.StudyInboxTO;
import edu.harvard.mgh.lcs.sprout.forms.study.util.StringUtils;
import freemarker.template.Configuration;
import freemarker.template.<API key>;
import freemarker.template.Template;
import javax.ejb.<API key>;
import javax.ejb.EJB;
import javax.ejb.MessageDriven;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.ObjectMessage;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
@MessageDriven(
activationConfig = { @<API key>(
propertyName = "destinationType", propertyValue = "javax.jms.Queue"
), @<API key>(propertyName="destination", propertyValue="queue/<API key>") })
public class StudyEmailMDB implements MessageListener {
private Configuration configuration = null;
private Template <API key> = null;
@EJB
private AuditService auditService;
@EJB
private SproutFormsService sproutFormsService;
@Override
public void onMessage(Message message) {
ObjectMessage objectMessage = (ObjectMessage) message;
try {
StudyInboxTO studyInboxTO = (StudyInboxTO) objectMessage.getObject();
if (studyInboxTO != null) {
int auditId = auditService.log(studyInboxTO.getSender().getUsername(), <API key>.AuditType.<API key>, <API key>.AuditVerbosity.INFO, "Sending Form Email", studyInboxTO.getCohortTO(), studyInboxTO.getCohortTO().<API key>(), studyInboxTO.getSubjectId(), String.format("Sending Form Email for instance, %s, from %s (%s) to %s (%s).", studyInboxTO.getInstanceId(), studyInboxTO.getSender().getFullName(), studyInboxTO.getSender().getUsername(), studyInboxTO.getRecipient().getFullName(), studyInboxTO.getRecipient().getUsername()));
Properties props = new Properties();
props.put("mail.smtp.host", System.getProperty("mail.smtp.host.partners", "smtp.partners.org"));
Session session = Session.getDefaultInstance(props, null);
MimeMessage mimeMessage = new MimeMessage(session);
mimeMessage.setFrom(new InternetAddress(studyInboxTO.getSender().getEmail()));
mimeMessage.setRecipients(MimeMessage.RecipientType.TO, InternetAddress.parse(studyInboxTO.getRecipient().getEmail()));
mimeMessage.setSubject(studyInboxTO.getSubject());
mimeMessage.setContent(<API key>(studyInboxTO), "text/html; charset=utf-8");
Transport.send(mimeMessage);
auditService.debug(auditId, "Email sent successfully.");
} else {
auditService.error("Sending Form Email failed; StudyInboxTO object is null.");
throw new JMSException("The StudyInboxTO object IS NULL.");
}
} catch (MessagingException e) {
auditService.error("Sending Form Email failed.", e);
// throw new RuntimeException(e);
} catch (JMSException e) {
auditService.error("Sending Form Email failed.", e);
}
}
private String <API key>(StudyInboxTO studyInboxTO) {
if (studyInboxTO != null && studyInboxTO.getRecipient() != null && StringUtils.isFull(studyInboxTO.getRecipient().getUsername(), studyInboxTO.getInstanceId())) {
if (<API key> == null) init();
if (<API key> != null) {
String nonce = sproutFormsService.applyForNonce(studyInboxTO.getRecipient().getUsername(), studyInboxTO.getInstanceId(), studyInboxTO.getSubjectName(), studyInboxTO.getSubjectId(), null, null, null);
if (nonce != null) {
Map<String, Object> emailFormBodyModel = new HashMap<String, Object>();
try {
emailFormBodyModel.put("recipientFullName", studyInboxTO.getRecipient().getFullName());
emailFormBodyModel.put("recipientFirstName", studyInboxTO.getRecipient().getFirstName());
emailFormBodyModel.put("senderFullName", studyInboxTO.getSender().getFullName());
emailFormBodyModel.put("messageText", studyInboxTO.getBody().replaceAll("\\\n", "<br/>"));
emailFormBodyModel.put("pickupUrl", constructPickupUrl(studyInboxTO.getInstanceId(), nonce));
emailFormBodyModel.put("sproutStudyUrl", <API key>());
Writer pageWriter = new StringWriter();
<API key>.process(emailFormBodyModel, pageWriter);
pageWriter.flush();
return pageWriter.toString();
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
return null;
}
private String constructPickupUrl(String instanceId, String nonce) {
if (StringUtils.isFull(instanceId, nonce)) {
return String.format("%s/prompt/?instanceId=%s&nonce=%s&debug=true&showThanks=false&trigger=study", System.getProperty("server.root.url", "https://scl30.partners.org:8443"), instanceId, nonce);
}
return null;
}
private String <API key>() {
return String.format("%s/sproutstudy", System.getProperty("server.root.url", "https://scl30.partners.org:8443"));
}
private void init() {
configuration = new Configuration();
configuration.setNumberFormat("0.
configuration.<API key>(this.getClass(), "/edu/harvard/mgh/lcs/sprout/forms/study/templates");
configuration.setObjectWrapper(new <API key>());
try {
<API key> = configuration.getTemplate("emailFormBody.ftl");
} catch (IOException e) {
e.printStackTrace();
}
}
} |
.<API key> > div {
display: inline-block;
margin-right: 10px;
} |
package com.tencent.mapsdkdemo;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
import com.tencent.mapsdk.raster.model.LatLng;
import com.tencent.mapsdk.raster.model.LatLngBounds;
import com.tencent.mapsdk.raster.model.Marker;
import com.tencent.mapsdk.raster.model.MarkerOptions;
import com.tencent.mapsdk.raster.model.PolygonOptions;
import com.tencent.tencentmap.mapsdk.map.MapActivity;
import com.tencent.tencentmap.mapsdk.map.MapView;
import com.tencent.tencentmap.mapsdk.map.Projection;
import com.tencent.tencentmap.mapsdk.map.TencentMap;
import com.tencent.tencentmap.mapsdk.map.TencentMap.OnMapClickListener;
public class ProjectionActivity extends MapActivity {
private TencentMap tencentMap;
private Projection mProjection;
private Button btnCalc;
private Button btnGetBounds;
private Button btnGetCustomBounds;
private LatLngBounds mLatLngBounds;
private LatLngBounds mCustomBounds;
private LatLng latLng1;
private LatLng latLng2;
private Marker marker1;
@Override
protected void onCreate(Bundle arg0) {
// TODO Auto-generated method stub
super.onCreate(arg0);
setContentView(R.layout.<API key>);
init();
}
private void init() {
MapView mapView = (MapView)findViewById(R.id.map);
mProjection = mapView.getProjection();
tencentMap = mapView.getMap();
btnCalc = (Button)findViewById(R.id.btn_calc);
btnGetBounds = (Button)findViewById(R.id.btn_add_bounds);
btnGetCustomBounds = (Button)findViewById(R.id.<API key>);
LatLng mapCenter = mapView.getMap().getMapCenter();
double offset = 0.05;
final LatLng swLatLng = new LatLng(mapCenter.getLatitude() - offset,
mapCenter.getLongitude() - offset);
final LatLng neLatLng = new LatLng(mapCenter.getLatitude() + offset,
mapCenter.getLongitude() + offset);
//LatLng[0]LatLng[1]
final LatLng[] custBounds = new LatLng[2];
btnCalc.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
if (btnCalc.getText().toString().equals("")) {
showToast("");
btnCalc.setText("");
} else {
if (latLng1 == null || latLng2 == null) {
showToast("");
return;
}
btnCalc.setText("");
showToast("" + mProjection.
distanceBetween(latLng1, latLng2));
latLng1 = null;
latLng2 = null;
tencentMap.clearAllOverlays();
}
}
});
btnGetBounds.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
if (btnCalc.getText().toString().equals("")) {
if (btnGetBounds.getText().toString().equals("")) {
mLatLngBounds = new LatLngBounds(swLatLng, neLatLng);
drawBounds(swLatLng, neLatLng);
showToast("");
btnGetCustomBounds.setEnabled(true);
btnGetBounds.setText("");
} else {
tencentMap.clearAllOverlays();
marker1 = null;
custBounds[0] = null;
custBounds[1] = null;
btnGetCustomBounds.setEnabled(false);
btnGetBounds.setText("");
btnGetCustomBounds.setText("");
}
}
}
});
btnGetCustomBounds.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
if (btnGetCustomBounds.getText().toString().equals("")) {
showToast("");
btnGetCustomBounds.setText("");
} else {
if (mLatLngBounds.intersects(mCustomBounds)) {
showToast("");
} else if (mLatLngBounds.contains(mCustomBounds)) {
showToast("");
} else {
showToast("");
}
btnGetCustomBounds.setEnabled(false);
btnGetCustomBounds.setText("");
}
}
});
tencentMap.<API key>(new OnMapClickListener() {
@Override
public void onMapClick(LatLng latlng) {
// TODO Auto-generated method stub
if (btnCalc.getText().toString().equals("")) {
if (latLng1 == null) {
latLng1 = latlng;
tencentMap.addMarker(new MarkerOptions().position(latlng));
showToast("latLng1: " + latLng1.toString());
return;
} else if (latLng2 == null) {
latLng2 = latlng;
tencentMap.addMarker(new MarkerOptions().position(latlng));
showToast("latLng2: " + latLng2.toString());
return;
}
} else if (btnGetBounds.getText().toString().equals("")
&& btnGetCustomBounds.getText().toString().equals("")) {
if (marker1 == null) {
marker1 = tencentMap.addMarker(new MarkerOptions().position(latlng));
} else {
marker1.setPosition(latlng);
}
if (mLatLngBounds.contains(latlng)) {
showToast("");
} else {
showToast("");
}
} else if (btnGetCustomBounds.getText().toString().equals("")) {
if (custBounds[0] == null) {
custBounds[0] = latlng;
showToast("");
} else if (custBounds[1] == null) {
if (isLatLngInSw(custBounds[0], latlng)) {
custBounds[1] = latlng;
} else if (isLatLngInNe(custBounds[0], latlng)) {
custBounds[1] = new LatLng(custBounds[0].getLatitude(), custBounds[0].getLongitude());
custBounds[0] = latlng;
} else if (isLatLngInSe(custBounds[0], latlng)) {
custBounds[1] = new LatLng(latlng.getLatitude(), custBounds[0].getLongitude());
custBounds[0] = new LatLng(custBounds[0].getLatitude(), latlng.getLongitude());
} else if (isLatLngInNw(custBounds[0], latlng)) {
custBounds[1] = new LatLng(custBounds[0].getLatitude(), latlng.getLongitude());
custBounds[0] = new LatLng(latlng.getLatitude(), custBounds[0].getLongitude());
} else {
showToast("");
return;
}
mCustomBounds = new LatLngBounds(custBounds[0], custBounds[1]);
drawBounds(custBounds[0], custBounds[1]);
}
}
}
});
}
private void drawBounds(LatLng sw, LatLng ne) {
LatLng nw = new LatLng(ne.getLatitude(), sw.getLongitude());
LatLng se = new LatLng(sw.getLatitude(), ne.getLongitude());
tencentMap.addPolygon(new PolygonOptions()
.add(nw)
.add(ne)
.add(se)
.add(sw)
.strokeWidth(0f)
.fillColor(0x550000ff));
}
/**
* latLng1latLng2
*/
private boolean isLatLngInSw(LatLng latLng1, LatLng latLng2) {
if (latLng1.getLatitude() < latLng2.getLatitude()
&& latLng1.getLongitude() < latLng2.getLongitude()) {
return true;
}
return false;
}
/**
* latLng1latLng2
*/
private boolean isLatLngInNe(LatLng latLng1, LatLng latLng2) {
if (latLng1.getLatitude() > latLng2.getLatitude()
&& latLng1.getLongitude() > latLng2.getLongitude()) {
return true;
}
return false;
}
/**
* latLng1latLng2
*/
private boolean isLatLngInNw(LatLng latLng1, LatLng latLng2) {
if (latLng1.getLatitude() > latLng2.getLatitude()
&& latLng1.getLongitude() < latLng2.getLongitude()) {
return true;
}
return false;
}
/**
* latLng1latLng2
*/
private boolean isLatLngInSe(LatLng latLng1, LatLng latLng2) {
if (latLng1.getLatitude() < latLng2.getLatitude()
&& latLng1.getLongitude() > latLng2.getLongitude()) {
return true;
}
return false;
}
private void showToast(String msg) {
Toast toast = Toast.makeText(this, msg, Toast.LENGTH_SHORT);
toast.show();
}
} |
OUYA-ANE
=====
Air Native Extension for OUYA |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies;
import java.util.Iterator;
import org.eclipse.emf.ecore.EAnnotation;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand;
import org.eclipse.gmf.runtime.emf.commands.core.command.<API key>;
import org.eclipse.gmf.runtime.emf.type.core.commands.<API key>;
import org.eclipse.gmf.runtime.emf.type.core.requests.<API key>;
import org.eclipse.gmf.runtime.emf.type.core.requests.<API key>;
import org.eclipse.gmf.runtime.emf.type.core.requests.<API key>;
import org.eclipse.gmf.runtime.notation.Edge;
import org.eclipse.gmf.runtime.notation.View;
import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.<API key>;
import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.<API key>;
import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts.EsbLinkEditPart;
import org.wso2.developerstudio.eclipse.gmf.esb.diagram.part.EsbVisualIDRegistry;
import org.wso2.developerstudio.eclipse.gmf.esb.diagram.providers.EsbElementTypes;
/**
* @generated
*/
public class <API key> extends
<API key> {
/**
* @generated
*/
public <API key>() {
super(EsbElementTypes.<API key>);
}
/**
* @generated
*/
protected Command <API key>(<API key> req) {
View view = (View) getHost().getModel();
<API key> cmd = new <API key>(
getEditingDomain(), null);
cmd.<API key>(false);
for (Iterator<?> it = view.getSourceEdges().iterator(); it.hasNext();) {
Edge outgoingLink = (Edge) it.next();
if (EsbVisualIDRegistry.getVisualID(outgoingLink) == EsbLinkEditPart.VISUAL_ID) {
<API key> r = new <API key>(
outgoingLink.getElement(), false);
cmd.add(new <API key>(r));
cmd.add(new DeleteCommand(getEditingDomain(), outgoingLink));
continue;
}
}
EAnnotation annotation = view.getEAnnotation("Shortcut"); //$NON-NLS-1$
if (annotation == null) {
// there are indirectly referenced children, need extra commands: false
<API key>(cmd, view);
// delete host element
cmd.add(new <API key>(req));
} else {
cmd.add(new DeleteCommand(getEditingDomain(), view));
}
return getGEFWrapper(cmd.reduce());
}
/**
* @generated
*/
protected Command <API key>(<API key> req) {
Command command = req.getTarget() == null ? <API key>(req)
: <API key>(req);
return command != null ? command : super
.<API key>(req);
}
/**
* @generated
*/
protected Command <API key>(
<API key> req) {
if (EsbElementTypes.EsbLink_4001 == req.getElementType()) {
return getGEFWrapper(new <API key>(req, req.getSource(),
req.getTarget()));
}
return null;
}
/**
* @generated
*/
protected Command <API key>(
<API key> req) {
if (EsbElementTypes.EsbLink_4001 == req.getElementType()) {
return null;
}
return null;
}
/**
* Returns command to reorient EClass based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command <API key>(
<API key> req) {
switch (getVisualID(req)) {
case EsbLinkEditPart.VISUAL_ID:
return getGEFWrapper(new <API key>(req));
}
return super.<API key>(req);
}
} |
using System;
using System.IO;
namespace <API key>
{
public class TreeEntry
{
public TreeEntry(FileSystemInfo fileSystemInfo)
{
FileSystemInfo = fileSystemInfo ?? throw new <API key>(nameof(fileSystemInfo));
IsDirectory = fileSystemInfo is DirectoryInfo;
Checked = true;
}
public bool IsDirectory { get; }
public FileSystemInfo FileSystemInfo { get; }
public bool Checked { get; set; }
}
} |
# <API key>: true
# <API key>: Apache-2.0
require 'securerandom'
require 'bunny'
require 'opentelemetry/sdk'
require 'pry'
require 'minitest/autorun'
# global opentelemetry-sdk setup:
EXPORTER = OpenTelemetry::SDK::Trace::Export::<API key>.new
SPAN_PROCESSOR = OpenTelemetry::SDK::Trace::Export::SimpleSpanProcessor.new(EXPORTER)
OpenTelemetry::SDK.configure do |c|
c.add_span_processor SPAN_PROCESSOR
end |
using UnityEngine;
using FYFY;
public class OrientationSystem : FSystem
{
private Family orbiteurs = FamilyManager.getFamily (new AllOfComponents (typeof(Rigidbody)), new AnyOfTags ("Orientable"));
// Use this to update member variables when system pause.
// Advice: avoid to update your families inside this function.
protected override void onPause (int currentFrame)
{
}
// Use this to update member variables when system resume.
// Advice: avoid to update your families inside this function.
protected override void onResume (int currentFrame)
{
}
// Use to process your families.
protected override void onProcess (int familiesUpdateCount)
{
foreach (GameObject go in orbiteurs) {
if (Input.GetKey (KeyCode.Z))
go.GetComponent<Rigidbody> ().AddRelativeTorque (Vector3.right / 8f, ForceMode.Acceleration);
if (Input.GetKey (KeyCode.S))
go.GetComponent<Rigidbody> ().AddRelativeTorque (-Vector3.right / 8f, ForceMode.Acceleration);
}
}
} |
local BasePlugin = require "kong.plugins.base_plugin"
local responses = require "kong.tools.responses"
local utils = require "kong.tools.utils"
local constants = require "kong.constants"
local singletons = require "kong.singletons"
local table_insert = table.insert
local table_concat = table.concat
local ngx_error = ngx.ERR
local ngx_log = ngx.log
local ipairs = ipairs
local empty = {}
local ACLHandler = BasePlugin:extend()
ACLHandler.PRIORITY = 1400
function ACLHandler:new()
ACLHandler.super.new(self, "acl")
end
local function <API key>(consumer_id)
local results, err = singletons.dao.acls:find_all {consumer_id = consumer_id}
if err then
return nil, err
end
return results
end
function ACLHandler:access(conf)
ACLHandler.super.access(self)
local consumer_id
local ctx = ngx.ctx
local <API key> = ctx.<API key>
if <API key> then
consumer_id = <API key>.id
end
if not consumer_id then
local <API key> = ctx.<API key>
if <API key> then
consumer_id = <API key>.consumer_id
end
end
if not consumer_id then
ngx_log(ngx_error, "[acl plugin] Cannot identify the consumer, add an ",
"authentication plugin to use the ACL plugin")
return responses.send_HTTP_FORBIDDEN("You cannot consume this service")
end
-- Retrieve ACL
local cache_key = singletons.dao.acls:cache_key(consumer_id)
local acls, err = singletons.cache:get(cache_key, nil,
<API key>, consumer_id)
if err then
responses.<API key>(err)
end
if not acls then
acls = {}
end
local block
if next(conf.blacklist or empty) and next(acls or empty) then
for _, v in ipairs(acls) do
if utils.table_contains(conf.blacklist, v.group) then
block = true
break
end
end
end
if next(conf.whitelist or empty) then
if not next(acls or empty) then
block = true
else
local contains
for _, v in ipairs(acls) do
if utils.table_contains(conf.whitelist, v.group) then
contains = true
break
end
end
if not contains then
block = true
end
end
end
if block then
return responses.send_HTTP_FORBIDDEN("You cannot consume this service")
end
-- Prepare header
local str_acls = {}
for _, v in ipairs(acls) do
table_insert(str_acls, v.group)
end
ngx.req.set_header(constants.HEADERS.CONSUMER_GROUPS, table_concat(str_acls, ", "))
end
return ACLHandler |
// <API key>.h
#import <Foundation/Foundation.h>
// There's no requirement to actually type these out for support, but it does make code more readable.
#pragma mark - <API key> Blocks
typedef NSInteger (^<API key>)(UIPickerView *pickerView, NSInteger component);
typedef NSInteger (^<API key>)(UIPickerView *pickerView);
#pragma mark - <API key> Blocks
typedef CGFloat (^<API key>)(UIPickerView *pickerView, NSInteger component);
typedef CGFloat (^<API key>)(UIPickerView *pickerView, NSInteger component);
typedef UIView *(^<API key>)(UIPickerView *pickerView, NSInteger row, NSInteger component, UIView *reusingView);
typedef NSString *(^<API key>)(UIPickerView *pickerView, NSInteger row, NSInteger component);
typedef void (^<API key>)(UIPickerView *pickerView, NSInteger row, NSInteger component);
/**
* Ad-hoc control delegate implementation.
* @TODO Add more delegate support
*/
@interface <API key> : NSProxy {
@private
NSMutableDictionary *blocks;
NSArray *protocols;
}
-(void)setBlock:(id)block forSelector:(SEL)selector;
-(id)initWithProtocols:(Protocol*)protocol,... <API key>;
-(id)<API key>:(UIPickerView *)pickerView;
-(id)init;
@end |
# AUTOGENERATED FILE
FROM balenalib/<API key>:3.12-build
ENV GO_VERSION 1.15.8
# set up nsswitch.conf for Go's "netgo" implementation
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
RUN mkdir -p /usr/local/go \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/golang/v$GO_VERSION/go$GO_VERSION.<API key>.tar.gz" \
&& echo "<SHA256-like> go$GO_VERSION.<API key>.tar.gz" | sha256sum -c - \
&& tar -xzf "go$GO_VERSION.<API key>.tar.gz" -C /usr/local/go --strip-components=1 \
&& rm -f go$GO_VERSION.<API key>.tar.gz
ENV GOROOT /usr/local/go
ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
WORKDIR $GOPATH
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/<SHA1-like>/scripts/assets/tests/test-stack@golang.sh" \
&& echo "Running test-stack@golang" \
&& chmod +x test-stack@golang.sh \
&& bash test-stack@golang.sh \
&& rm -rf test-stack@golang.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:
RUN echo $'#!/bin/bash\nbalena-info\nbusybox ln -sf /bin/busybox /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \
&& chmod +x /bin/sh-shim \
&& ln -f /bin/sh /bin/sh.real \
&& ln -f /bin/sh-shim /bin/sh |
# GDC Application Programming Interface (API) #
## Description ##
The GDC Application Programming Interface (API) is an external facing REST interface for querying and downloading GDC data, and submitting data to the GDC.
## Overview ##
The GDC API drives the GDC Data Portal, the GDC Submission Portal, and the GDC Data Transfer Tool (DTT) and is made accessible to external users for programmatic access to the same functionality found through GDC Portals. This includes searching, viewing, submitting and downloading subsets of data files, metadata, and annotations based on specific parameters. The GDC API also provides remote BAM slicing functionality that enables downloading of specific parts of a BAM file instead of the whole file.
Communicating with the GDC API involves making calls to API endpoints that represent specific API functionality:
* status- Get the API status and version information
* projects - Search all data generated by a project
* cases - Find all files related to a specific case, or sample donor
* files - Find all files with specific characteristics such as file_name, md5sum, data_format and others
* annotations - Search annotations added to data after curation
* data - Used to download GDC data
* manifest - Generates manifests for use with GDC Data Transfer Tool
* slicing - Allows remote slicing of BAM format objects
* submission - Returns the available resources at the top level above programs i.e., registered programs
The GDC API uses JSON as its communication format, and standard HTTP methods like GET, PUT, POST and DELETE.
## References ##
1. [GDC API](https://gdc.cancer.gov/developers/<API key>)
2. [GDC API User's Guide](https://docs.gdc.cancer.gov/API/Users_Guide/Getting_Started/)
## External Links ##
* [JSON](http:
Categories: Tool |
package scala.compat.java8.converterImpl
import scala.annotation.switch
import scala.compat.java8.collectionImpl._
import Stepper._
// Stepper implementations //
private[java8] class StepsAnyIndexedSeq[A](underlying: collection.IndexedSeqLike[A, _], _i0: Int, _iN: Int)
extends StepsLikeIndexed[A, StepsAnyIndexedSeq[A]](_i0, _iN) {
def next() = if (hasNext()) { val j = i0; i0 += 1; underlying(j) } else throwNSEE
def semiclone(half: Int) = new StepsAnyIndexedSeq[A](underlying, i0, half)
}
private[java8] class <API key>[CC <: collection.IndexedSeqLike[Double, _]](underlying: CC, _i0: Int, _iN: Int)
extends <API key>[<API key>[CC]](_i0, _iN) {
def nextDouble() = if (hasNext()) { val j = i0; i0 += 1; underlying(j) } else throwNSEE
def semiclone(half: Int) = new <API key>[CC](underlying, i0, half)
}
private[java8] class StepsIntIndexedSeq[CC <: collection.IndexedSeqLike[Int, _]](underlying: CC, _i0: Int, _iN: Int)
extends StepsIntLikeIndexed[StepsIntIndexedSeq[CC]](_i0, _iN) {
def nextInt() = if (hasNext()) { val j = i0; i0 += 1; underlying(j) } else throwNSEE
def semiclone(half: Int) = new StepsIntIndexedSeq[CC](underlying, i0, half)
}
private[java8] class StepsLongIndexedSeq[CC <: collection.IndexedSeqLike[Long, _]](underlying: CC, _i0: Int, _iN: Int)
extends <API key>[StepsLongIndexedSeq[CC]](_i0, _iN) {
def nextLong() = if (hasNext()) { val j = i0; i0 += 1; underlying(j) } else throwNSEE
def semiclone(half: Int) = new StepsLongIndexedSeq[CC](underlying, i0, half)
}
// Value class adapters //
final class <API key>[T](private val underlying: collection.IndexedSeqLike[T, _]) extends AnyVal with MakesStepper[T, EfficientSubstep] {
def stepper[S <: Stepper[_]](implicit ss: StepperShape[T, S]) = ((ss.shape: @switch) match {
case StepperShape.IntValue => new StepsIntIndexedSeq (underlying.asInstanceOf[collection.IndexedSeqLike[Int, _]], 0, underlying.length)
case StepperShape.LongValue => new StepsLongIndexedSeq (underlying.asInstanceOf[collection.IndexedSeqLike[Long, _]], 0, underlying.length)
case StepperShape.DoubleValue => new <API key>(underlying.asInstanceOf[collection.IndexedSeqLike[Double, _]], 0, underlying.length)
case _ => ss.parUnbox(new StepsAnyIndexedSeq[T](underlying, 0, underlying.length))
}).asInstanceOf[S with EfficientSubstep]
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Wed Jun 10 23:21:18 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.apache.solr.morphlines.cell.<API key> (Solr 5.2.1 API)</title>
<meta name="date" content="2015-06-10">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.solr.morphlines.cell.<API key> (Solr 5.2.1 API)";
}
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="topNav"><a name="navbar_top">
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../../../../../../org/apache/solr/morphlines/cell/package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/solr/morphlines/cell/<API key>.html" title="class in org.apache.solr.morphlines.cell">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/solr/morphlines/cell/class-use/<API key>.html" target="_top">Frames</a></li>
<li><a href="<API key>.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip-navbar_top">
</a></div>
<div class="header">
<h2 title="Uses of Class org.apache.solr.morphlines.cell.<API key>" class="title">Uses of Class<br>org.apache.solr.morphlines.cell.<API key></h2>
</div>
<div class="classUseContainer">No usage of org.apache.solr.morphlines.cell.<API key></div>
<div class="bottomNav"><a name="navbar_bottom">
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="<API key>">
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../../../../../../org/apache/solr/morphlines/cell/package-summary.html">Package</a></li>
<li><a href="../../../../../../org/apache/solr/morphlines/cell/<API key>.html" title="class in org.apache.solr.morphlines.cell">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/solr/morphlines/cell/class-use/<API key>.html" target="_top">Frames</a></li>
<li><a href="<API key>.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip-navbar_bottom">
</a></div>
<p class="legalCopy"><small>
<i>Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.</i>
<script src='../../../../../../prettify.js' type='text/javascript'></script>
<script type='text/javascript'>
(function(){
var oldonload = window.onload;
if (typeof oldonload != 'function') {
window.onload = prettyPrint;
} else {
window.onload = function() {
oldonload();
prettyPrint();
}
}
})();
</script>
</small></p>
</body>
</html> |
package query
import (
"encoding/json"
"fmt"
"github.com/astaxie/beego"
"github.com/hyperledger/fabric-sdk-go/apiServer/models/fabric/query"
)
// Operations about QueryInfo
type QueryInfoController struct {
beego.Controller
}
// @Title QueryInfo
// @Description Query Info
// @Param body body query.QueryInfoArgs true "body for Query BlockChain Info"
// @Success 200 {string} string
// @Failure 403 body is empty
// @router / [post]
func (u *QueryInfoController) Post() {
var req query.QueryInfoArgs
err := json.Unmarshal(u.Ctx.Input.RequestBody, &req)
if err != nil {
fmt.Printf("Unmarshal failed [%s]", err)
}
fmt.Println(req)
action, err := query.NewQueryInfoAction(&req)
if err != nil {
u.Data["json"] = err.Error()
} else {
resp, err := action.Execute()
if err != nil {
u.Data["json"] = err.Error()
} else {
u.Data["json"] = resp
}
}
u.ServeJSON()
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Maths\<API key> | Maths</title>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="../css/sami.css">
<script src="../js/jquery-1.11.1.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/typeahead.min.js"></script>
<script src="../sami.js"></script>
<meta name="MobileOptimized" content="width">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
</head>
<body id="class" data-name="class:<API key>" data-root-path="../">
<div id="content">
<div id="left-column">
<div id="control-panel">
<form id="search-form" action="../search.html" method="GET">
<span class="glyphicon glyphicon-search"></span>
<input name="search"
class="typeahead form-control"
type="search"
placeholder="Search">
</form>
</div>
<div id="api-tree"></div>
</div>
<div id="right-column">
<nav id="site-nav" class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">Maths</a>
</div>
<div class="collapse navbar-collapse" id="navbar-elements">
<ul class="nav navbar-nav">
<li><a href="../classes.html">Classes</a></li>
<li><a href="../namespaces.html">Namespaces</a></li>
<li><a href="../interfaces.html">Interfaces</a></li>
<li><a href="../traits.html">Traits</a></li>
<li><a href="../doc-index.html">Index</a></li>
<li><a href="../search.html">Search</a></li>
</ul>
</div>
</div>
</nav>
<div class="<API key>">
<ol class="breadcrumb">
<li><span class="label label-default">interface</span></li>
<li><a href="../Maths.html">Maths</a></li>
<li><API key></li>
</ol>
</div>
<div id="page-content">
<div class="page-header">
<h1><API key></h1>
</div>
<p> interface
<strong><API key></strong> implements
<a href="../Maths/CartesianInterface.html"><abbr title="Maths\CartesianInterface">CartesianInterface</abbr></a>
</p>
<div class="description">
<p>Basic 1D objects interface</p> </div>
<h2>Methods</h2>
<div class="container-fluid underlined">
<div class="row">
<div class="col-md-2 type">
bool
</div>
<div class="col-md-8 type">
<a href="#method_isValidPoint">isValidPoint</a>(
<abbr title="Maths\Maths\PointInterface">PointInterface</abbr> $a)
<p>Test if point A is part of the object</p> </div>
<div class="col-md-2"><small>from
<a href="../Maths/CartesianInterface.html#method_isValidPoint"><abbr title="Maths\CartesianInterface">CartesianInterface</abbr></a></small></div>
</div>
<div class="row">
<div class="col-md-2 type">
mixed
</div>
<div class="col-md-8 type">
<a href="#method_getDistance">getDistance</a>()
<p>Get the distance between the two points of the objects</p> </div>
<div class="col-md-2"></div>
</div>
</div>
<h2>Details</h2>
<div id="method-details">
<div class="method-item">
<h3 id="method_isValidPoint">
<div class="location">in
<a href="../Maths/CartesianInterface.html#method_isValidPoint"><abbr title="Maths\CartesianInterface">CartesianInterface</abbr></a> at line 41</div>
<code>
bool
<strong>isValidPoint</strong>(
<abbr title="Maths\Maths\PointInterface">PointInterface</abbr> $a)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Test if point A is part of the object</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
<abbr title="Maths\Maths\PointInterface">PointInterface</abbr></td>
<td>$a</td>
<td>
</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
bool</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getDistance">
<div class="location">at line 39</div>
<code>
mixed
<strong>getDistance</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the distance between the two points of the objects</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
mixed</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
Generated by <a href="http://sami.sensiolabs.org/">Sami, the API Documentation Generator</a>.
</div>
</div>
</div>
</body>
</html> |
/**
* Thread Switching Functions for the Cortex M4 & M7 with hardware floating point
*
* Use the EABI calling standard (ARM's AAPCS) - Save r4 - r11 and floating point
* The context is saved at the current stack location and a pointer is maintained in the thread structure.
*/
#if !CORTEX_USE_FPU
#warning "GOS Threads: You have specified GFX_CPU=GFX_CPU_CORTX_M?_FP with hardware floating point support but CORTEX_USE_FPU is FALSE. Try using <API key>? instead"
#endif
#if GFX_COMPILER == GFX_COMPILER_GCC || GFX_COMPILER == GFX_COMPILER_CYGWIN || GFX_COMPILER == <API key> || GFX_COMPILER == <API key>
#define GFX_THREADS_DONE
#define _gfxThreadsInit()
static __attribute__((pcs("aapcs-vfp"),naked)) void _gfxTaskSwitch(thread *oldt, thread *newt) {
__asm__ volatile ( "push {r4, r5, r6, r7, r8, r9, r10, r11, lr} \n\t"
"vpush {s16-s31} \n\t"
"str sp, %[oldtcxt] \n\t"
"ldr sp, %[newtcxt] \n\t"
"vpop {s16-s31} \n\t"
"pop {r4, r5, r6, r7, r8, r9, r10, r11, pc} \n\t"
: [newtcxt] "=m" (newt->cxt)
: [oldtcxt] "m" (oldt->cxt)
: "memory");
}
static __attribute__((pcs("aapcs-vfp"),naked)) void _gfxStartThread(thread *oldt, thread *newt) {
newt->cxt = (char *)newt + newt->size;
__asm__ volatile ( "push {r4, r5, r6, r7, r8, r9, r10, r11, lr} \n\t"
"vpush {s16-s31} \n\t"
"str sp, %[oldtcxt] \n\t"
"ldr sp, %[newtcxt] \n\t"
: [newtcxt] "=m" (newt->cxt)
: [oldtcxt] "m" (oldt->cxt)
: "memory");
// Run the users function
gfxThreadExit(_gfxCurrentThread->fn(_gfxCurrentThread->param));
}
#elif GFX_COMPILER == GFX_COMPILER_KEIL || GFX_COMPILER == GFX_COMPILER_ARMCC
static __asm void _gfxTaskSwitch(thread *oldt, thread *newt) {
// Save the old context
push {r4, r5, r6, r7, r8, r9, r10, r11, lr}
vpush {s16-s31}
str sp, [r0,#__cpp(offsetof(thread,cxt))] // oldt->cxt
// Load the new context
ldr sp, [r1,#__cpp(offsetof(thread,cxt))] // newt->cxt
vpop {s16-s31}
pop {r4, r5, r6, r7, r8, r9, r10, r11, pc}
}
static __asm void _gfxStartThread(thread *oldt, thread *newt) {
// Calculate where to generate the new context
// newt->cxt = (char *)newt + newt->size;
ldr r2,[r1,#__cpp(offsetof(thread,size))]
add r2,r2,r1
str r2,[r1,#__cpp(offsetof(thread,cxt))]
// Save the old context
push {r4, r5, r6, r7, r8, r9, r10, r11, lr}
vpush {s16-s31}
str sp, [r0,#__cpp(offsetof(thread,cxt))] // oldt->cxt
// Load the new (imcomplete) context
ldr sp, [r1,#__cpp(offsetof(thread,cxt))] // newt->cxt
// Run the users function - we save some code because gfxThreadExit() never returns
// gfxThreadExit(_gfxCurrentThread->fn(_gfxCurrentThread->param));
ldr r2,__cpp(&_gfxCurrentThread)
ldr r2,[r2,
ldr r0,[r2,#__cpp(offsetof(thread,param))]
ldr r1,[r2,#__cpp(offsetof(thread,fn))]
blx r1
mov r4,r0
bl __cpp(gfxThreadExit)
}
#else
#warning "GOS: Threads: You have specified a specific CPU but your compiler is not supported. Defaulting to CLIB switching"
#endif |
package com.mridang.speedo;
import android.annotation.TargetApi;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.PowerManager;
import android.preference.PreferenceManager;
import android.util.Log;
/**
* Broadcast receiver class to help start or stop the traffic monitoring service when the phone's
* battery saver mode is enabled or disabled
*/
public class PowerReceiver extends BroadcastReceiver {
/**
* Receiver method for the phone boot that starts the traffic monitoring service
*/
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
@Override
public void onReceive(Context appContext, Intent bootIntent) {
Log.v("BatteryReceiver", "Received a power intent");
if (PreferenceManager.<API key>(appContext).getBoolean("enabled", true) &&
PreferenceManager.<API key>(appContext).getBoolean("lowpower", false)) {
PowerManager mgrPower = (PowerManager) appContext.getSystemService(Context.POWER_SERVICE);
if (mgrPower.isPowerSaveMode()) {
Log.i("BatteryReceiver", "Power saving mode enabled. Stopping service");
appContext.stopService(new Intent(appContext, TrafficService.class));
} else {
Log.i("BatteryReceiver", "Power saving mode disabled. Starting service");
appContext.startService(new Intent(appContext, TrafficService.class));
}
}
}
} |
var editor;
function <API key>(e) {
var result, that = this;
var _parseOldModule = function (input) {
var output = _.merge(input, input['container']);
delete output.container;
return output;
};
this.registerRemoveEvent = function () {
return $('form#module-form #library-forms .library-form span.remove, form#module-form #field-forms .field-form span.remove').on('click', function () {
$(this)
.parent()
.parent()
.parent()
.parent()
.parent()
.remove();
});
};
this.initFields = function (fields) {
$('#field-forms').html('');
if (!fields || fields.length === 0) {
return;
}
for (var i = 0; i < fields.length; i++) {
var form = handleAddField();
$(form).find('input#name-field').val(fields[i]['name']);
$(form).find('input#label-field').val(fields[i]['label']);
$(form).find('select#type-field').val(fields[i]['type']);
$(form).find('select#required-field').val(Boolean(fields[i]['required']).toString());
$(form).find('select#var-field').val(Boolean(fields[i]['wirable']).toString());
if (fields[i]['elementType'] != null) {
$(form).find('select#elementType-field').val(fields[i]['elementType']['name']);
}
$(form).find('select#type-field').trigger('change');
}
that.registerRemoveEvent();
return 0;
};
this.initLibraries = function (libraries) {
$('#library-forms').html('');
if (!libraries || libraries.length === 0) {
return;
}
for (var i = 0; i < libraries.length; i++) {
var form = handleAddLibrary();
$(form).find('input#name-library').val(libraries[i]['name']);
$(form).find('input#url-library').val(libraries[i]['url']);
}
that.registerRemoveEvent();
return 0;
};
this.moduleProcessor = function (input) {
$('form#module-form input#versionTag').val(input.versionTag);
$('form#module-form input#name').val(input.name);
$('form#module-form select#type').val(input.type);
if (input.sourceCodeUrl != null) {
$('form#module-form input#code-url').val(input.sourceCodeUrl);
} else {
$('form#module-form input#code-url').val(input.codeURL);
}
$('form#module-form textarea#description').val(input.description);
if (input.language) {
$('form#module-form select#language').val(input.language.toLowerCase());
}
$('form#module-form textarea#code').val(input.sourceCode);
if (input.sourceType) {
input.sourceType = input.sourceType.toLowerCase() == "local" ? "template" : input.sourceType;
$('form#module-form select#source-type').val(input.sourceType.toLowerCase());
}
window.ModuleInit.code = { code: input.sourceCode };
$('form#module-form select#source-type').trigger('change');
$('form#module-form input#singleton').prop('checked',
Boolean(input.singleton instanceof String ? !Boolean(input.singleton) : input.singleton) ? false : 'checked');
if (input.ticktuple) {
$('form#module-form #ticktuple-form input#name-field').val(input.ticktuple.name);
$('form#module-form #ticktuple-form input#label-tuple').val(input.ticktuple.label);
$('form#module-form #ticktuple-form select#type-field').val(input.ticktuple.type);
$('form#module-form #ticktuple-form select#required-field').val(input.ticktuple.required.toString());
$('form#module-form #ticktuple-form select#var-tuple').val(input.ticktuple.wirable);
$('#ticktuple-collapse').collapse('show');
} else {
$('form#module-form #ticktuple-form input#name-field').val('');
$('form#module-form #ticktuple-form input#label-tuple').val('');
$('form#module-form #ticktuple-form select#type-field').val('string');
$('form#module-form #ticktuple-form select#required-field').val('false');
$('form#module-form #ticktuple-form select#var-tuple').val('false');
$('#ticktuple-collapse').collapse('hide');
}
// Update Icon
handleIconModule();
// Fields
that.initFields(input.fields);
// Libraries
that.initLibraries(input.libraries);
};
this.process = function (e) {
try {
result = JSON.parse(e.target.result);
if (result['container']) {
result = _parseOldModule(result);
}
that.moduleProcessor(result);
} catch (err) {
console.error(err);
}
};
if (e != undefined) {
this.process(e)
}
return this;
}
function changeVersion(name) {
var selected = $('#version').val();
window.location = $('#version option[value="'+selected+'"').attr('data-url');
}
function handleFileSelect(file) {
var fReader = new FileReader();
var moduleProcess = new <API key>();
file = $(file)[0]['files'][0];
fReader.onload = moduleProcess.process;
fReader.readAsText(file);
}
function handleAddField() {
var _setName = function (form, index) {
return $(form)
.attr('name', $(form).attr('name').replace(/\[X\]/, '[' + index + ']'));
};
// NOTE: Get Index before to update it. this is importar because the htm code is appended by js.
var index = $('#help-zone #data').data('fields-size');
$('#help-zone #data').data('fields-size', parseInt(index, 10) + 1);
// Copy original form and change form's id.
var form = $('div#help-zone #form-model-field')
.clone()
.attr('id', 'field-' + index);
// Set it the index into array
form
.find('input, select')
.each(function () {
_setName(this, index);
});
$('form#module-form #field-forms').append(form);
new <API key>().registerRemoveEvent();
return form;
}
function handleAddLibrary() {
var _setName = function (form, index) {
return $(form)
.attr('name', $(form).attr('name').replace(/\[X\]/, '[' + index + ']'));
};
// NOTE: Get Index before to update it. this is importar because the htm code is appended by js.
var index = $('#help-zone #data').data('libraries-size');
$('#help-zone #data').data('libraries-size', parseInt(index, 10) + 1);
var form = $('div#help-zone #form-model-library')
.clone()
.attr('id', 'library-' + index);
form
.find('input, select')
.each(function () {
_setName(this, index);
});
$('form#module-form #library-forms').append(form);
new <API key>().registerRemoveEvent();
return form;
}
function handleIconModule(file) {
var basePath = '/public/images/modules/';
if (file != null) {
// Read icon file
var fReader = new FileReader();
file = $(file)[0]['files'][0];
fReader.onload = function(e) {
$('form#module-form #icon-preview img').attr('src', e.target.result);
}
fReader.readAsDataURL(file);
} else if ($('form#module-form #icon-preview img').size() > 0 &&
$('form#module-form #icon-preview img').attr('src').match("^"+basePath)) {
// Set example icon
switch ($('form#module-form select#type').val()) {
case 'drain':
$('form#module-form #icon-preview img').attr('src', basePath + 'drain-big.png');
break;
case 'bolt':
$('form#module-form #icon-preview img').attr('src', basePath + 'bolt-big.png');
break;
default:
$('form#module-form #icon-preview img').attr('src', basePath + 'spout-big.png');
}
}
}
function setStarVote(rate, color) {
var stars = $('li[data-value] i');
for (i=0; i < stars.length; i++) {
if ((i+1) <= rate) {
$(stars[i]).html('star');
if (color) $(stars[i]).addClass('star-vote-color');
else $(stars[i]).removeClass('star-vote-color');
} else if ((i+0.5) <= rate) {
$(stars[i]).html('star_half');
if (color) $(stars[i]).addClass('star-vote-color');
else $(stars[i]).removeClass('star-vote-color');
} else {
$(stars[i]).html('star_border');
$(stars[i]).removeClass('star-vote-color');
}
}
}
function handleVote(elem, rate) {
// Reset class for the user have been selected something before.
var orig = $(elem).parent().attr('data-value');
setStarVote(orig, false);
if (!$(elem).parent().attr('data-orig')) {
$(elem).parent().attr('data-orig', orig);
}
$(elem).parent().attr('data-value', rate);
// Mark all stars that have a value less and equal than current rate.
setStarVote(rate, true);
// Show the form for add a message.
$('form.form-vote')
.show()
.find('input.rate')
.val(rate);
}
function cancelVote() {
$('form.form-vote').hide();
// Reset class for the user have been selected something before.
var orig = $('.vote-section ul').attr('data-orig');
setStarVote(orig, false);
$('.vote-section ul').attr('data-value', orig);
$('.vote-section ul').removeAttr('data-orig');
}
function handleComplain() {
// Show the form for add a message.
$('form.form-complain').show();
}
function cancelComplain() {
$('form.form-complain').hide();
}
function <API key>(elem, name, language, type, isReadOnly, code) {
var id = $(elem).data('target');
if (!this.editor) {
initCodeMirror($('#code')[0]);
}
this.editor.setOption('readOnly', isReadOnly);
if(!name) name = $('form#module-form input#name').val();
if(!type) type = $('form#module-form select#type').val();
if(!language) language = $('form#module-form select#language').val();
if(!name || !type || !language) return;
try {
if (window.ModuleInit.code.code && $('#module-form select#source-type').val() == 'template') {
code = window.ModuleInit.code.code;
}
} catch (e) {}
if (!code) {
_template = new TemplateCode(name, language, type, code);
code = _template.code;
$('form#module-form input#name').val(_.upperFirst(_.camelCase(name)));
} else {
var decodedSourceCode = window.atob(code);
code = decodedSourceCode;
}
this.editor.setValue(code);
var that = this;
setTimeout(function() {
that.editor.refresh();
},1);
}
function handleSourceCode() {
var source = $('#module-form select#source-type').val();
var selector, isEdit;
if (source === 'template') {
isEdit = true;
selector = '#<API key>';
$('#collapseCode').collapse('show');
$('#module-form').find(selector).show();
$('#module-form #<API key>').hide();
$('#module-form #code-url').prop('required', '');
$('#module-form #code-url').val('');
} else {
isEdit = false;
selector = '#<API key>';
$('#collapseCode').collapse('hide');
$('#module-form #<API key>').hide();
$('#module-form').find(selector).show();
$('#module-form #code-url').prop('required', 'required');
$('#module-form #code').prop('required', '');
$('#module-form #code').val('');
if (this.editor) {
this.editor.setValue('');
var that = this;
setTimeout(function() {
that.editor.refresh();
},1);
}
}
//Init CodeMirror
if ($('#code') && $('#code').is(':visible') && !this.editor) {
initCodeMirror($('#code')[0]);
}
if (source === 'template') {
<API key>(selector + ' button', undefined, undefined, undefined, !isEdit);
}
}
function handleFieldType(select) {
console.log($(select).val())
if ($(select).val() == "list") {
$(select).parent().parent().parent().find('.vars').hide();
$(select).parent().parent().parent().find('.elementType').show();
} else {
$(select).parent().parent().parent().find('.vars').show();
$(select).parent().parent().parent().find('.elementType').hide();
}
}
function initCodeMirror(field) {
this.editor = CodeMirror.fromTextArea(field, {
lineNumbers: true,
continuousScanning: 500,
height: "350px",
mode: "javascript"
});
var that = this;
setTimeout(function() {
that.editor.refresh();
},1);
}
/**
* DOM is ready!
*/
(function () {
$(document).ready(function () {
$('form#module-form').submit(function (e) {
if ($('#type').attr('disabled')) {
$('#type').removeAttr('disabled');
}
if ($('#language').attr('disabled')) {
$('#language').removeAttr('disabled');
}
// Recalculate fields ids
$('#field-forms>div').each(function(index) {
$(this).attr('id', 'field-'+index);
$(this).find('#name-field').attr('name','version.fields.fields['+index+'].name');
$(this).find('#label-field').attr('name','version.fields.fields['+index+'].label');
$(this).find('#type-field').attr('name','version.fields.fields['+index+'].type');
$(this).find('#required-field').attr('name','version.fields.fields['+index+'].required');
$(this).find('#var-field').attr('name','version.fields.fields['+index+'].wirable');
$(this).find('#elementType-field').attr('name','version.fields.fields['+index+'].elementTypeEnum');
});
// Recalculate library ids
$('#library-forms>div').each(function(index) {
$(this).attr('id', 'library-'+index);
$(this).find('#name-library').attr('name','version.libraries.libraries['+index+'].name');
$(this).find('#url-library').attr('name','version.libraries.libraries['+index+'].url');
});
var f = new FormTools(this);
if (!f.validate()) {
e.preventDefault();
e.stopPropagation();
}
});
/**
* This is for show the button for upload the document to import.
*/
$('button#import-btn').click(function () {
$('#import-doc').toggle();
});
/**
* Update template view.
*/
$('#module-form input#name, #module-form select#type, #module-form select#language').focus(function () {
this.oldValue = this.value;
});
$('#module-form input#name, #module-form select#type, #module-form select#language').change(function () {
<API key>(this);
});
/**
* TickTuple
*/
if ($('#ticktuple-form input#label-tuple').val() && $('#ticktuple-form input#label-tuple').val().length > 0) {
$('#ticktuple-collapse').collapse('show');
}
// Events
$('#ticktuple-collapse').on('hide.bs.collapse', function () {
$('#ticktuple-form input#label-tuple').val('');
});
/**
* NOTE: This is very important. Here the module would be init. This have a special importance when
* module is edited!!!
*/
handleSourceCode();
handleIconModule();
if (window.ModuleInit) {
var moduleProcessor = new <API key>();
moduleProcessor.initFields(ModuleInit.fields || []);
moduleProcessor.initLibraries(ModuleInit.libraries || []);
}
/**
* Vote star
*/
$('.star-vote').hover(
function(evt) {
var index = $(evt.target).parent().attr('data-value');
var stars = $('li[data-value] i');
for (i=0; i < stars.length; i++) {
if ((i+1) <= index) {
$(stars[i]).html('star');
}
}
},
function(evt) {
var rate = $(evt.target).parent().parent().attr('data-value');
var orig = $(evt.target).parent().parent().attr('data-orig');
setStarVote(rate, orig != null);
}
);
setStarVote($('.vote-section ul').attr('data-value'), false);
// Disable inputs in form
$('#language').ready(function() {
if ($('#name').attr('readonly')) {
$('#language').attr('disabled', 'disabled');
}
});
$('#type').ready(function() {
if ($('#name').attr('readonly')) {
$('#type').attr('disabled', 'disabled');
}
})
});
})(); |
(function($){
/**
CONFIGURATION:
Define the size of our background image
*/
var bgImageSize = {
width : 640,
height : 426
};
/* END CONFIGURATION */
if ((function(){
var el = document.createElement('div'),
bs = 'backgroundSize',
ubs = bs.charAt(0).toUpperCase() + bs.substr(1),
props = [bs, 'Webkit' + ubs, 'Moz' + ubs, 'O' + ubs];
for ( var i in props ) {
if ( el.style[props[i]] !== undefined ) {
return true;
}
}
return false;
}())) {
return;
};
/**
We also want to leave IE6 and below out in the cold with this
*/
if ( $.browser.msie && parseInt($.browser.version, 10) <= 6 ) {
return;
}
/**
If we've gotten here, we don't have background-size support,
so we'll have to mimic it with Javascript.
Let's set up some variables
*/
var $window = $(window),
imageID = 'expando',
tallClass = 'tall',
wideClass = 'wide',
$body, $bgImage, $wrapper, img, url, imgAR,
/*
Now we can move on with the core functionality of Flexibackground
*/
initialize = function() {
// No need for any of this if the screen isn't bigger than the background image
if (screen.availWidth <= bgImageSize.width && screen.availHeight <= bgImageSize.height) {
return;
}
// Grab elements we'll reference throughout
$body = $('body');
// Parse out the URL of the background image and drop out if we don't have one
url = $body.css('backgroundImage').replace(/^url\(("|')?|("|')?\);?$/g, '') || false;
if (!url || url === "none" || url === "") {
return;
}
// Get the aspect ratio of the image
imgAR = bgImageSize.width / bgImageSize.height;
// Create a new image element
$bgImage = $(document.createElement('img'))
.attr('src', url)
.attr('id', imageID);
// Create a wrapper and append the image to it.
// The wrapper ensures we don't get scrollbars.
$wrapper = $(document.createElement('div'))
.css({
'overflow' : 'hidden',
'position' : 'fixed',
'width' : '100%',
'height' : '100%',
'top' : '0',
'left' : '0',
'z-index' : '-1'
});
$body.append(
$wrapper.append($bgImage)
);
// Set up a resize listener to add/remove classes from the body
$(window)
.resize(resizeAction)
// roll it out by triggering a resize
.trigger('resize');
},
/**
Set up the action that happens on resize
*/
resizeAction = function() {
var win = {
height : $window.height(),
width : $window.width()
},
// The current aspect ratio of the window
winAR = win.width / win.height;
// Determine if we need to show the image and whether it needs to stretch tall or wide
if (win.width < bgImageSize.width && win.height < bgImageSize.height) {
$body.removeClass(wideClass + ' ' + tallClass);
} else if (winAR < imgAR) {
$body
.removeClass(wideClass)
.addClass(tallClass);
// Center the image
$bgImage.css('left', Math.min(((win.width - bgImageSize.width) / 2), 0));
} else if (winAR > imgAR) {
$body
.addClass(wideClass)
.removeClass(tallClass);
$bgImage.css('left', 0);
}
};
// When the document is ready, run this thing.
$(document).ready(initialize);
})(jQuery); |
var searchData=
[
['qlsq',['QLSQ',['../a02706.html',1,'QLSQ'],['../a02706.html#<API key>',1,'QLSQ::QLSQ()']]],
['qrsequence_2eh',['qrsequence.h',['../a00593.html',1,'']]],
['qrsequencegenerator',['QRSequenceGenerator',['../a02922.html',1,'QRSequenceGenerator'],['../a02922.html#<API key>',1,'QRSequenceGenerator::QRSequenceGenerator()']]],
['qspline',['QSPLINE',['../a02714.html',1,'QSPLINE'],['../a02714.html#<API key>',1,'QSPLINE::QSPLINE()'],['../a02714.html#<API key>',1,'QSPLINE::QSPLINE(const QSPLINE &src)'],['../a02714.html#<API key>',1,'QSPLINE::QSPLINE(inT32 count, inT32 *xstarts, double *coeffs)'],['../a02714.html#<API key>',1,'QSPLINE::QSPLINE(int xstarts[], int segcount, int xcoords[], int ycoords[], int blobcount, int degree)']]],
['qspline_5fprecision',['QSPLINE_PRECISION',['../a00413.html#<API key>',1,'quspline.cpp']]],
['quad_5fcoeffs',['QUAD_COEFFS',['../a02710.html',1,'QUAD_COEFFS'],['../a02710.html#<API key>',1,'QUAD_COEFFS::QUAD_COEFFS()'],['../a02710.html#<API key>',1,'QUAD_COEFFS::QUAD_COEFFS(double xsq, float x, float constant)']]],
['quadlsq_2ecpp',['quadlsq.cpp',['../a00404.html',1,'']]],
['quadlsq_2eh',['quadlsq.h',['../a00407.html',1,'']]],
['quadratc_2eh',['quadratc.h',['../a00410.html',1,'']]],
['<API key>',['<API key>',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['quality_5fblob_5fpc',['quality_blob_pc',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['quality_5fchar_5fpc',['quality_char_pc',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['<API key>',['<API key>',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['<API key>',['quality_outline_pc',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['<API key>',['<API key>',['../a02734.html#<API key>',1,'REJMAP']]],
['quality_5frej_5fpc',['quality_rej_pc',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['<API key>',['quality_rowrej_pc',['../a02478.html#<API key>',1,'tesseract::Tesseract']]],
['queryinsearch',['QueryInSearch',['../a00776.html#<API key>',1,'kdtree.h']]],
['quit_5fcmd_5fevent',['QUIT_CMD_EVENT',['../a00158.html#<API key>',1,'pgedit.cpp']]],
['quote_5fit',['QUOTE_IT',['../a00506.html#<API key>',1,'QUOTE_IT(): clst.h'],['../a00515.html#<API key>',1,'QUOTE_IT(): elst.h'],['../a00521.html#<API key>',1,'QUOTE_IT(): elst2.h'],['../a00605.html#<API key>',1,'QUOTE_IT(): serialis.h']]],
['quoted_5ftokensize',['QUOTED_TOKENSIZE',['../a00701.html#<API key>',1,'clusttool.cpp']]],
['quspline_2ecpp',['quspline.cpp',['../a00413.html',1,'']]],
['quspline_2eh',['quspline.h',['../a00416.html',1,'']]]
]; |
package ru.job4j.nonblock;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Task non blocking cache.
*
* @author Dmitriy Bobrov (bobrov.dmitriy@gmail.com)
* @since 08.11.2017
* @param <K>
* @param <V>
*/
public class Cache<K, V extends Model> {
/**
* Non Blocking cache.
*/
private Map<K, V> cache = new ConcurrentHashMap<>();
/**
* Add.
*
* @param key key.
* @param value value.
*/
public void add(K key, V value) {
this.cache.putIfAbsent(key, value);
}
/**
* Delete by key.
* @param key key.
*/
public void delete(K key) {
cache.remove(key);
}
/**
* Update value.
*
* @param key key.
* @param value value.
* @return Value.
* @throws OptimisticException Exception.
*/
public V update(K key, V value) throws OptimisticException {
return this.cache.computeIfPresent(key, (k, v) -> {
if (v.getVersion() == value.getVersion()) {
value.increment();
return value;
} else {
throw new OptimisticException("Error when update");
}
});
}
/**
* Get value by key.
*
* @param key key.
* @return Value.
*/
public V get(K key) {
return this.cache.getOrDefault(key, null);
}
} |
package codingbat.warmup1;
public final class Makes10 {
public boolean makes10(int a, int b) {
return (a == 10 || b == 10) || a + b == 10;
}
} |
# tc_each_byte.rb
# Test case for the String#each_byte instance method.
require 'test/unit'
class <API key> < Test::Unit::TestCase
def setup
@string = "hello\n"
@array = []
end
def <API key>
assert_respond_to(@string, :each_byte)
<API key>{ @string.each_byte{ } }
assert_kind_of(String, @string.each_byte{ })
end
def test_each_byte
<API key>{ @string.each_byte{ |b| @array << b } }
assert_equal([104, 101, 108, 108, 111, 10], @array)
end
def <API key>
<API key>{ ''.each_byte{ |b| @array << b } }
assert_equal([], @array)
end
def <API key>
assert_raise(ArgumentError){ @string.each_byte('x'){ } }
end
def teardown
@string = nil
@array = nil
end
end |
<?php
//include 'Upload.class.php';
include_once "../../class/Carrega.class.php";
if (isset($_POST['enviar']))
{
$object = new Eventos();
$object->evento = $_POST['evento'];
$object->status = $_POST['status'];
$object->dataInicio = $_POST['dataInicio'];
$object->dataFim = $_POST['dataFim'];
$object->horario = $_POST['horario'];
$object->categoria = $_POST['categoria'];
$object->texto = $_POST['texto'];
/*echo "<pre>";
print_r($object);
//$object->Inserir();
echo "</pre>";*/
if ($object->InserirEventos())
{
if (!empty($_FILES["imagem"]["name"]))
{
$myUpload = new Upload($_FILES["imagem"]);
$Up = $myUpload->eventoUpload();
/*echo "<pre>";
print_r($myUpload);
echo "</pre>";*/
}
else
{
$noImage = new Eventos();
$noImage->noImageUp();
/*echo "<pre>";
print_r($noImage);
echo "</pre>";*/
}
}
header("Location:ViewEventosObj.php");
}
else if (isset($_POST['excluir']))
{
$object = new Eventos();
$object->id = $_POST['id'];
//print_r($object);
$object->ExcluirEventos();
header("Location:ViewEventosObj.php");
}
else if (isset($_POST['atualizar']))
{
$object = new Eventos();
$object->id = $_POST['id'];
$object->evento = $_POST['evento'];
$object->status = $_POST['status'];
$object->dataInicio = $_POST['dataInicio'];
$object->dataFim = $_POST['dataFim'];
$object->horario = $_POST['horario'];
$object->categoria = $_POST['categoria'];
$object->texto = $_POST['texto'];
$object->AtualizarEventos();
if (!empty($_FILES["imagem"]["name"]))
{
$myUpload = new Upload($_FILES["imagem"]);
$Up = $myUpload->eventoUploadUpdate($_POST['id']);
}
header("Location:ViewEventosObj.php");
}
?> |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdRule", propOrder = {
"id",
"name",
"priority",
"targeting",
"startDateTime",
"startDateTimeType",
"endDateTime",
"<API key>",
"status",
"<API key>",
"<API key>",
"<API key>",
"preroll",
"midroll",
"postroll"
})
public class AdRule {
protected Integer id;
protected String name;
protected Integer priority;
protected Targeting targeting;
protected DateTime startDateTime;
@XmlSchemaType(name = "string")
protected StartDateTimeType startDateTimeType;
protected DateTime endDateTime;
protected Boolean <API key>;
@XmlSchemaType(name = "string")
protected AdRuleStatus status;
@XmlSchemaType(name = "string")
protected <API key> <API key>;
protected Integer <API key>;
protected Integer <API key>;
protected BaseAdRuleSlot preroll;
protected BaseAdRuleSlot midroll;
protected BaseAdRuleSlot postroll;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setId(Integer value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the priority property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPriority() {
return priority;
}
/**
* Sets the value of the priority property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPriority(Integer value) {
this.priority = value;
}
/**
* Gets the value of the targeting property.
*
* @return
* possible object is
* {@link Targeting }
*
*/
public Targeting getTargeting() {
return targeting;
}
/**
* Sets the value of the targeting property.
*
* @param value
* allowed object is
* {@link Targeting }
*
*/
public void setTargeting(Targeting value) {
this.targeting = value;
}
/**
* Gets the value of the startDateTime property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getStartDateTime() {
return startDateTime;
}
/**
* Sets the value of the startDateTime property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setStartDateTime(DateTime value) {
this.startDateTime = value;
}
/**
* Gets the value of the startDateTimeType property.
*
* @return
* possible object is
* {@link StartDateTimeType }
*
*/
public StartDateTimeType <API key>() {
return startDateTimeType;
}
/**
* Sets the value of the startDateTimeType property.
*
* @param value
* allowed object is
* {@link StartDateTimeType }
*
*/
public void <API key>(StartDateTimeType value) {
this.startDateTimeType = value;
}
/**
* Gets the value of the endDateTime property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getEndDateTime() {
return endDateTime;
}
/**
* Sets the value of the endDateTime property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setEndDateTime(DateTime value) {
this.endDateTime = value;
}
/**
* Gets the value of the <API key> property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean <API key>() {
return <API key>;
}
/**
* Sets the value of the <API key> property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void <API key>(Boolean value) {
this.<API key> = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link AdRuleStatus }
*
*/
public AdRuleStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link AdRuleStatus }
*
*/
public void setStatus(AdRuleStatus value) {
this.status = value;
}
/**
* Gets the value of the <API key> property.
*
* @return
* possible object is
* {@link <API key> }
*
*/
public <API key> <API key>() {
return <API key>;
}
/**
* Sets the value of the <API key> property.
*
* @param value
* allowed object is
* {@link <API key> }
*
*/
public void <API key>(<API key> value) {
this.<API key> = value;
}
/**
* Gets the value of the <API key> property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer <API key>() {
return <API key>;
}
/**
* Sets the value of the <API key> property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void <API key>(Integer value) {
this.<API key> = value;
}
/**
* Gets the value of the <API key> property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer <API key>() {
return <API key>;
}
/**
* Sets the value of the <API key> property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void <API key>(Integer value) {
this.<API key> = value;
}
/**
* Gets the value of the preroll property.
*
* @return
* possible object is
* {@link BaseAdRuleSlot }
*
*/
public BaseAdRuleSlot getPreroll() {
return preroll;
}
/**
* Sets the value of the preroll property.
*
* @param value
* allowed object is
* {@link BaseAdRuleSlot }
*
*/
public void setPreroll(BaseAdRuleSlot value) {
this.preroll = value;
}
/**
* Gets the value of the midroll property.
*
* @return
* possible object is
* {@link BaseAdRuleSlot }
*
*/
public BaseAdRuleSlot getMidroll() {
return midroll;
}
/**
* Sets the value of the midroll property.
*
* @param value
* allowed object is
* {@link BaseAdRuleSlot }
*
*/
public void setMidroll(BaseAdRuleSlot value) {
this.midroll = value;
}
/**
* Gets the value of the postroll property.
*
* @return
* possible object is
* {@link BaseAdRuleSlot }
*
*/
public BaseAdRuleSlot getPostroll() {
return postroll;
}
/**
* Sets the value of the postroll property.
*
* @param value
* allowed object is
* {@link BaseAdRuleSlot }
*
*/
public void setPostroll(BaseAdRuleSlot value) {
this.postroll = value;
}
} |
# <API key>: true
require "forwardable"
module Archimate
module DataModel
# A list of things that can be referenced by another entity.
class ReferenceableList
extend Forwardable
include Referenceable
def_delegators :@list,
:+,
:==,
:[],
:all?,
:any?,
:chunk,
:dig,
:each,
:each_with_object,
:empty?,
:find,
:first,
:flat_map,
:group_by,
:hash,
:include?,
:inject,
:inspect,
:last,
:map,
:none?,
:reduce,
:reject,
:select,
:sort,
:size,
:to_a
attr_reader :parent
def initialize(parent, contents = [], <API key> = [])
@parent = parent
@<API key> = <API key>
@list = contents || []
add_references
end
def replace_with(contents)
remove_references
@list = contents
add_references
end
def to_ary
Array.new(@list).freeze
end
def push(item)
return if @list.include?(item)
add_item_references(item)
@list.push(item)
end
def <<(item)
return if @list.include?(item)
add_item_references(item)
@list << item
end
def delete(item)
@list.delete(item)
<API key>(item)
end
private
def add_references
@list.each { |item| add_item_references(item) }
end
def add_item_references(item)
item.add_reference(parent)
@<API key>.each do |attr|
item.add_reference(parent.send(attr)) if parent.send(attr)
end
end
def remove_references
@list.each { |item| <API key>(item) }
end
def <API key>(item)
item.remove_reference(parent)
@<API key>.each do |attr|
item.remove_reference(parent.send(attr)) if parent.send(attr)
end
end
end
end
end |
package org.sagebionetworks.repo.manager;
import org.sagebionetworks.reflection.model.PaginatedResults;
import org.sagebionetworks.repo.model.<API key>;
import org.sagebionetworks.repo.model.DatastoreException;
import org.sagebionetworks.repo.model.<API key>;
import org.sagebionetworks.repo.model.Reference;
import org.sagebionetworks.repo.model.<API key>;
import org.sagebionetworks.repo.model.UserInfo;
import org.sagebionetworks.repo.model.auth.AuthorizationStatus;
import org.sagebionetworks.repo.model.provenance.Activity;
import org.sagebionetworks.repo.web.NotFoundException;
public interface ActivityManager {
/**
* create Activity
* @param <T>
* @param userInfo
* @param activity
* @return the new activity id
* @throws DatastoreException
* @throws <API key>
*/
public String createActivity(UserInfo userInfo, Activity activity) throws DatastoreException, <API key>;
/**
* update an Activity
* @param <T>
* @param userInfo
* @param activity
* @return
* @throws <API key>
* @throws NotFoundException
* @throws <API key>
* @throws DatastoreException
* @throws <API key>
*/
public Activity updateActivity(UserInfo userInfo, Activity activity) throws <API key>, NotFoundException, <API key>, DatastoreException, <API key>;
/**
* delete an Activity
* @param userInfo
* @param activityId
* @throws NotFoundException
* @throws DatastoreException
* @throws <API key>
*/
public void deleteActivity(UserInfo userInfo, String activityId) throws DatastoreException, <API key>;
/**
* Get activity for a given activity id
* @param userInfo
* @param activityId
* @return
* @throws DatastoreException
* @throws NotFoundException
* @throws <API key>
*/
public Activity getActivity(UserInfo userInfo, String activityId) throws DatastoreException, NotFoundException, <API key>;
/**
* returns true if activity exists
* @param id
* @return
*/
public boolean doesActivityExist(String id);
/**
* @param userInfo the user making the request
* @param activityId activity id
* @param limit 0 based limit
* @param offset 0 based offset
* @return Returns a paginated QueryResults of references that were generated by the given activity id
*/
public PaginatedResults<Reference> <API key>(UserInfo userInfo, String activityId, Integer limit, Integer offset) throws DatastoreException, NotFoundException, <API key>;
AuthorizationStatus canAccessActivity(UserInfo userInfo, String activityId)
throws DatastoreException, NotFoundException;
} |
package com.wangyin.ak47.example;
import com.wangyin.ak47.common.Logger;
import com.wangyin.ak47.core.Request;
import com.wangyin.ak47.core.Response;
import com.wangyin.ak47.core.Service;
import com.wangyin.ak47.core.stub.SimpleStub;
import com.wangyin.ak47.pipes.http.SimpleHttpPipe;
import com.wangyin.ak47.pipes.http.SimpleHttpRequest;
import com.wangyin.ak47.pipes.http.SimpleHttpResponse;
public class <API key> {
private static final Logger log = new Logger(<API key>.class);
public static void main(String[] args) throws Exception {
// new a Pipe
SimpleHttpPipe pipe = new SimpleHttpPipe();
// create a stub
SimpleStub<SimpleHttpRequest, SimpleHttpResponse> stub = pipe.createSimpleStub(8055);
// add a service
stub.addService("myservice", new Service<SimpleHttpRequest, SimpleHttpResponse>(){
@Override
public void doService(Request<SimpleHttpRequest> request,
Response<SimpleHttpResponse> response) throws Exception {
SimpleHttpRequest httpreq = request.pojo();
SimpleHttpResponse httpres = new SimpleHttpResponse();
String content = "Hello Ak47! Your request url is "+httpreq.getUrl();
log.info("content: {}", content);
httpres.setContent(content.getBytes());
response.pojo(httpres);
}
});
// finally start and hold it.
stub.start();
stub.hold();
}
} |
package com.gozap.session.servlet.filter;
import javax.servlet.Filter;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
*
*
* @author Mike
* @version 1.00 2010-6-25
* @since 1.5
*/
public abstract class BaseFilter implements Filter {
protected FilterConfig filterConfig;
private static final Log LOGGER = LogFactory.getLog(BaseFilter.class);
/**
*
*
* @param config
* @throws javax.servlet.ServletException
*/
@Override
public void init(FilterConfig config) throws ServletException {
this.filterConfig = config;
LOGGER.info("{"+getClass().getName()+"} filter initialization.");
}
@Override
public void destroy() {
LOGGER.info("{"+getClass().getName()+"} filter destroy.");
}
} |
package com.pw.ord.gui.contas;
import java.awt.Insets;
import java.util.Calendar;
import com.fatuhiva.model.action.IFatuActionEvent;
import com.fatuhiva.model.action.IFatuActionListener;
import com.fatuhiva.model.button.FatuButton;
import com.fatuhiva.model.container.field.FatuFieldSet;
import com.fatuhiva.model.container.panel.FatuPanel;
import com.fatuhiva.model.datamodel.IFatuColumnModel;
import com.fatuhiva.model.datasource.<API key>;
import com.fatuhiva.model.editable.editbox.FatuTextBox;
import com.fatuhiva.model.feature.FatuLabelPosition;
import com.fatuhiva.model.feature.FatuSize;
import com.fatuhiva.model.grid.FatuGrid;
import com.fatuhiva.model.layout.box.FatuBoxLayoutAlign;
import com.fatuhiva.model.layout.box.FatuBoxPosition;
import com.fatuhiva.model.layout.box.FatuHBoxLayout;
import com.fatuhiva.model.layout.box.FatuHBoxLayoutRule;
import com.fatuhiva.model.layout.box.FatuVBoxLayout;
import com.fatuhiva.model.layout.box.FatuVBoxLayoutRule;
import com.fatuhiva.model.layout.fit.FatuFitLayout;
import com.fatuhiva.model.layout.fit.FatuFitLayoutRule;
import com.fatuhiva.model.selection.<API key>;
import com.pw.ord.dao.<API key>;
import com.pw.ord.et.OrcamentoData;
import com.tuamotu.commons.dataset.IBookmark;
import com.tuamotu.commons.i18n.I18n;
public class <API key> extends FatuPanel<FatuVBoxLayout> {
private final FatuFieldSet<FatuHBoxLayout> pnManData;
private final FatuTextBox tBoxDataRealizado;
private final FatuTextBox tBoxDataPrevisto;
private final FatuTextBox tBoxContaCredito;
private final FatuTextBox tBoxContaDebito;
private final FatuTextBox tBoxCentroCusto;
private final FatuTextBox tBoxValor;
private final FatuTextBox tBoxObservacao;
private final FatuButton btnNovo;
private final <API key><OrcamentoData, String> dsRealizado;
private final <API key><OrcamentoData, String> dsPrevisto;
private final <API key><OrcamentoData, String> dsContaCredito;
private final <API key><OrcamentoData, String> dsContaDebito;
private final <API key><OrcamentoData, String> dsCentroCusto;
private final <API key><OrcamentoData, String> dsValor;
private final <API key><OrcamentoData, String> dsObservacao;
private final FatuFieldSet<FatuHBoxLayout> pnFilter;
private final FatuTextBox tBoxFilterData;
private final FatuTextBox tBoxFilterConta;
private final FatuTextBox tBoxFilterCC;
private final FatuPanel<FatuFitLayout> pnTable;
private final FatuGrid dataGrid;
private final <API key> tableModel;
private final <API key><OrcamentoData> selectionModel;
public <API key>() {
super(new FatuVBoxLayout(FatuBoxLayoutAlign.STRETCH, FatuBoxPosition.START));
this.tableModel = new <API key>();
this.selectionModel = new <API key><OrcamentoData>();
// Campos para Entrada de Dados
this.dsRealizado = new <API key><OrcamentoData, String>(String.class, tableModel.REALIZADO_FIELD, tableModel, selectionModel);
this.tBoxDataRealizado = new FatuTextBox(dsRealizado);
this.tBoxDataRealizado.setLabel(new I18n("tBoxDataRealizado").setDefault("Realizado"), FatuLabelPosition.TOP);
this.dsPrevisto = new <API key><OrcamentoData, String>(String.class, tableModel.PREVISTO_FIELD, tableModel, selectionModel);
this.tBoxDataPrevisto = new FatuTextBox(dsPrevisto);
this.tBoxDataPrevisto.setLabel(new I18n("tBoxDataPrevisto").setDefault("Previsto"), FatuLabelPosition.TOP);
this.dsContaCredito = new <API key><OrcamentoData, String>(String.class, tableModel.CONTA_CREDITO_FIELD, tableModel, selectionModel);
this.tBoxContaCredito = new FatuTextBox(dsContaCredito);
this.tBoxContaCredito.setLabel(new I18n("tBoxContaCredito").setDefault("Conta Crédito"), FatuLabelPosition.TOP);
this.dsContaDebito = new <API key><OrcamentoData, String>(String.class, tableModel.CONTA_DEBITO_FIELD, tableModel, selectionModel);
this.tBoxContaDebito = new FatuTextBox(dsContaDebito);
this.tBoxContaDebito.setLabel(new I18n("tBoxContaDebito").setDefault("Conta Débito"), FatuLabelPosition.TOP);
this.dsCentroCusto = new <API key><OrcamentoData, String>(String.class, tableModel.CENTRO_CUSTO_FIELD, tableModel, selectionModel);
this.tBoxCentroCusto = new FatuTextBox(dsCentroCusto);
this.tBoxCentroCusto.setLabel(new I18n("tBoxCentroCusto").setDefault("Centro Custo"), FatuLabelPosition.TOP);
this.dsValor = new <API key><OrcamentoData, String>(String.class, tableModel.VALOR_FIELD, tableModel, selectionModel);
this.tBoxValor = new FatuTextBox(dsValor);
this.tBoxValor.setLabel(new I18n("tBoxValor").setDefault("Valor"), FatuLabelPosition.TOP);
this.dsObservacao = new <API key><OrcamentoData, String>(String.class, tableModel.OBS_FIELD, tableModel, selectionModel);
this.tBoxObservacao = new FatuTextBox(dsObservacao);
this.tBoxObservacao.setLabel(new I18n("tBoxObservacao").setDefault("Observação"), FatuLabelPosition.TOP);
this.btnNovo = createBtnNovo();
FatuHBoxLayout hBoxLayout = new FatuHBoxLayout(FatuBoxLayoutAlign.START, FatuBoxPosition.START);
hBoxLayout.setPadding(new Insets(5, 5, 5, 5));
this.pnManData = new FatuFieldSet<FatuHBoxLayout>(hBoxLayout);
this.pnManData.setSize(new FatuSize(200, FatuSize.NOT_ESPECIFIED));
this.pnManData.setTitle("Entrada de Dados");
this.pnManData.addChild(tBoxDataRealizado, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(tBoxDataPrevisto, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(tBoxContaDebito, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(tBoxContaCredito, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(tBoxCentroCusto, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(tBoxValor, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(tBoxObservacao, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnManData.addChild(btnNovo, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.addChild(pnManData, FatuVBoxLayoutRule.VBOX_LAYOUT_RULE);
// Filtros para a Table
this.tBoxFilterData = new FatuTextBox();
this.tBoxFilterData.setLabel(new I18n("tBoxFilterData").setDefault("Data"), FatuLabelPosition.TOP);
this.tBoxFilterConta = new FatuTextBox();
this.tBoxFilterConta.setLabel(new I18n("tBoxFilterConta").setDefault("Conta"), FatuLabelPosition.TOP);
this.tBoxFilterCC = new FatuTextBox();
this.tBoxFilterCC.setLabel(new I18n("tBoxFilterCC").setDefault("Centro Custo"), FatuLabelPosition.TOP);
hBoxLayout = new FatuHBoxLayout(FatuBoxLayoutAlign.START, FatuBoxPosition.START);
hBoxLayout.setPadding(new Insets(5, 5, 5, 5));
this.pnFilter = new FatuFieldSet<FatuHBoxLayout>(hBoxLayout);
this.pnFilter.setSize(new FatuSize(200, FatuSize.NOT_ESPECIFIED));
this.pnFilter.setTitle("Filtros");
this.pnFilter.addChild(tBoxFilterData, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnFilter.addChild(tBoxFilterConta, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.pnFilter.addChild(tBoxFilterCC, FatuHBoxLayoutRule.HBOX_LAYOUT_RULE);
this.addChild(pnFilter, FatuVBoxLayoutRule.VBOX_LAYOUT_RULE);
this.dataGrid = new FatuGrid(tableModel, selectionModel);
IFatuColumnModel cModel = this.dataGrid.getColumnModel();
cModel.setVisible(false, tableModel.getColumnIndex(tableModel.ID_FIELD));
this.pnTable = new FatuPanel<FatuFitLayout>(FatuFitLayout.FIT_LAYOUT);
this.pnTable.setTitle("Dados");
this.pnTable.addChild(dataGrid, FatuFitLayoutRule.FIT_LAYOUT_RULE);
this.addChild(pnTable, FatuVBoxLayoutRule.VBOX_LAYOUT_RULE);
}
public void setConnection(<API key> conn) {
this.selectionModel.clearSelection();
this.tableModel.setConnection(conn);
}
private FatuButton createBtnNovo() {
FatuButton btn = new FatuButton();
btn.setEnabled(true);
btn.setLabel(new I18n("btnNovo").setDefault("Novo..."));
btn.addActionListener(new <API key>());
return btn;
}
private void doNovoRegistro() {
OrcamentoData novo = new OrcamentoData();
novo.setId(Calendar.getInstance().getTimeInMillis());
//novo.setUserId(0);
IBookmark<OrcamentoData> inserted = this.tableModel.insert(novo);
this.selectionModel.clearSelection();
this.selectionModel.select(inserted);
}
private class <API key> implements IFatuActionListener {
@Override
public void actionPerformed(IFatuActionEvent evt) {
if (evt.getSource() == <API key>.this.btnNovo) {
doNovoRegistro();
}
}
}
} |
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
class AWS_QUICKSIGHT_API <API key>
{
public:
<API key>();
<API key>(Aws::Utils::Json::JsonView jsonValue);
<API key>& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline const Aws::String& GetInitialTopicId() const{ return m_initialTopicId; }
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline bool <API key>() const { return <API key>; }
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline void SetInitialTopicId(const Aws::String& value) { <API key> = true; m_initialTopicId = value; }
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline void SetInitialTopicId(Aws::String&& value) { <API key> = true; m_initialTopicId = std::move(value); }
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline void SetInitialTopicId(const char* value) { <API key> = true; m_initialTopicId.assign(value); }
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline <API key>& WithInitialTopicId(const Aws::String& value) { SetInitialTopicId(value); return *this;}
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline <API key>& WithInitialTopicId(Aws::String&& value) { SetInitialTopicId(std::move(value)); return *this;}
/**
* <p>The ID of the Q topic that you want to make the starting topic in the Q
* search bar. You can find a topic ID by navigating to the Topics pane in the
* Amazon QuickSight application and opening a topic. The ID is in the URL for the
* topic that you open.</p> <p>If you don't specify an initial topic, a list of all
* shared topics is shown in the Q bar for your readers. When you select an initial
* topic, you can specify whether or not readers are allowed to select other topics
* from the available ones in the list.</p>
*/
inline <API key>& WithInitialTopicId(const char* value) { SetInitialTopicId(value); return *this;}
private:
Aws::String m_initialTopicId;
bool <API key>;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws |
package de.hub.clickwatch.specificmodels.brn.<API key>.util;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
/**
* <!-- begin-user-doc -->
* The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
* @see de.hub.clickwatch.specificmodels.brn.<API key>.util.<API key>
* @generated
*/
public class <API key> extends XMLResourceImpl {
/**
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param uri the URI of the new resource.
* @generated
*/
public <API key>(URI uri) {
super(uri);
}
} //<API key> |
package mybatis;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.<API key>;
import vo.UserVo;
public class UserManager {
private static SqlSessionFactory sqlMapper;
static {
try {
Reader reader = Resources.getResourceAsReader("mybatis/SqlMapConfig.xml");
sqlMapper = new <API key>().build(reader);
reader.close();
} catch (IOException e) {
throw new RuntimeException("Something bad happened while building the SqlMapClient instance." + e, e);
}
}
public static UserVo getInfo(int userNum) {
SqlSession session = sqlMapper.openSession();
UserVo vo = session.selectOne("getInfo", userNum);
session.close();
return vo;
}
public static void register(UserVo vo) {
SqlSession session = sqlMapper.openSession();
session.update("registerAccount", vo);
session.update("registerInfo", vo);
session.commit();
session.close();
}
public static int getUserNumMax() {
SqlSession session = sqlMapper.openSession();
int userNum = session.selectOne("getUserNumMax");
session.close();
return userNum;
}
public static UserVo getUser(UserVo vo) {
SqlSession session = sqlMapper.openSession();
UserVo dbvo = session.selectOne("getUser", vo);
;
session.close();
return dbvo;
}
public static void delUser(int userNum) {
SqlSession session = sqlMapper.openSession();
session.update("delUser", userNum);
session.commit();
session.close();
}
public static void updateUser(UserVo vo) {
SqlSession session = sqlMapper.openSession();
session.update("updateUser", vo);
session.commit();
session.close();
}
public static void updateUserAdmin(UserVo vo) {
SqlSession session = sqlMapper.openSession();
session.update("updateUser", vo);
session.update("updateUserAdmin", vo);
session.commit();
session.close();
}
public static String getUserId(String userId) {
SqlSession session = sqlMapper.openSession();
String dbId = session.selectOne("getUser", userId);
;
session.close();
return dbId;
}
public static List getUserList() {
SqlSession session = sqlMapper.openSession();
List list = session.selectList("getUserList");
session.close();
return list;
}
public static UserVo getFind(UserVo vo) {
SqlSession session = sqlMapper.openSession();
UserVo dbvo = session.selectOne("getFind", vo);
session.close();
return dbvo;
}
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Seeing sounds [Part 3]: Star field + Terrain</title>
<meta name="description" content="Previously, we learned how to create an animating star field in part 1 of the Seeing Sounds series with the outcome below:See the Pen Three.js - Star fi...">
<link rel="canonical" href="http://yourdomain.com/webgl/2015/04/26/<API key>.html">
<link rel="alternate" type="application/rss+xml" title="Creative with Code" href="http://yourdomain.com/feed.xml" />
<!-- Material Design Lite css Library -->
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.5/material.deep_purple-green.min.css" />
<!-- Material Design Fonts -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- Custom theme css -->
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<!-- Start Layout -->
<div class="mdl-layout mdl-js-layout <API key>">
<header class="mdl-layout__header">
<div class="<API key>">
<!-- Title -->
<span class="mdl-layout-title"><a href="/index.html" style="text-decoration:none; color:#fff;">Creative with Code</a></span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation <API key>">
<a class="<API key>" href="/about/">About</a>
<a class="<API key>" href="/webgl/index.html">webgl</a>
<a class="<API key>" href="/technical/index.html">technical</a>
<a class="<API key>" href="/audio/index.html">audio</a>
<a class="<API key>" href="/design/index.html">design</a>
</nav>
<div class="android-search-box mdl-textfield mdl-js-textfield <API key> <API key> <API key> <API key>">
<label class="mdl-button mdl-js-button mdl-button--icon" for="search-field">
<i class="material-icons">search</i>
</label>
<div class="<API key>">
<input class="<API key>" type="text" id="search-field" />
</div>
</div>
<button class="mdl-button mdl-js-button mdl-button--icon" id="menu-lower-left">
<i class="material-icons">more_vert</i>
</button>
<ul class="mdl-menu <API key> mdl-js-menu <API key>" for="menu-lower-left">
<li><a href="www.myawesomelink.com" class="mdl-menu__item">Cool Option 1</a></li>
<li><a href="www.myawesomelink.com" class="mdl-menu__item">Cool Option 2</a></li>
<li><a href="www.myawesomelink.com" class="mdl-menu__item">Cool Option 3</a></li>
</ul>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Menu</span>
<nav class="mdl-navigation">
<a class="<API key>" href="/about/">About</a>
<a class="<API key>" href="/webgl/index.html">webgl</a>
<a class="<API key>" href="/technical/index.html">technical</a>
<a class="<API key>" href="/audio/index.html">audio</a>
<a class="<API key>" href="/design/index.html">design</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="post-ribbon"></div>
<main class="post-main mdl-layout__content">
<div class="post-container mdl-grid">
<div class="mdl-cell mdl-cell--2-col <API key> <API key>"></div>
<div class="post-section mdl-color--white mdl-shadow--4dp content <API key> mdl-cell mdl-cell--8-col">
<div class="<API key>">
Apr 26, 2015 • Graeme Fulton • webgl
</div>
<br>
<img src="/img/terrain-stars.jpg" style="width:100%;"/>
<h3>Seeing sounds [Part 3]: Star field + Terrain</h3>
<article class="post-content">
<p><p>Previously, we learned how to create an animating star field in <a href="/webgl/2015/04/23/<API key>.html">part 1</a> of the Seeing Sounds series with the outcome below:</p>
<p><iframe style="width: 100%;" src="
<p>Then, in <a href="/webgl/2015/04/25/<API key>.html">part 2</a>, we learned how to create the following terrain:</p>
<p><iframe style="width: 100%;" src="
<p>In this tutorial, all we will do is combine the code produced from these two lessons to produce a terrain at the bottom with a starfield flying above it. This is so simple that it can be explained in just one step:</p>
<h3>Step 1 of 1: Combine the code</h3>
<p>All we need to do to combine these scenes is add the new bits of code from part 2 to the code from the end of part 1. That is, we need to insert the <code>addLight</code> and <code>addGround</code> functions, and the Perlin noise generator code, and also the Perlin variables to the top of our file. Doing so will produce our combined scene as below:</p>
<p><iframe style="width: 100%;" src="
<p>The entire code can be seen <a href="https://github.com/GraemeFulton/threejs-starter/blob/master/StarsAndTerrain.html" target="_blank">here on GitHub</a></p>
</p>
</article>
</div>
</div>
</main>
<footer class="mdl-mega-footer">
<div class="<API key>">
<div class="<API key>">
<input class="<API key>" type="checkbox" checked>
<h1 class="<API key>">INFO</h1>
<ul class="<API key>">
<li><a href="mailto:creator@createwithcode.com">creator@createwithcode.com</a></li>
<li><a href="/feed.xml">subscribe via RSS</a></li>
</ul>
</div>
<div class="<API key>">
<input class="<API key>" type="checkbox" checked>
<h1 class="<API key>">SOCIAL</h1>
<ul class="<API key>">
<li>
<a href="https://github.com/creativewithcode">
<span class="icon icon--github">
<svg viewBox="0 0 16 16">
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
</svg>
</span>
<span class="username">creativewithcode</span>
</a>
</li>
<li>
<a href="https://twitter.com/creativewithcode">
<span class="icon icon--twitter">
<svg viewBox="0 0 16 16">
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
</svg>
</span>
<span class="username">creativewithcode</span>
</a>
</li>
</ul>
</div>
<div class="<API key>">
<input class="<API key>" type="checkbox" checked>
<h1 class="<API key>">ABOUT</h1>
<ul class="<API key>">
<li>Get creative with code. We're about experimenting with new front end web technologies.
</li>
</ul>
</div>
</div>
<div class="<API key>">
<div class="mdl-logo">Creative with Code</div>
<ul class="<API key>">
<li><a href="#">Help</a></li>
<li><a href="#">Privacy & Terms</a></li>
</ul>
</div>
</footer>
</main>
</div>
<!-- /End Layout-->
<!-- Material Design Lite js Library -->
<script type="text/javascript" src="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.min.js"></script>
</body>
</html> |
package com.nummulus.amqp.driver.configuration
/**
* Configuration of a queue.
*/
private[driver] case class QueueConfiguration(
queue: String,
durable: Boolean,
exclusive: Boolean,
autoDelete: Boolean,
autoAcknowledge: Boolean) |
"""IPA-GNN models."""
from typing import Any
from flax import linen as nn
import jax
import jax.numpy as jnp
from core.data import error_kinds
from core.modules.ipagnn import compressive_ipagnn
from core.modules.ipagnn import encoder
from core.modules.ipagnn import ipagnn
from core.modules.ipagnn import logit_math
from core.modules.ipagnn import spans
from core.modules.ipagnn import raise_contributions as <API key>
from third_party.flax_examples import transformer_modules
class IPAGNN(nn.Module):
config: Any
info: Any
transformer_config: transformer_modules.TransformerConfig
<API key>: transformer_modules.TransformerConfig
def setup(self):
config = self.config
vocab_size = self.info.vocab_size
max_tokens = config.max_tokens
max_num_nodes = config.max_num_nodes
max_num_edges = config.max_num_edges
max_steps = config.max_steps
self.node_span_encoder = spans.NodeSpanEncoder(
info=self.info,
config=config,
transformer_config=self.transformer_config,
max_tokens=max_tokens,
max_num_nodes=max_num_nodes,
<API key>=False,
<API key>=False,
)
if config.use_film or config.use_cross_attention:
self.<API key> = encoder.TokenEncoder(
transformer_config=self.<API key>,
num_embeddings=vocab_size,
features=config.hidden_size,
)
self.docstring_encoder = encoder.TransformerEncoder(
config=self.<API key>)
if config.<API key>:
self.ipagnn = compressive_ipagnn.SkipIPAGNN(
config=config,
info=self.info,
max_steps=max_steps,
)
else:
self.ipagnn = ipagnn.IPAGNNModule(
info=self.info,
config=config,
max_steps=max_steps,
)
@nn.compact
def __call__(self, x):
config = self.config
info = self.info
tokens = x['tokens']
docstring_tokens = x['docstring_tokens']
# tokens.shape: batch_size, max_tokens
batch_size = tokens.shape[0]
encoded_inputs = self.node_span_encoder(
tokens, x['<API key>'], x['<API key>'],
x['num_nodes'])
# encoded_inputs.shape: batch_size, max_num_nodes, hidden_size
if config.use_film or config.use_cross_attention:
<API key> = self.<API key>(
docstring_tokens)
docstring_mask = docstring_tokens > 0
<API key> = nn.make_attention_mask(
docstring_mask, docstring_mask, dtype=jnp.float32)
# <API key>.shape: batch_size, max_tokens, hidden_size
<API key> = self.docstring_encoder(
<API key>,
encoder_mask=<API key>)
else:
<API key> = None
docstring_mask = None
ipagnn_output = self.ipagnn(
node_embeddings=encoded_inputs,
<API key>=<API key>,
docstring_mask=docstring_mask,
edge_sources=x['edge_sources'],
edge_dests=x['edge_dests'],
edge_types=x['edge_types'],
true_indexes=x['true_branch_nodes'],
false_indexes=x['false_branch_nodes'],
raise_indexes=x['raise_nodes'],
start_node_indexes=x['start_index'],
exit_node_indexes=x['exit_index'],
<API key>=x['<API key>'],
step_limits=x['step_limit'],
)
# ipagnn_output['<API key>'].shape: batch_size, hidden_size
# ipagnn_output['<API key>'].shape: batch_size, hidden_size
# ipagnn_output['<API key>'].shape: batch_size
# ipagnn_output['<API key>'].shape: batch_size
<API key> = ipagnn_output['<API key>']
# <API key>.shape: batch_size, hidden_size
<API key> = ipagnn_output['<API key>']
# <API key>.shape: batch_size
num_classes = info.num_classes
if config.raise_in_ipagnn:
<API key> = ipagnn_output['<API key>']
# <API key>.shape: batch_size, hidden_size
<API key> = ipagnn_output['<API key>']
# <API key>.shape: batch_size
if len(info.no_error_ids) == 1:
# Multiple error classes; only one No-Error class.
no_error_id = info.no_error_ids[0]
logits = nn.Dense(
features=num_classes, name='output'
)(<API key>) # P(e | yes exception)
# logits.shape: batch_size, num_classes
logits = logits.at[:, no_error_id].set(-jnp.inf)
no_error_logits = jax.vmap(logit_math.<API key>)(
<API key> + 1e-9,
<API key> + 1e-9,
logits)
# no_error_logits.shape: batch_size
logits = logits.at[:, no_error_id].set(no_error_logits)
elif len(info.no_error_ids) > 1:
# Multiple No-Error classes; only one error class.
if len(info.error_ids) > 1:
raise NotImplementedError('Multiple error classes and multiple no-error classes.')
assert len(info.error_ids) == 1
error_id = info.error_ids[0]
logits = nn.Dense(
features=num_classes, name='output'
)(<API key>) # P(e | no exception)
# logits.shape: batch_size, num_classes
logits = logits.at[:, error_id].set(-jnp.inf)
error_logits = jax.vmap(logit_math.<API key>)(
<API key> + 1e-9,
<API key> + 1e-9,
logits)
# error_logits.shape: batch_size
logits = logits.at[:, error_id].set(error_logits)
else:
raise ValueError('Tried using Exception IPA-GNN on data with no errors.')
else:
logits = nn.Dense(
features=num_classes, name='output'
)(<API key>)
# logits.shape: batch_size, num_classes
return logits, ipagnn_output |
<!DOCTYPE HTML>
<html lang="en-US" >
<head>
<meta charset="UTF-8">
<title>Glossary | 1.ReactiveCocoa</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="">
<meta name="generator" content="GitBook 1.0.3">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="<API key>" content="yes">
<meta name="<API key>" content="black">
<link rel="<API key>" sizes="152x152" href="gitbook/images/<API key>.png">
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
</head>
<body>
<link rel="stylesheet" href="gitbook/style.css">
<link rel="stylesheet" href="gitbook/plugins/<API key>/exercises.css">
<div class="book" data-level="" data-basepath="." data-revision="1445733898524">
<div class="book-summary">
<div class="book-search">
<input type="text" placeholder="Type to search" class="form-control" />
</div>
<ul class="summary">
<li class="chapter " data-level="0" data-path="index.html">
<a href="./index.html">
<i class="fa fa-check"></i>
0-ReactiveCocoa
</a>
</li>
<li class="divider"></li>
<li>
<a href="http:
</li>
</ul>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header">
<!-- Actions Left -->
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
<a href="#" class="btn pull-left toggle-search" aria-label="Toggle search"><i class="fa fa-search"></i></a>
<div id="<API key>" class="dropdown pull-left">
<a href="#" class="btn toggle-dropdown" aria-label="Toggle font settings"><i class="fa fa-font"></i>
</a>
<div class="dropdown-menu font-settings">
<div class="dropdown-caret">
<span class="caret-outer"></span>
<span class="caret-inner"></span>
</div>
<div class="buttons">
<button type="button" id="reduce-font-size" class="button size-2">A</button>
<button type="button" id="enlarge-font-size" class="button size-2">A</button>
</div>
<div class="buttons font-family-list">
<button type="button" data-font="0" class="button">Serif</button>
<button type="button" data-font="1" class="button">Sans</button>
</div>
<div class="buttons color-theme-list">
<button type="button" id="<API key>" class="button size-3" data-theme="0">White</button>
<button type="button" id="<API key>" class="button size-3" data-theme="1">Sepia</button>
<button type="button" id="<API key>" class="button size-3" data-theme="2">Night</button>
</div>
</div>
</div>
<!-- Actions Right -->
<div class="dropdown pull-right">
<a href="#" class="btn toggle-dropdown" aria-label="Toggle share dropdown"><i class="fa fa-share-alt"></i>
</a>
<div class="dropdown-menu font-settings dropdown-left">
<div class="dropdown-caret">
<span class="caret-outer"></span>
<span class="caret-inner"></span>
</div>
<div class="buttons">
<button type="button" data-sharing="twitter" class="button">Twitter</button>
<button type="button" data-sharing="google-plus" class="button">Google</button>
<button type="button" data-sharing="facebook" class="button">Facebook</button>
<button type="button" data-sharing="weibo" class="button">Weibo</button>
<button type="button" data-sharing="instapaper" class="button">Instapaper</button>
</div>
</div>
</div>
<a href="#" target="_blank" class="btn pull-right <API key> sharing-link" data-sharing="google-plus" aria-label="Share on Google Plus"><i class="fa fa-google-plus"></i></a>
<a href="#" target="_blank" class="btn pull-right <API key> sharing-link" data-sharing="facebook" aria-label="Share on Facebook"><i class="fa fa-facebook"></i></a>
<a href="#" target="_blank" class="btn pull-right <TwitterConsumerkey> sharing-link" data-sharing="<TwitterConsumerkey>="Share on Twitter"><i class="fa fa-twitter"></i></a>
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="./" >1.ReactiveCocoa</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1">
<div class="page-inner">
</div>
</div>
</div>
</div>
</div>
<script src="gitbook/app.js"></script>
<script src="gitbook/plugins/<API key>/ace/ace.js"></script>
<script src="gitbook/plugins/<API key>/ace/theme-tomorrow.js"></script>
<script src="gitbook/plugins/<API key>/ace/mode-javascript.js"></script>
<script src="gitbook/plugins/<API key>/exercises.js"></script>
<script src="https://cdn.mathjax.org/mathjax/2.4-latest/MathJax.js?config=<API key>"></script>
<script src="gitbook/plugins/<API key>/plugin.js"></script>
<script>
require(["gitbook"], function(gitbook) {
var config = {"fontSettings":{"theme":null,"family":"sans","size":2}};
gitbook.start(config);
});
</script>
<script src="gitbook/plugins/<API key>/jsrepl/jsrepl.js" id="jsrepl-script"></script>
</body>
</html> |
package com.rev.system.err;
import com.rev.system.render.System;
import android.util.Log;
public class <API key> extends RuntimeException {
private static final long serialVersionUID = <API key>;
public <API key>(String string) {
super(string);
}
} |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>ovs all: _SFLSampler Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">ovs all
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct__SFLSampler.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="<API key>">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">_SFLSampler Struct Reference</div> </div>
</div><!--header
<div class="contents">
<p><code>#include <<a class="el" href="<API key>.html">sflow_api.h</a>></code></p>
<div class="dynheader">
Collaboration diagram for _SFLSampler:</div>
<div class="dyncontent">
<div class="center"><img src="<API key>.png" border="0" usemap="#<API key>" alt="Collaboration graph"/></div>
<map name="<API key>" id="<API key>">
<area shape="rect" id="node3" href="struct__SFLReceiver.html" title="_SFLReceiver" alt="" coords="113,155,218,181"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct__SFLSampler.html">_SFLSampler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">nxt</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct__SFLSampler.html">_SFLSampler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">hash_nxt</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="sflow__api_8h.html#<API key>"><API key></a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">dsi</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">sFlowFsReceiver</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>"><API key></a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>"><API key></a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct__SFLAgent.html">_SFLAgent</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">agent</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="sflow__api_8h.html#<API key>">SFLReceiver</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">myReceiver</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">skip</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">samplePool</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">flowSampleSeqNo</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">samplesThisTick</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">samplesLastTick</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__SFLSampler.html#<API key>">backoffThreshold</a></td></tr>
<tr class="separator:<API key>"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="struct__SFLAgent.html">_SFLAgent</a>* _SFLSampler::agent</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::backoffThreshold</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="sflow__api_8h.html#<API key>"><API key></a> _SFLSampler::dsi</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::flowSampleSeqNo</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="struct__SFLSampler.html">_SFLSampler</a>* _SFLSampler::hash_nxt</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="sflow__api_8h.html#<API key>">SFLReceiver</a>* _SFLSampler::myReceiver</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="struct__SFLSampler.html">_SFLSampler</a>* _SFLSampler::nxt</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::samplePool</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::samplesLastTick</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::samplesThisTick</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::<API key></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::<API key></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::sFlowFsReceiver</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="<API key>"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windefs_8h.html#<API key>">u_int32_t</a> _SFLSampler::skip</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/vladn/git/ovs/lib/<a class="el" href="<API key>.html">sflow_api.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="struct__SFLSampler.html">_SFLSampler</a></li>
<li class="footer">Generated on Wed Sep 9 2015 19:08:08 for ovs all by
<a href="http:
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html> |
// @(#)DVMRPFCPacket.java 12/2002
// modification, are permitted provided that the following conditions are met:
// and/or other materials provided with the distribution.
// 3. Neither the name of "DRCL" nor the names of its contributors may be used
// to endorse or promote products derived from this software without specific
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package drcl.inet.protocol.dvmrp;
/**
Defines the format of the packets used by {@link DVMRP} to exchange forwarding table
with neighbors.
*/
public class DVMRPFCPacket extends drcl.DrclObj
{
static String[] CMDS = {"PRUNE", "GRAFT", "GRAFT-ACK"};
// commands
static final int PRUNE = 0;
static final int GRAFT = 1;
static final int GRAFT_ACK = 2;
static final int PRUNE_SIZE = 24; // header size 24: DVMRPv3 internet draft
static final int GRAFT_SIZE = 20; // header size 20: DVMRPv3 internet draft
int cmd, version;
long src, group, srcmask;
int pruneLifetime;
public DVMRPFCPacket()
{ super(); }
/**
* Creates a prune packet
* @param pruneLifetime_ in seconds.
*/
public DVMRPFCPacket (int version_, long src_, long group_,
long srcmask_, int pruneLifetime_)
{
cmd = PRUNE;
version = version_;
src = src_;
group = group_;
srcmask = srcmask_;
pruneLifetime = pruneLifetime_;
}
/** Creates a graft(-ack) packet. */
public DVMRPFCPacket (int version_, long src_, long group_,
long srcmask_, boolean ack_)
{
cmd = ack_? GRAFT_ACK: GRAFT;
version = version_;
src = src_;
group = group_;
srcmask = srcmask_;
}
private DVMRPFCPacket (int cmd_, int version_, long src_, long group_,
long srcmask_, int pruneLifetime_)
{
cmd = cmd_;
version = version_;
src = src_;
group = group_;
srcmask = srcmask_;
pruneLifetime = pruneLifetime_;
}
public int getCommand()
{ return cmd; }
public int getVersion()
{ return version; }
public boolean isPrune()
{ return cmd == PRUNE; }
public boolean isGraft()
{ return cmd == GRAFT; }
public boolean isGraftAck()
{ return cmd == GRAFT_ACK; }
/** Retrieves the source field. */
public long getSource()
{ return src; }
/** Retrieves the group field. */
public long getGroup()
{ return group; }
/** Retrieves the source network mask field. */
public long getSourceMask()
{ return srcmask; }
/** Retrieves the prune lifetime field. */
public int getPruneLifetime()
{ return pruneLifetime; }
public void setCommand(int value_)
{ cmd = value_; }
public void setVersion(int value_)
{ version = value_; }
public void setSource(long value_)
{ src = value_; }
public void setSourceMask(long value_)
{ srcmask = value_; }
public void setGroup(long value_)
{ group = value_; }
public void setPruneLifetime(int value_)
{ pruneLifetime = value_; }
public void duplicate(Object source_)
{
DVMRPFCPacket that_ = (DVMRPFCPacket)source_;
cmd = that_.cmd;
version = that_.version;
src = that_.src;
group = that_.group;
srcmask = that_.srcmask;
if (cmd == PRUNE) pruneLifetime = that_.pruneLifetime;
}
public Object clone()
{ return new DVMRPFCPacket (cmd, version, src, group, srcmask, pruneLifetime); }
public String toString()
{
return "DVMRPv" + version + "_" + CMDS[cmd] + ",src:" + src + "/" + srcmask
+ ",group:" + group + (cmd == PRUNE? ",pruneLifetime:" + pruneLifetime: "");
}
} |
// HyperionDispay.cpp
// tetra-table
#include "HyperionDisplay.hpp"
#include "../util/Base64.hpp"
#include <iostream>
static const int COLOR_SIZE = 3;
HyperionDisplay::HyperionDisplay(int width, int height) : m_width(width), m_height(height), m_bufferSize(width*height*3), m_buffer(new uint8_t[m_bufferSize]) {
clearBuffer();
}
HyperionDisplay::~HyperionDisplay() {
delete[] m_buffer;
}
void HyperionDisplay::clearBuffer() {
memset(m_buffer, 0, m_bufferSize);
}
void HyperionDisplay::redraw() {
}
void HyperionDisplay::drawNextPiece(TetraTablePiece::Ptr nextPiece) {
drawPiece(nextPiece, 0, 0);
}
void HyperionDisplay::drawHeldPiece(TetraTablePiece::Ptr heldPiece) {
drawPiece(heldPiece, 0, 2);
}
void HyperionDisplay::drawScore(int score) {
}
void HyperionDisplay::drawLevel(int level) {
}
void HyperionDisplay::drawRemainingLines(int remainingLines) {
}
/*
00 ->
01 <-
02 ->
03 <-
04 ->
05 <-
06 ->
07 <-
08 ->
09 <-
10 ->
11 <-
12 ->
13 <-
14 ->
15 <-
16 ->
17 <-
18 ->
19 <-
0123456789
Y is Even, is going in order
Y is Odd, is going reverse order
*/
void HyperionDisplay::flush() {
std::cout << base64_encode(m_buffer, m_bufferSize) << "\n";
}
void HyperionDisplay::drawPoint(int x, int y, char ch, const Color& color) {
int pos = y * (m_width * COLOR_SIZE);
if (y % 2 == 0) {
pos += x;
} else {
pos += ((m_width - x) * COLOR_SIZE);
}
if (pos < m_bufferSize - COLOR_SIZE) {
color.writeTo(m_buffer+pos);
}
} |
package gov.va.cpe.vpr.dao.solr;
import org.apache.solr.common.SolrInputDocument;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.hasItem;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public abstract class <API key> {
protected <API key> converter;
@Before
public void setUp() throws Exception {
converter = new <API key>();
}
@Test
public abstract void testSolrView() throws Exception;
public void assertExcluded(SolrInputDocument doc, String fieldName) {
assertThat("The field '" + fieldName + "' is not excluded from Solr JSON", doc.keySet(), not(hasItem(fieldName)));
}
} |
FROM agabert/bristolbase
LABEL maintainer="alex@xoreaxeax.de"
ADD sbin /opt/bristol/sbin
ADD fabfile.py /opt/bristol/fabfile.py
ADD lib /opt/bristol/lib
ADD include /opt/bristol/include
ADD templates /opt/bristol/templates |
use std::error::Error as StdError;
use std::string;
use std::{fmt, io};
The errors that can arise while parsing a JSON stream.
#[derive(Clone, Copy, PartialEq)]
pub enum ErrorCode {
InvalidSyntax,
InvalidNumber,
<API key>,
<API key>,
<API key>,
<API key>,
KeyMustBeAString,
ExpectedColon,
TrailingCharacters,
TrailingComma,
InvalidEscape,
<API key>,
<API key>,
<API key>,
UnrecognizedHex,
NotFourDigit,
<API key>,
NotUtf8,
}
#[derive(Debug)]
pub enum ParserError {
msg, line, col
SyntaxError(ErrorCode, usize, usize),
IoError(io::Error),
}
impl PartialEq for ParserError {
fn eq(&self, other: &ParserError) -> bool {
match (self, other) {
(&ParserError::SyntaxError(msg0, line0, col0), &ParserError::SyntaxError(msg1, line1, col1)) =>
msg0 == msg1 && line0 == line1 && col0 == col1,
(&ParserError::IoError(_), _) => false,
(_, &ParserError::IoError(_)) => false,
}
}
}
Returns a readable error string for a given error code.
pub fn error_str(error: ErrorCode) -> &'static str {
match error {
ErrorCode::InvalidSyntax => "invalid syntax",
ErrorCode::InvalidNumber => "invalid number",
ErrorCode::<API key> => "EOF While parsing object",
ErrorCode::<API key> => "EOF While parsing array",
ErrorCode::<API key> => "EOF While parsing value",
ErrorCode::<API key> => "EOF While parsing string",
ErrorCode::KeyMustBeAString => "key must be a string",
ErrorCode::ExpectedColon => "expected `:`",
ErrorCode::TrailingCharacters => "trailing characters",
ErrorCode::TrailingComma => "trailing comma",
ErrorCode::InvalidEscape => "invalid escape",
ErrorCode::UnrecognizedHex => "invalid \\u{ esc}ape (unrecognized hex)",
ErrorCode::NotFourDigit => "invalid \\u{ esc}ape (not four digits)",
ErrorCode::<API key> => "unescaped control character in string",
ErrorCode::NotUtf8 => "contents not utf-8",
ErrorCode::<API key> => "invalid Unicode code point",
ErrorCode::<API key> => "lone leading surrogate in hex escape",
ErrorCode::<API key> => "unexpected end of hex escape",
}
}
#[derive(PartialEq, Debug)]
pub enum DecoderError {
ParseError(ParserError),
ExpectedError(string::String, string::String),
MissingFieldError(string::String),
UnknownVariantError(string::String),
ApplicationError(string::String),
EOF,
}
#[derive(Copy, Debug)]
pub enum EncoderError {
FmtError(fmt::Error),
BadHashmapKey,
}
impl Clone for EncoderError {
fn clone(&self) -> Self { *self }
}
impl fmt::Debug for ErrorCode {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
error_str(*self).fmt(f)
}
}
impl StdError for DecoderError {
fn description(&self) -> &str { "decoder error" }
fn cause(&self) -> Option<&StdError> {
match *self {
DecoderError::ParseError(ref e) => Some(e),
_ => None,
}
}
}
impl fmt::Display for DecoderError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::Debug::fmt(&self, f)
}
}
impl From<ParserError> for DecoderError {
fn from(err: ParserError) -> DecoderError {
DecoderError::ParseError(From::from(err))
}
}
impl StdError for ParserError {
fn description(&self) -> &str { "failed to parse json" }
}
impl fmt::Display for ParserError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::Debug::fmt(&self, f)
}
}
impl From<io::Error> for ParserError {
fn from(err: io::Error) -> ParserError {
ParserError::IoError(err)
}
}
impl StdError for EncoderError {
fn description(&self) -> &str { "encoder error" }
}
impl fmt::Display for EncoderError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::Debug::fmt(&self, f)
}
}
impl From<fmt::Error> for EncoderError {
fn from(err: fmt::Error) -> EncoderError { EncoderError::FmtError(err) }
} |
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em><API key></em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1">
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
<tr bgcolor="9a6087"> <td>15/08/20 20:06:13</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="9a6087"> <td>15/08/20 20:06:18</td> <td>5243</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8d8ecc"> <td>15/08/20 20:07:17</td> <td>63970</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>1246953167 248966696 </td> </tr>
<tr bgcolor="8d8ecc"> <td>15/08/20 20:07:18</td> <td>64550</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>1246953167 248966696 </td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:07</td> <td>-665647</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fb84d3"> <td>15/08/20 19:55:14</td> <td>-659371</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8ea1dd"> <td>15/08/20 19:55:24</td> <td>-649076</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:30</td> <td>-643422</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:31</td> <td>-642291</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:31</td> <td>-642214</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:31</td> <td>-642147</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:45</td> <td>-628460</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="bc8a85"> <td>15/08/20 19:55:50</td> <td>-622948</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:01</td> <td>-611967</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="72b967"> <td>15/08/20 19:56:12</td> <td>-601320</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="aba9a2"> <td>15/08/20 19:56:24</td> <td>-588974</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dddcf"> <td>15/08/20 19:56:38</td> <td>-575012</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fda662"> <td>15/08/20 19:59:02</td> <td>-431030</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6275fa"> <td>15/08/20 20:01:22</td> <td>-291467</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8fa0d1"> <td>15/08/20 20:01:34</td> <td>-278944</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.Change<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:59</td> <td>-194208</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="da8797"> <td>15/08/20 20:05:22</td> <td>-50648</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="a492fb"> <td>15/08/20 20:05:30</td> <td>-42627</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dd4c8"> <td>15/08/20 20:05:38</td> <td>-34625</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6cafa1"> <td>15/08/20 20:05:44</td> <td>-29240</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="de7497"> <td>15/08/20 20:05:53</td> <td>-20228</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.cleanUpArtifacts()"><<cleanUpArtifacts</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="77e675"> <td>15/08/20 20:05:59</td> <td>-13620</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.api.lifecycle.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:04</td> <td>-9285</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.login.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:05</td> <td>-7792</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.login.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="9a6087"> <td>15/08/20 20:06:31</td> <td>17997</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.other.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="78feba"> <td>15/08/20 20:06:43</td> <td>30371</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.resources.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1373945550 11202659 </td> </tr>
<tr bgcolor="78feba"> <td>15/08/20 20:06:53</td> <td>39978</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.resources.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1373945550 11202659 </td> </tr>
<tr bgcolor="b6a561"> <td>15/08/20 20:07:00</td> <td>46646</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.version.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>764103883 341752521 </td> </tr>
<tr bgcolor="b6a561"> <td>15/08/20 20:07:08</td> <td>55034</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.version.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>764103883 341752521 </td> </tr>
<tr bgcolor="b9e7fc"> <td>15/08/20 20:07:12</td> <td>58932</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.rest.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1698437993 1294712427 </td> </tr>
<tr bgcolor="b9e7fc"> <td>15/08/20 20:07:15</td> <td>62432</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.rest.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1698437993 1294712427 </td> </tr>
<tr bgcolor="8d8ecc"> <td>15/08/20 20:07:17</td> <td>64179</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.other.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1246953167 248966696 </td> </tr>
<tr bgcolor="8d8ecc"> <td>15/08/20 20:07:18</td> <td>64702</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.other.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1246953167 248966696 </td> </tr>
<tr bgcolor="fa7b8d"> <td>15/08/20 20:07:26</td> <td>72689</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.other.APIScopeTestCase.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>19614086 </td> </tr>
<tr bgcolor="7574b9"> <td>15/08/20 20:07:34</td> <td>81047</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.other.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="776ebf"> <td>15/08/20 20:07:41</td> <td>87791</td> <td> </td><td> </td><td title="<<org.wso2.am.integration.tests.other.<API key>.destroy()"><<destroy</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:55:01</td> <td>-672491</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:55:09</td> <td>-663934</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:55:15</td> <td>-657908</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:55:31</td> <td>-642080</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:55:46</td> <td>-626937</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:55:51</td> <td>-621714</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:56:02</td> <td>-610782</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:56:14</td> <td>-598624</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:56:26</td> <td>-587431</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:56:42</td> <td>-571062</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 19:59:04</td> <td>-428793</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:01:23</td> <td>-289880</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:01:36</td> <td>-277491</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:03:00</td> <td>-192634</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:05:24</td> <td>-48910</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:05:31</td> <td>-41694</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:05:40</td> <td>-33140</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:05:45</td> <td>-28205</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="648998"> <td>15/08/20 20:05:54</td> <td>-18619</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.init()">>>init</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:01</td> <td>-672359</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fb84d3"> <td>15/08/20 19:55:09</td> <td>-663828</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8ea1dd"> <td>15/08/20 19:55:15</td> <td>-657798</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:31</td> <td>-641980</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="bc8a85"> <td>15/08/20 19:55:46</td> <td>-626848</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:55:51</td> <td>-621633</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="72b967"> <td>15/08/20 19:56:02</td> <td>-610699</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="aba9a2"> <td>15/08/20 19:56:15</td> <td>-598531</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dddcf"> <td>15/08/20 19:56:26</td> <td>-587351</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fda662"> <td>15/08/20 19:56:42</td> <td>-570972</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6275fa"> <td>15/08/20 19:59:04</td> <td>-428711</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8fa0d1"> <td>15/08/20 20:01:23</td> <td>-289797</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.Change<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:36</td> <td>-277414</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="da8797"> <td>15/08/20 20:03:00</td> <td>-192557</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="a492fb"> <td>15/08/20 20:05:24</td> <td>-48830</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dd4c8"> <td>15/08/20 20:05:31</td> <td>-41618</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6cafa1"> <td>15/08/20 20:05:40</td> <td>-33065</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="de7497"> <td>15/08/20 20:05:45</td> <td>-28108</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="77e675"> <td>15/08/20 20:05:55</td> <td>-18542</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.initialize()">>>initialize</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:01</td> <td>-12191</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.login.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:01</td> <td>-11916</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.login.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="9a6087"> <td>15/08/20 20:06:05</td> <td>-7791</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.other.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="78feba"> <td>15/08/20 20:06:34</td> <td>20943</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.resources.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1373945550 11202659 </td> </tr>
<tr bgcolor="78feba"> <td>15/08/20 20:06:43</td> <td>30371</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.resources.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1373945550 11202659 </td> </tr>
<tr bgcolor="b6a561"> <td>15/08/20 20:06:53</td> <td>39979</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.version.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>764103883 341752521 </td> </tr>
<tr bgcolor="b6a561"> <td>15/08/20 20:07:02</td> <td>48618</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.version.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>764103883 341752521 </td> </tr>
<tr bgcolor="b9e7fc"> <td>15/08/20 20:07:10</td> <td>57082</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.rest.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1698437993 1294712427 </td> </tr>
<tr bgcolor="b9e7fc"> <td>15/08/20 20:07:14</td> <td>60580</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.rest.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1698437993 1294712427 </td> </tr>
<tr bgcolor="8d8ecc"> <td>15/08/20 20:07:17</td> <td>63881</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.other.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1246953167 248966696 </td> </tr>
<tr bgcolor="8d8ecc"> <td>15/08/20 20:07:18</td> <td>64477</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.other.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>1246953167 248966696 </td> </tr>
<tr bgcolor="fa7b8d"> <td>15/08/20 20:07:18</td> <td>65048</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.other.APIScopeTestCase.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td>19614086 </td> </tr>
<tr bgcolor="7574b9"> <td>15/08/20 20:07:28</td> <td>74806</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.other.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="776ebf"> <td>15/08/20 20:07:35</td> <td>81990</td> <td> </td><td> </td><td title=">>org.wso2.am.integration.tests.other.<API key>.setEnvironment()">>>setEnvironment</td>
<td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="96ae83"> <td>15/08/20 19:55:00</td> <td>-673289</td> <td> </td><td title=">>org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()">>><API key></td>
<td> </td><td> </td><td> </td><td> </td> <td>main@111947068</td> <td></td> </tr>
<tr bgcolor="bc8a85"> <td>15/08/20 19:55:47</td> <td>-626428</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.testAPICreation()">testAPICreation</td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="aba9a2"> <td>15/08/20 19:56:15</td> <td>-598100</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="bc8a85"> <td>15/08/20 19:55:49</td> <td>-624407</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.testAPIPublishing()">testAPIPublishing</td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="7574b9"> <td>15/08/20 20:07:30</td> <td>76899</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="776ebf"> <td>15/08/20 20:07:37</td> <td>83976</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:07</td> <td>-665895</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6cafa1"> <td>15/08/20 20:05:44</td> <td>-29517</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6cafa1"> <td>15/08/20 20:05:44</td> <td>-29315</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6cafa1"> <td>15/08/20 20:05:41</td> <td>-32530</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:06</td> <td>-667064</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="b6a561"> <td>15/08/20 20:06:55</td> <td>42381</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.version.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>764103883 341752521 </td> </tr>
<tr bgcolor="b6a561"> <td>15/08/20 20:07:04</td> <td>50794</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.version.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>764103883 341752521 </td> </tr>
<tr bgcolor="de7497"> <td>15/08/20 20:05:50</td> <td>-23130</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dd4c8"> <td>15/08/20 20:05:36</td> <td>-37299</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.testEditAPIContext()">testEditAPIContext</td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="a492fb"> <td>15/08/20 20:05:25</td> <td>-48538</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fda662"> <td>15/08/20 19:57:52</td> <td>-500573</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="aba9a2"> <td>15/08/20 19:56:19</td> <td>-594164</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.testEditEndPointURL()">testEditEndPointURL</td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dddcf"> <td>15/08/20 19:56:26</td> <td>-587057</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:01</td> <td>-11968</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.login.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:01</td> <td>-11669</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.login.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:01</td> <td>-11605</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.login.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:02</td> <td>-11257</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.login.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="6dd4c8"> <td>15/08/20 20:05:38</td> <td>-34774</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dd4c8"> <td>15/08/20 20:05:38</td> <td>-34805</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="aba9a2"> <td>15/08/20 19:56:22</td> <td>-591319</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:07</td> <td>-665694</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6dd4c8"> <td>15/08/20 20:05:32</td> <td>-41230</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fb84d3"> <td>15/08/20 19:55:10</td> <td>-663312</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:01</td> <td>-671644</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="81618b"> <td>15/08/20 19:55:26</td> <td>-646567</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:42</td> <td>-631442</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:31</td> <td>-641629</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8fa0d1"> <td>15/08/20 20:01:31</td> <td>-281881</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.Change<API key>.<API key><API key>()"><API key><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:40</td> <td>-273130</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:42</td> <td>-270643</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:45</td> <td>-268068</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:48</td> <td>-265445</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:50</td> <td>-262624</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:53</td> <td>-260026</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:56</td> <td>-257486</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:58</td> <td>-254938</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:01</td> <td>-252280</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:03</td> <td>-249582</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:06</td> <td>-246956</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:09</td> <td>-244283</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:11</td> <td>-241692</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:14</td> <td>-238986</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:17</td> <td>-236404</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:19</td> <td>-233792</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:22</td> <td>-231083</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:25</td> <td>-228334</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:27</td> <td>-225693</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:30</td> <td>-223037</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:33</td> <td>-220414</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:35</td> <td>-217719</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:38</td> <td>-215108</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:41</td> <td>-212516</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:43</td> <td>-209855</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:46</td> <td>-207274</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:48</td> <td>-204662</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:51</td> <td>-202039</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:54</td> <td>-199320</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:02:56</td> <td>-196831</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>(java.lang.String)"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8766f6"> <td>15/08/20 20:01:36</td> <td>-277127</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key><API key>()"><API key><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8ea1dd"> <td>15/08/20 19:55:24</td> <td>-649231</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8ea1dd"> <td>15/08/20 19:55:23</td> <td>-650228</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:36</td> <td>-637494</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:39</td> <td>-634457</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="84f566"> <td>15/08/20 19:55:36</td> <td>-637518</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8fa0d1"> <td>15/08/20 20:01:28</td> <td>-284713</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.Change<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8fa0d1"> <td>15/08/20 20:01:24</td> <td>-289497</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.Change<API key>.<API key><API key>()"><API key><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fda662"> <td>15/08/20 19:56:47</td> <td>-565633</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6275fa"> <td>15/08/20 19:59:10</td> <td>-423512</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="da8797"> <td>15/08/20 20:04:14</td> <td>-118835</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="da8797"> <td>15/08/20 20:03:06</td> <td>-186867</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="da8797"> <td>15/08/20 20:03:01</td> <td>-192274</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6275fa"> <td>15/08/20 19:59:05</td> <td>-428405</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="6275fa"> <td>15/08/20 20:00:16</td> <td>-357135</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fda662"> <td>15/08/20 19:56:42</td> <td>-570680</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="fda662"> <td>15/08/20 19:57:55</td> <td>-497732</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:02</td> <td>-10980</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.login.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="85eea9"> <td>15/08/20 20:06:04</td> <td>-9285</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.login.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>409692872 875527422 </td> </tr>
<tr bgcolor="de7497"> <td>15/08/20 20:05:45</td> <td>-27731</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="77e675"> <td>15/08/20 20:05:55</td> <td>-18263</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="8ea1dd"> <td>15/08/20 19:55:19</td> <td>-653709</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="b9e7fc"> <td>15/08/20 20:07:12</td> <td>58871</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.rest.<API key>.testRESTURITemplate()">testRESTURITemplate</td>
<td>main@111947068</td> <td>1698437993 1294712427 </td> </tr>
<tr bgcolor="b9e7fc"> <td>15/08/20 20:07:15</td> <td>62394</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.rest.<API key>.testRESTURITemplate()">testRESTURITemplate</td>
<td>main@111947068</td> <td>1698437993 1294712427 </td> </tr>
<tr bgcolor="78feba"> <td>15/08/20 20:06:34</td> <td>21012</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.resources.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>1373945550 11202659 </td> </tr>
<tr bgcolor="78feba"> <td>15/08/20 20:06:43</td> <td>30440</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.resources.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td>1373945550 11202659 </td> </tr>
<tr bgcolor="fa7b8d"> <td>15/08/20 20:07:18</td> <td>65118</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.other.APIScopeTestCase.<API key>()"><API key></td>
<td>main@111947068</td> <td>19614086 </td> </tr>
<tr bgcolor="8ea1dd"> <td>15/08/20 19:55:16</td> <td>-657295</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="a492fb"> <td>15/08/20 20:05:30</td> <td>-42746</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="de7497"> <td>15/08/20 20:05:50</td> <td>-23265</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-612624</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-612598</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:55:59</td> <td>-613566</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-613484</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="72b967"> <td>15/08/20 19:56:12</td> <td>-601444</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="72b967"> <td>15/08/20 19:56:12</td> <td>-601335</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:01</td> <td>-612486</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-613189</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-613038</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-613406</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:56:00</td> <td>-613325</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:55:56</td> <td>-616872</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="72b967"> <td>15/08/20 19:56:05</td> <td>-607812</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="d2efa1"> <td>15/08/20 19:55:59</td> <td>-613784</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="72b967"> <td>15/08/20 19:56:11</td> <td>-601553</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="bc8a85"> <td>15/08/20 19:55:50</td> <td>-623035</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
<tr bgcolor="bc8a85"> <td>15/08/20 19:55:49</td> <td>-624499</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.wso2.am.integration.tests.api.lifecycle.<API key>.<API key>()"><API key></td>
<td>main@111947068</td> <td></td> </tr>
</table> |
namespace Sample09.ViewModels
{
public class CustomerViewModel
{
public string Bio { get; set; }
public string CustomerName { get; set; }
}
} |
import {
DEFAULT_BIN_TYPE,
DEFAULT_INTERVAL,
DEFAULT_RANGES,
} from '@ncigdc/modern_components/ClinicalAnalysis/<API key>/helpers';
export default {
'demographic.ethnicity': {
active_calculation: 'number',
active_chart: 'histogram',
active_survival: 'overall',
bins: {},
customBinsId: '',
customBinsSetId: '',
customSurvivalPlots: [],
isSurvivalCustom: false,
plotTypes: 'categorical',
scrollToCard: false,
showOverallSurvival: false,
type: 'Demographic',
},
'demographic.gender': {
active_calculation: 'number',
active_chart: 'histogram',
active_survival: 'overall',
bins: {},
customBinsId: '',
customBinsSetId: '',
customSurvivalPlots: [],
isSurvivalCustom: false,
plotTypes: 'categorical',
scrollToCard: false,
showOverallSurvival: false,
type: 'Demographic',
},
'demographic.race': {
active_calculation: 'number',
active_chart: 'histogram',
active_survival: 'overall',
bins: [],
customBinsId: '',
customBinsSetId: '',
customSurvivalPlots: [],
isSurvivalCustom: false,
plotTypes: 'categorical',
scrollToCard: false,
showOverallSurvival: false,
type: 'Demographic',
},
'diagnoses.age_at_diagnosis': {
active_calculation: 'number',
active_chart: 'histogram',
active_survival: 'overall',
bins: {},
continuousBinType: DEFAULT_BIN_TYPE,
customInterval: DEFAULT_INTERVAL,
customRanges: DEFAULT_RANGES,
customSurvivalPlots: [],
isSurvivalCustom: false,
plotTypes: 'continuous',
scrollToCard: false,
showOverallSurvival: false,
type: 'Diagnosis',
},
'diagnoses.primary_diagnosis': {
active_calculation: 'number',
active_chart: 'histogram',
active_survival: 'overall',
bins: {},
customBinsId: '',
customBinsSetId: '',
customSurvivalPlots: [],
isSurvivalCustom: false,
plotTypes: 'categorical',
scrollToCard: false,
showOverallSurvival: false,
type: 'Diagnosis',
},
}; |
package li.moskito.awtt.protocol.http;
import java.net.URI;
import java.util.List;
import li.moskito.awtt.protocol.Header;
import li.moskito.awtt.protocol.HeaderField;
/**
* A HTTP header that can be used either for requests or responses, depending on the constructor used.
*
* @author Gerald
*/
public class HttpHeader extends Header {
private final HttpCommands command;
private final URI resource;
private final HttpStatusCodes statusCode;
/**
* Creates a HTTP request header for the specified HTTP version.
*
* @param version
*/
public HttpHeader(final HttpVersion version, final HttpCommands command, final URI resource) {
super(version);
this.command = command;
this.resource = resource;
this.statusCode = null;
}
/**
* Creates a HTTP request header for HTTP/1.1.
*
* @param version
*/
public HttpHeader(final HttpCommands command, final URI resource) {
this(HttpVersion.HTTP_1_1, command, resource);
}
/**
* Creates a HTTP response header for the specified HTTP version.
*
* @param version
*/
public HttpHeader(final HttpVersion version, final HttpStatusCodes statusCode) {
super(version);
this.statusCode = statusCode;
this.command = null;
this.resource = null;
}
/**
* Creates a HTTP response header for HTTP/1.1
*
* @param version
*/
public HttpHeader(final HttpStatusCodes statusCode) {
this(HttpVersion.HTTP_1_1, statusCode);
}
/**
* Retrieves the command of this request header
*
* @return the command or <code>null</code> if it is a response
*/
public HttpCommands getCommand() {
return this.command;
}
/**
* Retrieves the target resource of this request header
*
* @return the resource or <code>null</code> if it is a response
*/
public URI getResource() {
return this.resource;
}
/**
* Retrieves the status code of this response header
*
* @return the status code or <code>null</code> if it is a request
*/
public HttpStatusCodes getStatusCode() {
return this.statusCode;
}
@Override
public HttpVersion getVersion() {
return (HttpVersion) super.getVersion();
}
/**
* Checks if the header denotes a request
*
* @return <code>true</code> if it is a request
*/
public boolean isRequest() {
return this.command != null && this.resource != null;
}
/**
* Checks if the header denotes a response
*
* @return <code>true</code> if it is a response
*/
public boolean isResponse() {
return this.statusCode != null;
}
/**
* @param fields
*/
@SuppressWarnings("unchecked")
public void addHttpHeaderFields(final List<HttpHeaderField> fields) {
final List<?> typeErasedFields = fields;
super.addFields((List<HeaderField>) typeErasedFields);
}
} |
<?php
class ChangeableValue extends AppModel {
}
?> |
package com.ontraport.app.tests;
import java.util.Calendar;
import org.junit.Assert;
import org.junit.Test;
import com.ontraport.app.pages.Contact_ListAll;
import com.ontraport.app.pages.Rule_Create;
import com.ontraport.app.pages.Rule_Edit;
import com.ontraport.app.pages.Rule_ListAll;
import com.ontraport.app.parts.SiteMenu;
import com.ontraport.app.tools.AbstractTest;
import com.ontraport.app.tools.Common;
public class CreateRule_TC0040 extends AbstractTest {
String ruleName = "SelRule" + Calendar.getInstance().getTimeInMillis();
@Test
public void <API key>()
throws Exception {
Rule_ListAll ruleListAll = navigateToRulesPage();
Rule_Create ruleCreate = ruleListAll.ruleCreate();
Common.waitForPage(driver, 3);
ruleCreate= ruleCreate.inputRuleName(ruleName);
Common.waitForPage(driver, 2);
String[] placeHolders = { "Select Trigger...", "Select Product" };
String[] selectOptions = { "Purchases Product", "Any Product" };
ruleCreate = ruleCreate.<API key>(placeHolders,selectOptions);
Common.waitForPage(driver, 2);
String[] placeHolders1 = { "Select Action..." };
String[] selectOptions1 = { "Recharge all declined transactions" };
ruleCreate = ruleCreate.<API key>(placeHolders1,selectOptions1);
ruleListAll= ruleCreate.clickSaveButton();
Common.waitForPage(driver, 3);
ruleListAll.<API key>();
boolean b1= ruleListAll.isElementPresent(ruleName);
Assert.assertTrue("Rule Created", b1);
Rule_Edit ruleEdit= ruleListAll.editRule(ruleName);
Common.waitForPage(driver, 3);
boolean b2=ruleEdit.verifyRuleName(ruleName);
boolean b3= ruleEdit.<API key>("Purchases ");
boolean b4 = ruleEdit.<API key>("Select Product","Any Product");
boolean b5 = ruleEdit.<API key>("Recharge all declined transactions");
System.out.println(b2);
System.out.println(b3);
System.out.println(b4);
System.out.println(b5);
Assert.assertTrue("Rule Name", b2);
Assert.assertTrue("When This Happens", b3);
Assert.assertTrue("When This Happens", b4);
Assert.assertTrue("Then Do This", b5);
}
public Rule_ListAll navigateToRulesPage() throws Exception {
SiteMenu siteMenu= (SiteMenu) new SiteMenu().init();
Common.waitForPage(driver, 3);
Contact_ListAll contact_ListAll = siteMenu.contacts();
Common.waitForPage(driver, 3);
Rule_ListAll ruleListAll = contact_ListAll.navRules();
return ruleListAll;
}
} |
<?php
// Moodle is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Moodle is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
defined('MOODLE_INTERNAL') || die();
$string['log:view'] = 'Ver logs de los cursos';
$string['log:viewtoday'] = 'Ver logs de güei.'; |
// <auto-generated>
// :4.0.30319.42000
// </auto-generated>
namespace MsgPack.Serialization.<API key> {
[System.CodeDom.Compiler.<API key>("MsgPack.Serialization.CodeDomSerializers.<API key>", "0.9.0.0")]
[System.Diagnostics.<API key>()]
public class MsgPack_Serialization_PolymorphicMemberTypeRuntimeType_Tuple_Tuple7AllPolymorphicReadWriteFieldSerializer : MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>> {
private MsgPack.Serialization.<API key><System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>> _serializer0;
private System.Collections.Generic.IList<System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>> _packOperationList;
private System.Collections.Generic.IDictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>> _packOperationTable;
private System.Collections.Generic.IDictionary<string, System.Func<MsgPack.Serialization.<API key>, bool>> _nullCheckersTable;
private System.Collections.Generic.IList<System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>> <API key>;
private System.Collections.Generic.IDictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>> <API key>;
private System.Action<MsgPack.Serialization.<API key>, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>> <API key>;
private System.Collections.Generic.IList<string> _memberNames;
private System.Collections.Generic.IList<System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>> <API key>;
private System.Collections.Generic.IDictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>> <API key>;
private System.Collections.Generic.IList<System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>> <API key>;
private System.Collections.Generic.IDictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>> <API key>;
public MsgPack_Serialization_PolymorphicMemberTypeRuntimeType_Tuple_Tuple7AllPolymorphicReadWriteFieldSerializer(MsgPack.Serialization.<API key> context) :
base(context, (MsgPack.Serialization.<API key>.PackTo | MsgPack.Serialization.<API key>.UnpackFrom)) {
MsgPack.Serialization.PolymorphismSchema schema0 = default(MsgPack.Serialization.PolymorphismSchema);
MsgPack.Serialization.PolymorphismSchema[] tupleItemsSchema0 = default(MsgPack.Serialization.PolymorphismSchema[]);
tupleItemsSchema0 = new MsgPack.Serialization.PolymorphismSchema[7];
MsgPack.Serialization.PolymorphismSchema tupleItemSchema0 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema0 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[0] = tupleItemSchema0;
MsgPack.Serialization.PolymorphismSchema tupleItemSchema1 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema1 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[1] = tupleItemSchema1;
MsgPack.Serialization.PolymorphismSchema tupleItemSchema2 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema2 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[2] = tupleItemSchema2;
MsgPack.Serialization.PolymorphismSchema tupleItemSchema3 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema3 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[3] = tupleItemSchema3;
MsgPack.Serialization.PolymorphismSchema tupleItemSchema4 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema4 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[4] = tupleItemSchema4;
MsgPack.Serialization.PolymorphismSchema tupleItemSchema5 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema5 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[5] = tupleItemSchema5;
MsgPack.Serialization.PolymorphismSchema tupleItemSchema6 = default(MsgPack.Serialization.PolymorphismSchema);
tupleItemSchema6 = MsgPack.Serialization.PolymorphismSchema.<API key>(typeof(MsgPack.Serialization.FileSystemEntry));
tupleItemsSchema0[6] = tupleItemSchema6;
schema0 = MsgPack.Serialization.PolymorphismSchema.ForPolymorphicTuple(typeof(System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>), tupleItemsSchema0);
this._serializer0 = context.GetSerializer<System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>>(schema0);
System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>[] packOperationList = default(System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>[]);
packOperationList = new System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>[1];
packOperationList[0] = new System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>(this.<API key>);
this._packOperationList = packOperationList;
System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>[] <API key> = default(System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>[]);
<API key> = new System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>[1];
<API key>[0] = new System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.<API key>);
this.<API key> = <API key>;
System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>> packOperationTable = default(System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>>);
packOperationTable = new System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>>(1);
packOperationTable["<API key>"] = new System.Action<MsgPack.Packer, MsgPack.Serialization.<API key>>(this.<API key>);
this._packOperationTable = packOperationTable;
System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>> <API key> = default(System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>>);
<API key> = new System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>>(1);
<API key>["<API key>"] = new System.Func<MsgPack.Packer, MsgPack.Serialization.<API key>, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.<API key>);
this.<API key> = <API key>;
System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Serialization.<API key>, bool>> nullCheckerTable = default(System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Serialization.<API key>, bool>>);
nullCheckerTable = new System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Serialization.<API key>, bool>>(1);
nullCheckerTable["<API key>"] = new System.Func<MsgPack.Serialization.<API key>, bool>(this.<API key>);
this._nullCheckersTable = nullCheckerTable;
System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>[] unpackOperationList = default(System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>[]);
unpackOperationList = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>[1];
unpackOperationList[0] = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>(this.<API key>);
this.<API key> = unpackOperationList;
System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[] <API key> = default(System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[]);
<API key> = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>[1];
<API key>[0] = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.<API key>);
this.<API key> = <API key>;
System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>> <API key> = default(System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>>);
<API key> = new System.Collections.Generic.Dictionary<string, System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>>(1);
<API key>["<API key>"] = new System.Action<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int>(this.<API key>);
this.<API key> = <API key>;
System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>> <API key> = default(System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>>);
<API key> = new System.Collections.Generic.Dictionary<string, System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>>(1);
<API key>["<API key>"] = new System.Func<MsgPack.Unpacker, MsgPack.Serialization.<API key>, int, int, System.Threading.CancellationToken, System.Threading.Tasks.Task>(this.<API key>);
this.<API key> = <API key>;
this._memberNames = new string[] {
"<API key>"};
this.<API key> = new System.Action<MsgPack.Serialization.<API key>, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>>(this.<API key>);
}
private void <API key>(MsgPack.Packer packer, MsgPack.Serialization.<API key> objectTree) {
this._serializer0.PackTo(packer, objectTree.<API key>);
}
private bool <API key>(MsgPack.Serialization.<API key> objectTree) {
return (objectTree.<API key> == null);
}
protected internal override void PackToCore(MsgPack.Packer packer, MsgPack.Serialization.<API key> objectTree) {
MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>> <API key> = default(MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>>);
<API key>.Packer = packer;
<API key>.Target = objectTree;
<API key>.Operations = this._packOperationList;
MsgPack.Serialization.PackToMapParameters<MsgPack.Serialization.<API key>> <API key> = default(MsgPack.Serialization.PackToMapParameters<MsgPack.Serialization.<API key>>);
<API key>.Packer = packer;
<API key>.Target = objectTree;
<API key>.Operations = this._packOperationTable;
<API key>.<API key> = this.OwnerContext;
<API key>.NullCheckers = this._nullCheckersTable;
if ((this.OwnerContext.SerializationMethod == MsgPack.Serialization.SerializationMethod.Array)) {
MsgPack.Serialization.PackHelpers.PackToArray(ref <API key>);
}
else {
MsgPack.Serialization.PackHelpers.PackToMap(ref <API key>);
}
}
private System.Threading.Tasks.Task <API key>(MsgPack.Packer packer, MsgPack.Serialization.<API key> objectTree, System.Threading.Cancellation<API key>) {
return this._serializer0.PackToAsync(packer, objectTree.<API key>, cancellationToken);
}
protected internal override System.Threading.Tasks.Task PackToAsyncCore(MsgPack.Packer packer, MsgPack.Serialization.<API key> objectTree, System.Threading.Cancellation<API key>) {
MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>> <API key> = default(MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>>);
<API key>.Packer = packer;
<API key>.Target = objectTree;
<API key>.Operations = this.<API key>;
<API key>.Cancellation<API key>;
MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>> <API key> = default(MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>>);
<API key>.Packer = packer;
<API key>.Target = objectTree;
<API key>.Operations = this.<API key>;
<API key>.<API key> = this.OwnerContext;
<API key>.NullCheckers = this._nullCheckersTable;
<API key>.Cancellation<API key>;
if ((this.OwnerContext.SerializationMethod == MsgPack.Serialization.SerializationMethod.Array)) {
return MsgPack.Serialization.PackHelpers.PackToArrayAsync(ref <API key>);
}
else {
return MsgPack.Serialization.PackHelpers.PackToMapAsync(ref <API key>);
}
}
private void <API key>(MsgPack.Serialization.<API key> unpackingContext, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry> unpackedValue) {
unpackingContext.<API key> = unpackedValue;
}
private void <API key>(MsgPack.Unpacker unpacker, MsgPack.Serialization.<API key> unpackingContext, int indexOfItem, int itemsCount) {
MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>> <API key> = default(MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>>);
<API key>.Unpacker = unpacker;
<API key>.UnpackingContext = unpackingContext;
<API key>.Serializer = this._serializer0;
<API key>.ItemsCount = itemsCount;
<API key>.Unpacked = indexOfItem;
<API key>.TargetObjectType = typeof(System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>);
<API key>.MemberName = "<API key>";
<API key>.NilImplication = MsgPack.Serialization.NilImplication.MemberDefault;
<API key>.DirectRead = null;
<API key>.Setter = this.<API key>;
MsgPack.Serialization.UnpackHelpers.<API key>(ref <API key>);
}
protected internal override MsgPack.Serialization.<API key> UnpackFromCore(MsgPack.Unpacker unpacker) {
MsgPack.Serialization.<API key> result = default(MsgPack.Serialization.<API key>);
result = new MsgPack.Serialization.<API key>();
if (unpacker.IsArrayHeader) {
return MsgPack.Serialization.UnpackHelpers.UnpackFromArray(unpacker, result, MsgPack.Serialization.UnpackHelpers.GetIdentity<MsgPack.Serialization.<API key>>(), this._memberNames, this.<API key>);
}
else {
return MsgPack.Serialization.UnpackHelpers.UnpackFromMap(unpacker, result, MsgPack.Serialization.UnpackHelpers.GetIdentity<MsgPack.Serialization.<API key>>(), this.<API key>);
}
}
private System.Threading.Tasks.Task <API key>(MsgPack.Unpacker unpacker, MsgPack.Serialization.<API key> unpackingContext, int indexOfItem, int itemsCount, System.Threading.Cancellation<API key>) {
MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>> <API key> = default(MsgPack.Serialization.<API key><MsgPack.Serialization.<API key>, System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>>);
<API key>.Unpacker = unpacker;
<API key>.UnpackingContext = unpackingContext;
<API key>.Serializer = this._serializer0;
<API key>.ItemsCount = itemsCount;
<API key>.Unpacked = indexOfItem;
<API key>.TargetObjectType = typeof(System.Tuple<MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry, MsgPack.Serialization.FileSystemEntry>);
<API key>.MemberName = "<API key>";
<API key>.NilImplication = MsgPack.Serialization.NilImplication.MemberDefault;
<API key>.DirectRead = null;
<API key>.Setter = this.<API key>;
<API key>.Cancellation<API key>;
return MsgPack.Serialization.UnpackHelpers.<API key>(ref <API key>);
}
protected internal override System.Threading.Tasks.Task<MsgPack.Serialization.<API key>> UnpackFromAsyncCore(MsgPack.Unpacker unpacker, System.Threading.Cancellation<API key>) {
MsgPack.Serialization.<API key> result = default(MsgPack.Serialization.<API key>);
result = new MsgPack.Serialization.<API key>();
if (unpacker.IsArrayHeader) {
return MsgPack.Serialization.UnpackHelpers.<API key>(unpacker, result, MsgPack.Serialization.UnpackHelpers.GetIdentity<MsgPack.Serialization.<API key>>(), this._memberNames, this.<API key>, cancellationToken);
}
else {
return MsgPack.Serialization.UnpackHelpers.UnpackFromMapAsync(unpacker, result, MsgPack.Serialization.UnpackHelpers.GetIdentity<MsgPack.Serialization.<API key>>(), this.<API key>, cancellationToken);
}
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using Microsoft.AspNet.Authentication;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Rendering;
using WebApplication1;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
[Authorize]
public class AccountController : Controller
{
public AccountController(UserManager<ApplicationUser> userManager, SignInManager<ApplicationUser> signInManager)
{
UserManager = userManager;
SignInManager = signInManager;
}
public UserManager<ApplicationUser> UserManager { get; private set; }
public SignInManager<ApplicationUser> SignInManager { get; private set; }
// GET: /Account/Login
[HttpGet]
[AllowAnonymous]
public IActionResult Login(string returnUrl = null)
{
ViewBag.ReturnUrl = returnUrl;
return View();
}
// POST: /Account/Login
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> Login(LoginViewModel model, string returnUrl = null)
{
ViewBag.ReturnUrl = returnUrl;
if (ModelState.IsValid)
{
// This doesn't count login failures towards account lockout
// To enable password failures to trigger account lockout, set shouldLockout: true
var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);
if (result.Succeeded)
{
return RedirectToLocal(returnUrl);
}
if (result.RequiresTwoFactor)
{
return RedirectToAction("SendCode", new { ReturnUrl = returnUrl, RememberMe = model.RememberMe });
}
if (result.IsLockedOut)
{
return View("Lockout");
}
else
{
ModelState.AddModelError(string.Empty, "Invalid login attempt.");
return View(model);
}
}
// If we got this far, something failed, redisplay form
return View(model);
}
// GET: /Account/Register
[HttpGet]
[AllowAnonymous]
public IActionResult Register()
{
return View();
}
// POST: /Account/Register
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> Register(RegisterViewModel model)
{
if (ModelState.IsValid)
{
var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
var result = await UserManager.CreateAsync(user, model.Password);
if (result.Succeeded)
{
// Send an email with this link
//var code = await UserManager.<API key>(user);
//var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code = code }, protocol: Context.Request.Scheme);
//await MessageServices.SendEmailAsync(model.Email, "Confirm your account",
// "Please confirm your account by clicking this link: <a href=\"" + callbackUrl + "\">link</a>");
await SignInManager.SignInAsync(user, isPersistent: false);
return RedirectToAction("Index", "Home");
}
AddErrors(result);
}
// If we got this far, something failed, redisplay form
return View(model);
}
// POST: /Account/LogOff
[HttpPost]
[<API key>]
public IActionResult LogOff()
{
SignInManager.SignOut();
return RedirectToAction("Index", "Home");
}
// POST: /Account/ExternalLogin
[HttpPost]
[AllowAnonymous]
[<API key>]
public IActionResult ExternalLogin(string provider, string returnUrl = null)
{
// Request a redirect to the external login provider.
var redirectUrl = Url.Action("<API key>", "Account", new { ReturnUrl = returnUrl });
var properties = SignInManager.ConfigureExternal<API key>(provider, redirectUrl);
return new ChallengeResult(provider, properties);
}
// GET: /Account/<API key>
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> <API key>(string returnUrl = null)
{
var info = await SignInManager.<API key>();
if (info == null)
{
return RedirectToAction("Login");
}
// Sign in the user with this external login provider if the user already has a login.
var result = await SignInManager.<API key>(info.LoginProvider, info.ProviderKey, isPersistent: false);
if (result.Succeeded)
{
return RedirectToLocal(returnUrl);
}
if (result.RequiresTwoFactor)
{
return RedirectToAction("SendCode", new { ReturnUrl = returnUrl });
}
if (result.IsLockedOut)
{
return View("Lockout");
}
else
{
// If the user does not have an account, then ask the user to create an account.
ViewBag.ReturnUrl = returnUrl;
ViewBag.LoginProvider = info.LoginProvider;
var email = info.ExternalPrincipal.FindFirstValue(ClaimTypes.Email);
return View("<API key>", new <API key> { Email = email });
}
}
// POST: /Account/<API key>
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> <API key>(<API key> model, string returnUrl = null)
{
if (User.IsSignedIn())
{
return RedirectToAction("Index", "Manage");
}
if (ModelState.IsValid)
{
// Get the information about the user from the external login provider
var info = await SignInManager.<API key>();
if (info == null)
{
return View("<API key>");
}
var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
var result = await UserManager.CreateAsync(user);
if (result.Succeeded)
{
result = await UserManager.AddLoginAsync(user, info);
if (result.Succeeded)
{
await SignInManager.SignInAsync(user, isPersistent: false);
return RedirectToLocal(returnUrl);
}
}
AddErrors(result);
}
ViewBag.ReturnUrl = returnUrl;
return View(model);
}
// GET: /Account/ConfirmEmail
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> ConfirmEmail(string userId, string code)
{
if (userId == null || code == null)
{
return View("Error");
}
var user = await UserManager.FindByIdAsync(userId);
if (user == null)
{
return View("Error");
}
var result = await UserManager.ConfirmEmailAsync(user, code);
return View(result.Succeeded ? "ConfirmEmail" : "Error");
}
// GET: /Account/ForgotPassword
[HttpGet]
[AllowAnonymous]
public IActionResult ForgotPassword()
{
return View();
}
// POST: /Account/ForgotPassword
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> ForgotPassword(<API key> model)
{
if (ModelState.IsValid)
{
var user = await UserManager.FindByNameAsync(model.Email);
if (user == null || !(await UserManager.<API key>(user)))
{
// Don't reveal that the user does not exist or is not confirmed
return View("<API key>");
}
// Send an email with this link
// var code = await UserManager.<API key>(user);
// var callbackUrl = Url.Action("ResetPassword", "Account", new { userId = user.Id, code = code }, protocol: Context.Request.Scheme);
// await MessageServices.SendEmailAsync(model.Email, "Reset Password",
// "Please reset your password by clicking here: <a href=\"" + callbackUrl + "\">link</a>");
// return View("<API key>");
}
// If we got this far, something failed, redisplay form
return View(model);
}
// GET: /Account/<API key>
[HttpGet]
[AllowAnonymous]
public IActionResult <API key>()
{
return View();
}
// GET: /Account/ResetPassword
[HttpGet]
[AllowAnonymous]
public IActionResult ResetPassword(string code = null)
{
return code == null ? View("Error") : View();
}
// POST: /Account/ResetPassword
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> ResetPassword(<API key> model)
{
if (!ModelState.IsValid)
{
return View(model);
}
var user = await UserManager.FindByNameAsync(model.Email);
if (user == null)
{
// Don't reveal that the user does not exist
return RedirectToAction("<API key>", "Account");
}
var result = await UserManager.ResetPasswordAsync(user, model.Code, model.Password);
if (result.Succeeded)
{
return RedirectToAction("<API key>", "Account");
}
AddErrors(result);
return View();
}
// GET: /Account/<API key>
[HttpGet]
[AllowAnonymous]
public IActionResult <API key>()
{
return View();
}
// GET: /Account/SendCode
[HttpGet]
[AllowAnonymous]
public async Task<ActionResult> SendCode(string returnUrl = null, bool rememberMe = false)
{
var user = await SignInManager.GetTwoFactor<API key>();
if (user == null)
{
return View("Error");
}
var userFactors = await UserManager.<API key>(user);
var factorOptions = userFactors.Select(purpose => new SelectListItem { Text = purpose, Value = purpose }).ToList();
return View(new SendCodeViewModel { Providers = factorOptions, ReturnUrl = returnUrl, RememberMe = rememberMe });
}
// POST: /Account/SendCode
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> SendCode(SendCodeViewModel model)
{
if (!ModelState.IsValid)
{
return View();
}
var user = await SignInManager.GetTwoFactor<API key>();
if (user == null)
{
return View("Error");
}
// Generate the token and send it
var code = await UserManager.<API key>(user, model.SelectedProvider);
if (string.IsNullOrWhiteSpace(code))
{
return View("Error");
}
var message = "Your security code is: " + code;
if (model.SelectedProvider == "Email")
{
await MessageServices.SendEmailAsync(await UserManager.GetEmailAsync(user), "Security Code", message);
}
else if (model.SelectedProvider == "Phone")
{
await MessageServices.SendSmsAsync(await UserManager.GetPhoneNumberAsync(user), message);
}
return RedirectToAction("VerifyCode", new { Provider = model.SelectedProvider, ReturnUrl = model.ReturnUrl, RememberMe = model.RememberMe });
}
// GET: /Account/VerifyCode
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> VerifyCode(string provider, bool rememberMe, string returnUrl = null)
{
// Require that the user has already logged in via username/password or external login
var user = await SignInManager.GetTwoFactor<API key>();
if (user == null)
{
return View("Error");
}
return View(new VerifyCodeViewModel { Provider = provider, ReturnUrl = returnUrl, RememberMe = rememberMe });
}
// POST: /Account/VerifyCode
[HttpPost]
[AllowAnonymous]
[<API key>]
public async Task<IActionResult> VerifyCode(VerifyCodeViewModel model)
{
if (!ModelState.IsValid)
{
return View(model);
}
// The following code protects for brute force attacks against the two factor codes.
// If a user enters incorrect codes for a specified amount of time then the user account
// will be locked out for a specified amount of time.
var result = await SignInManager.<API key>(model.Provider, model.Code, model.RememberMe, model.RememberBrowser);
if (result.Succeeded)
{
return RedirectToLocal(model.ReturnUrl);
}
if (result.IsLockedOut)
{
return View("Lockout");
}
else
{
ModelState.AddModelError("", "Invalid code.");
return View(model);
}
}
#region Helpers
private void AddErrors(IdentityResult result)
{
foreach (var error in result.Errors)
{
ModelState.AddModelError(string.Empty, error.Description);
}
}
private async Task<ApplicationUser> GetCurrentUserAsync()
{
return await UserManager.FindByIdAsync(Context.User.GetUserId());
}
private IActionResult RedirectToLocal(string returnUrl)
{
if (Url.IsLocalUrl(returnUrl))
{
return Redirect(returnUrl);
}
else
{
return RedirectToAction("Index", "Home");
}
}
#endregion
}
} |
package net.tomp2p.message;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.CompositeByteBuf;
import io.netty.channel.<API key>;
import io.netty.channel.<API key>;
import io.netty.channel.sctp.SctpMessage;
import net.tomp2p.connection.SignatureFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.InetSocketAddress;
public class TomP2PCumulationTCP extends <API key> {
private static final Logger LOG = LoggerFactory
.getLogger(TomP2PCumulationTCP.class);
private final Decoder decoder;
private final ByteBufAllocator byteBufAllocator;
private CompositeByteBuf cumulation = null;
private int lastId = 0;
public TomP2PCumulationTCP(final SignatureFactory signatureFactory, ByteBufAllocator byteBufAllocator) {
decoder = new Decoder(signatureFactory);
this.byteBufAllocator = byteBufAllocator;
}
@Override
public void channelRead(final <API key> ctx, final Object rawMsg)
throws Exception {
ByteBuf msg = null;
//FIXME jwa remove sctp stuff
if (rawMsg instanceof SctpMessage) {
msg = ((SctpMessage) rawMsg).content();
} else if (!(rawMsg instanceof ByteBuf)) {
ctx.fireChannelRead(rawMsg);
return;
} else {
msg = (ByteBuf) rawMsg;
}
final ByteBuf buf = msg;
final InetSocketAddress sender = (InetSocketAddress) ctx.channel().remoteAddress();
try {
if (cumulation == null) {
cumulation = byteBufAllocator.compositeBuffer();
} else {
//cumulation.addComponent(buf);
}
cumulation.writeBytes(buf);
decoding(ctx, sender);
} catch (Throwable t) {
LOG.error("Error in TCP decoding", t);
throw new Exception(t);
} finally {
//the cumulation buffer now maintains the buffer buf, so we can release it here
buf.release();
if (!cumulation.isReadable()) {
cumulation.release();
cumulation = null;
} // no need to discard bytes as this was done in the decoder already
}
}
private void decoding(final <API key> ctx,
final InetSocketAddress sender) {
boolean finished = true;
boolean moreData = true;
while (finished && moreData) {
finished = decoder.decode(ctx, cumulation, (InetSocketAddress) ctx
.channel().localAddress(), sender);
if (finished) {
lastId = decoder.message().messageId();
moreData = cumulation.readableBytes() > 0;
ctx.fireChannelRead(decoder.prepareFinish());
} else {
if(decoder.message() == null) {
//wait for more data. This may happen if we don't get the first 58 bytes,
//which is the size of the header.
return;
}
// this id was the same as the last and the last message already
// finished the parsing. So this message
// is finished as well although it may send only partial data.
if (lastId == decoder.message().messageId()) {
finished = true;
moreData = cumulation.readableBytes() > 0;
ctx.fireChannelRead(decoder.prepareFinish());
} else if (decoder.message().isStreaming()) {
ctx.fireChannelRead(decoder.message());
}
}
}
}
@Override
public void channelInactive(final <API key> ctx)
throws Exception {
decoder.release();
final InetSocketAddress sender = (InetSocketAddress) ctx.channel()
.remoteAddress();
try {
if (cumulation != null) {
decoding(ctx, sender);
}
} catch (Throwable t) {
LOG.error("Error in TCP decoding. (Inactive)", t);
throw new Exception(t);
} finally {
if (cumulation != null) {
cumulation.release();
cumulation = null;
}
ctx.fireChannelInactive();
}
}
@Override
public void exceptionCaught(final <API key> ctx,
final Throwable cause) throws Exception {
if (cumulation != null) {
cumulation.release();
cumulation = null;
}
Message msg = decoder.message();
decoder.release();
// don't use getLocalizedMessage() -
if (cause.getMessage().equals("Connection reset by peer")) {
return; // ignore
} else if (cause
.getMessage()
.equals("An existing connection was forcibly closed by the remote host")) {
// with windows we see the following message
return; // ignore
} else if (cause
.getMessage()
.equals("Eine vorhandene Verbindung wurde vom Remotehost geschlossen")) {
return;
} else if (cause.getMessage().equals("Connexion ré-initialisée par le correspondant")) {
return;
}
if (msg == null && decoder.lastContent() == null) {
LOG.error("Exception in decoding TCP. Occurred before starting to decode.", cause);
} else if (msg != null && !msg.isDone()) {
LOG.error("Exception in decoding TCP. Occurred after starting to decode.", cause);
}
}
} |
package org.openbakery.racecontrol.plugin.profile.data;
import java.io.Serializable;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
public class TeamProfile implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue
private int id;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getId() {
return id;
}
private String name;
} |
package dagger.lang.mime;
import dagger.mime.MimeType;
import org.junit.Before;
import org.junit.Test;
import java.net.URL;
import static junit.framework.Assert.assertEquals;
public class MimeTypeGuesserTest {
private MimeTypeGuesser guesser;
@Before
public void setUp() {
guesser = new <API key>();
}
@Test
public void <API key>() throws Throwable {
assertEquals(MimeType.TEXT_HTML, guesser.guessMimeType(url("test.htm")));
assertEquals(MimeType.TEXT_HTML, guesser.guessMimeType(url("test.html")));
assertEquals(MimeType.TEXT_CSS, guesser.guessMimeType(url("test.css")));
assertEquals(MimeType.<API key>, guesser.guessMimeType(url("test.js")));
assertEquals(MimeType.APPLICATION_JSON, guesser.guessMimeType(url("test.json")));
assertEquals(MimeType.IMAGE_PNG, guesser.guessMimeType(url("test.png")));
assertEquals(MimeType.IMAGE_JPEG, guesser.guessMimeType(url("test.jpg")));
assertEquals(MimeType.IMAGE_GIF, guesser.guessMimeType(url("test.gif")));
}
@Test
public void <API key>() throws Throwable {
assertEquals(MimeType.<API key>, guesser.guessMimeType(url("test")));
}
@Test
public void <API key>() throws Throwable {
assertEquals(MimeType.<API key>, guesser.guessMimeType(url("test.unknownbizarre")));
}
private URL url(String fileName) throws Throwable {
return new URL("file:///" + fileName);
}
} |
package org.asynchttpclient;
import java.io.IOException;
public class BadAsyncHttpClient implements AsyncHttpClient {
public BadAsyncHttpClient() {
throw new <API key>("Because I am bad!!");
}
public BadAsyncHttpClient(AsyncHttpProvider provider) {
throw new <API key>("Because I am bad!!");
}
public BadAsyncHttpClient(<API key> config) {
throw new <API key>("Because I am bad!!");
}
public BadAsyncHttpClient(String providerClass, <API key> config) {
throw new <API key>("Because I am bad!!");
}
public BadAsyncHttpClient(AsyncHttpProvider httpProvider, <API key> config) {
throw new <API key>("Because I am bad!!");
}
@Override
public AsyncHttpProvider getProvider() {
return null;
}
@Override
public void close() {
}
@Override
public void closeAsynchronously() {
}
@Override
public boolean isClosed() {
return false;
}
@Override
public <API key> getConfig() {
return null;
}
@Override
public AsyncHttpClient <API key>(SignatureCalculator signatureCalculator) {
return null;
}
@Override
public BoundRequestBuilder prepareGet(String url) {
return null;
}
@Override
public BoundRequestBuilder prepareConnect(String url) {
return null;
}
@Override
public BoundRequestBuilder prepareOptions(String url) {
return null;
}
@Override
public BoundRequestBuilder prepareHead(String url) {
return null;
}
@Override
public BoundRequestBuilder preparePost(String url) {
return null;
}
@Override
public BoundRequestBuilder preparePut(String url) {
return null;
}
@Override
public BoundRequestBuilder prepareDelete(String url) {
return null;
}
@Override
public BoundRequestBuilder preparePatch(String url) {
return null;
}
@Override
public BoundRequestBuilder prepareTrace(String url) {
return null;
}
@Override
public BoundRequestBuilder prepareRequest(Request request) {
return null;
}
@Override
public <T> ListenableFuture<T> executeRequest(Request request, AsyncHandler<T> handler) throws IOException {
return null;
}
@Override
public ListenableFuture<Response> executeRequest(Request request) throws IOException {
return null;
}
} |
package simple.utils.string;
import java.util.Iterator;
import java.util.function.BiFunction;
public class <API key> implements BiFunction<String, Character, Iterator<String>> {
@Override
public Iterator<String> apply(String s, Character d) {
return new Iterator<String>() {
private final int length = s.length();
private int index = 0;
private int to = s.indexOf(d);
@Override
public boolean hasNext() {
if (index > to && to != length) {
to = s.indexOf(d, index);
to = to > 0 ? to : length;
}
return index < length;
}
@Override
public String next() {
if (to == -1) {
to = length;
index = length;
return s;
}
final String substring = s.substring(index, to);
index = to + 1;
hasNext();
return substring;
}
};
}
} |
package com.cognitionis.external_tools;
//import edu.mit.jwi.*;
//import edu.mit.jwi.item.*;
//import java.io.File;
//import java.net.URL;
//import edu.smu.tspell.wordnet.*;
import java.io.*;
import com.cognitionis.utils_basickit.FileUtils;
/**
*
* @author Hector Llorens
* @since 2011
*/
public class WNInterface {
static final String wndict = "/home/hector/Dropbox/WordNets/WordNet-3.0/dict/";
public static String wnES4top = FileUtils.getApplicationPath() + "program-data/WN/<API key>.utf8.ewn";
public static String wn_zh_time = FileUtils.getApplicationPath() + "program-data/WN/wn_zh_time.txt";
public static String wn_it_time = FileUtils.getApplicationPath() + "program-data/WN/wn_it_time.txt";
// IDictionary dict;
// WordNetDatabase database;
public void WNInterface() {
try {
// construct the dictionary object and open it
//dict = new edu.mit.jwi.Dictionary(wndict);
//dict.open();
System.setProperty("wordnet.database.dir", wndict);
// database = WordNetDatabase.getFileInstance();
} catch (Exception e) {
System.err.println("Errors found (" + this.getClass().getSimpleName() + "):\n\t" + e.toString());
if (System.getProperty("DEBUG") != null && System.getProperty("DEBUG").equalsIgnoreCase("true")) {
e.printStackTrace(System.err);
System.exit(1);
}
}
}
public String getHypersHACK(String word, String pos) {
String s = "entity";
try {
String minipos = pos.substring(0, 1).toLowerCase(); // to treat not only nouns...
String[] psCmd = {"sh", "-c", "echo \"" + word + "\" | " + FileUtils.getApplicationPath() + "program-data/wn.toplevel.pl -p " + minipos};
//System.err.println("command: "+psCmd[0]+psCmd[1]+psCmd[2]);
Process p = Runtime.getRuntime().exec(psCmd);
BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
// BufferedReader stdError = new BufferedReader(new
// InputStreamReader(p.getErrorStream()));
// read the output from the command
//System.out.println("Here is the standard output of the command:\n");
while ((s = stdInput.readLine()) != null) {
break;
}
stdInput.close();
if (p != null) {
p.getInputStream().close();
p.getOutputStream().close();
p.getErrorStream().close();
p.destroy();
}
/*
// read any errors from the attempted command
System.out.println("Here is the standard error of the command (if any):\n");
while ((s = stdError.readLine()) != null) {
System.out.println(s);
}*/
} catch (Exception e) {
System.err.println("Errors found (" + this.getClass().getSimpleName() + "):\n\t" + e.toString());
if (System.getProperty("DEBUG") != null && System.getProperty("DEBUG").equalsIgnoreCase("true")) {
e.printStackTrace(System.err);
System.exit(1);
}
return null;
}
return s;
}
/* public String getHypers(
String word) {
return getHypers(word, "NOUN");
}*/
public String getHypersHACKES(String word, String pos) {
String s = "entity";
try {
String minipos = pos.substring(0, 1).toLowerCase(); // to treat not only nouns...
// DEPRECATED
String[] psCmd = {"sh", "-c", "echo \"" + word + "\" | " + FileUtils.getApplicationPath() + "program-data/wn.toplevel.es.pl -p " + minipos};
Process p = Runtime.getRuntime().exec(psCmd);
BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((s = stdInput.readLine()) != null) {
break;
}
stdInput.close();
if(p!=null){
p.getInputStream().close();
p.getOutputStream().close();
p.getErrorStream().close();
p.destroy();
}
} catch (Exception e) {
System.err.println("Errors found (" + this.getClass().getSimpleName() + "):\n\t" + e.toString());
if (System.getProperty("DEBUG") != null && System.getProperty("DEBUG").equalsIgnoreCase("true")) {
e.printStackTrace(System.err);
System.exit(1);
}
return null;
}
return s;
}
public String getHypersHACKES2(String word, String pos) {
String s = "entity";
try {
String minipos = pos.substring(0, 1).toLowerCase(); // to treat not only nouns...
if (minipos.equals("n")) {
BufferedReader reader = new BufferedReader(new FileReader(new File(wnES4top)));
try {
String line;
String[] linearr = null;
while ((line = reader.readLine()) != null) {
linearr = line.split("\\t");
if (word.equalsIgnoreCase(linearr[0])) {
s = linearr[1];
break;
}
}
} finally {
if (reader != null) {
reader.close();
}
}
}
} catch (Exception e) {
System.err.println("Errors found (" + this.getClass().getSimpleName() + "):\n\t" + e.toString());
if (System.getProperty("DEBUG") != null && System.getProperty("DEBUG").equalsIgnoreCase("true")) {
e.printStackTrace(System.err);
System.exit(1);
}
return null;
}
return s;
}
public String getHypersHACKZH(String word, String pos) {
String s = "entity";
try {
String minipos = pos.substring(0, 1).toLowerCase(); // to treat not only nouns...
if (minipos.equals("n")) {
BufferedReader reader = new BufferedReader(new FileReader(new File(wn_zh_time)));
try {
String line;
String[] linearr = null;
while ((line = reader.readLine()) != null) {
linearr = line.split("\\t");
if (word.equalsIgnoreCase(linearr[0])) {
s = linearr[1];
break;
}
}
} finally {
if (reader != null) {
reader.close();
}
}
}
} catch (Exception e) {
System.err.println("Errors found (" + this.getClass().getSimpleName() + "):\n\t" + e.toString());
if (System.getProperty("DEBUG") != null && System.getProperty("DEBUG").equalsIgnoreCase("true")) {
e.printStackTrace(System.err);
System.exit(1);
}
return null;
}
return s;
}
public String getHypersHACKIT(String word, String pos) {
String s = "entity";
try {
//word=word.replaceAll(" ", "_");
String minipos = pos.substring(0, 1).toLowerCase(); // to treat not only nouns...
if (minipos.matches("(?i)(N|A)")) {
BufferedReader reader = new BufferedReader(new FileReader(new File(wn_it_time)));
try {
String line;
String[] linearr = null;
while ((line = reader.readLine()) != null) {
linearr = line.split("\\t");
if (word.equalsIgnoreCase(linearr[0]) && pos.equalsIgnoreCase(linearr[1])) {
s = linearr[2];
break;
}
}
} finally {
if (reader != null) {
reader.close();
}
}
}
} catch (Exception e) {
System.err.println("Errors found (" + this.getClass().getSimpleName() + "):\n\t" + e.toString());
if (System.getProperty("DEBUG") != null && System.getProperty("DEBUG").equalsIgnoreCase("true")) {
e.printStackTrace(System.err);
System.exit(1);
}
return null;
}
return s;
}
}//* /
if (wordForms.length > 0) {
hyper = wordForms[0];
}
//synsets[0].
//System.out.println(": " + synsets[i].getDefinition());
//}
} else {
return "entity";
}
return hyper;
}
*
*/
} |
<?xml version="1.0" encoding="UTF-8"?>
<table title="table5" id="table5" class="tabcontent" xmlns="http:
<tr>
<td>
<img src="table.svg.png"/>
<p><API key>/10.1097_j.pain.0000000000000778/tables/table5/table.svg.png</p>
</td>
<td>
<table class="table">
<caption/>
<tr>
<th class="cell">eGFP^{+} </th>
<th class="cell">/tdTom^{+} </th>
<th class="cell">181.5 (172-191) </th>
<th class="cell">11.2 (8.4-14) </th>
<th class="cell">0.8 (0.6-1) </th>
</tr>
</table>
<p><API key>/10.1097_j.pain.0000000000000778/tables/table5/table.svg.html</p>
</td>
</tr>
</table> |
'use strict';
angular.module('etestApp')
.config(function ($stateProvider) {
$stateProvider
.state('main.verbal', {
url: 'exam/verbal',
templateUrl: 'app/exam/verbal/verbal.html',
controller: 'VerbalController as vm'
}).state('main.tcsverbal', {
url: 'exam/tcs/verbal',
templateUrl: 'app/exam/verbal/tcs/tcs.verbal.html',
controller: 'TCSVerbalController as vm'
}).state('main.tcsverbalexam', {
authenticate: true,
url: 'exam/tcs/verbal/:id',
templateUrl: 'app/exam/verbal/tcs/tcs.verbal.exam.html',
controller: '<API key> as vm'
}).state('main.tcsverbalexamresult', {
url: 'exam/tcs/verbal/:id/result',
templateUrl: 'app/exam/verbal/tcs/tcs.verbal.exam.result.html',
controller: '<API key> as vm'
}).state('main.aptitude', {
url: 'exam/aptitude',
templateUrl: 'app/exam/aptitude/aptitude.html',
controller: 'AptitudeController as vm'
}).state('main.tcsaptitude', {
url: 'exam/tcs/aptitude',
templateUrl: 'app/exam/aptitude/tcs/tcs.aptitude.html',
controller: '<API key> as vm'
}).state('main.tcsaptitudeexam', {
authenticate: true,
url: 'exam/tcs/aptitude/:id',
templateUrl: 'app/exam/aptitude/tcs/tcs.aptitude.exam.html',
controller: '<API key> as vm'
}).state('main.<API key>', {
authenticate: true,
url: 'exam/tcs/aptitude/:id/result',
templateUrl: 'app/exam/aptitude/tcs/tcs.aptitude.exam.result.html',
controller: '<API key> as vm'
});
}); |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:9:"documento";s:4:"type";s:4:"blob";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}'); |
package com.sissi.ucenter.vcard.parser;
import java.util.Map;
import com.sissi.field.Field;
import com.sissi.field.FieldParser;
import com.sissi.protocol.iq.vcard.field.Binval;
import com.sissi.protocol.iq.vcard.field.Photo;
import com.sissi.protocol.iq.vcard.field.Type;
/**
* @author kim 20131212
*/
public class PhotoFieldParser implements FieldParser<Map<String, Object>> {
@Override
public Field<?> read(Map<String, Object> element) {
return new Photo(element.get(Type.NAME).toString(), element.get(Binval.NAME).toString());
}
public String support(){
return Photo.NAME;
}
} |
import Resolver from '../libs/resolver'
import theme from './default'
export default Resolver.create(theme) |
body, html {
margin: 0;
width: 100%;
height: 100%;
background-color: #000;
text-align: center;
color: #fff;
font-family: Verdana;
}
.title-section.title-covers {
margin: 5em;
color: white;
opacity: 1;
}
.title-section.title-covers h2{
color: gray;
}
.container-wrapper{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.container{
margin: 2em;
width: 30em;
height: 36em;
cursor: pointer;
} |
layout: global
displayTitle: Spark Overview
title: Overview
description: Apache Spark SPARK_VERSION_SHORT documentation homepage
Apache Spark is a fast and general-purpose cluster computing system.
It provides high-level APIs in Java, Scala, Python and R,
and an optimized engine that supports general execution graphs.
It also supports a rich set of higher-level tools including [Spark SQL](<API key>.html) for SQL and structured data processing, [MLlib](ml-guide.html) for machine learning, [GraphX](<API key>.html) for graph processing, and [Spark Streaming](<API key>.html).
# Downloading
Get Spark from the [downloads page](http://spark.apache.org/downloads.html) of the project website. This documentation is for Spark version {{site.SPARK_VERSION}}. Spark uses Hadoop's client libraries for HDFS and YARN. Downloads are pre-packaged for a handful of popular Hadoop versions.
Users can also download a "Hadoop free" binary and run Spark with any Hadoop version
[by augmenting Spark's classpath](hadoop-provided.html).
Scala and Java users can include Spark in their projects using its maven cooridnates and in the future Python users can also install Spark from PyPI.
If you'd like to build Spark from
source, visit [Building Spark](building-spark.html).
Spark runs on both Windows and UNIX-like systems (e.g. Linux, Mac OS). It's easy to run
locally on one machine --- all you need is to have `java` installed on your system `PATH`,
or the `JAVA_HOME` environment variable pointing to a Java installation.
Spark runs on Java 7+, Python 2.6+/3.4+ and R 3.1+. For the Scala API, Spark {{site.SPARK_VERSION}}
uses Scala {{site.<API key>}}. You will need to use a compatible Scala version
({{site.<API key>}}.x).
Note that support for Java 7 and Python 2.6 are deprecated as of Spark 2.0.0, and support for
Scala 2.10 and versions of Hadoop before 2.6 are deprecated as of Spark 2.1.0, and may be
removed in Spark 2.2.0.
# Running the Examples and Shell
Spark comes with several sample programs. Scala, Java, Python and R examples are in the
`examples/src/main` directory. To run one of the Java or Scala sample programs, use
`bin/run-example <class> [params]` in the top-level Spark directory. (Behind the scenes, this
invokes the more general
[`spark-submit` script](<API key>.html) for
launching applications). For example,
./bin/run-example SparkPi 10
You can also run Spark interactively through a modified version of the Scala shell. This is a
great way to learn the framework.
./bin/spark-shell --master local[2]
The `--master` option specifies the
[master URL for a distributed cluster](<API key>.html#master-urls), or `local` to run
locally with one thread, or `local[N]` to run locally with N threads. You should start by using
`local` for testing. For a full list of options, run Spark shell with the `--help` option.
Spark also provides a Python API. To run Spark interactively in a Python interpreter, use
`bin/pyspark`:
./bin/pyspark --master local[2]
Example applications are also provided in Python. For example,
./bin/spark-submit examples/src/main/python/pi.py 10
Spark also provides an experimental [R API](sparkr.html) since 1.4 (only DataFrames APIs included).
To run Spark interactively in a R interpreter, use `bin/sparkR`:
./bin/sparkR --master local[2]
Example applications are also provided in R. For example,
./bin/spark-submit examples/src/main/r/dataframe.R
# Launching on a Cluster
The Spark [cluster mode overview](cluster-overview.html) explains the key concepts in running on a cluster.
Spark can run both by itself, or over several existing cluster managers. It currently provides several
options for deployment:
* [Standalone Deploy Mode](spark-standalone.html): simplest way to deploy Spark on a private cluster
* [Apache Mesos](running-on-mesos.html)
* [Hadoop YARN](running-on-yarn.html)
# Where to Go from Here
**Programming Guides:**
* [Quick Start](quick-start.html): a quick introduction to the Spark API; start here!
* [Spark Programming Guide](programming-guide.html): detailed overview of Spark
in all supported languages (Scala, Java, Python, R)
* Modules built on Spark:
* [Spark Streaming](<API key>.html): processing real-time data streams
* [Spark SQL, Datasets, and DataFrames](<API key>.html): support for structured data and relational queries
* [MLlib](ml-guide.html): built-in machine learning library
* [GraphX](<API key>.html): Spark's new API for graph processing
**API Docs:**
* [Spark Scala API (Scaladoc)](api/scala/index.html#org.apache.spark.package)
* [Spark Java API (Javadoc)](api/java/index.html)
* [Spark Python API (Sphinx)](api/python/index.html)
* [Spark R API (Roxygen2)](api/R/index.html)
**Deployment Guides:**
* [Cluster Overview](cluster-overview.html): overview of concepts and components when running on a cluster
* [Submitting Applications](<API key>.html): packaging and deploying applications
* Deployment modes:
* [Amazon EC2](https://github.com/amplab/spark-ec2): scripts that let you launch a cluster on EC2 in about 5 minutes
* [Standalone Deploy Mode](spark-standalone.html): launch a standalone cluster quickly without a third-party cluster manager
* [Mesos](running-on-mesos.html): deploy a private cluster using
[Apache Mesos](http://mesos.apache.org)
* [YARN](running-on-yarn.html): deploy Spark on top of Hadoop NextGen (YARN)
* [Kubernetes](<API key>.html): deploy Spark on top of Kubernetes
**Other Documents:**
* [Configuration](configuration.html): customize Spark via its configuration system
* [Monitoring](monitoring.html): track the behavior of your applications
* [Tuning Guide](tuning.html): best practices to optimize performance and memory use
* [Job Scheduling](job-scheduling.html): scheduling resources across and within Spark applications
* [Security](security.html): Spark security support
* [Hardware Provisioning](<API key>.html): recommendations for cluster hardware
* Integration with other storage systems:
* [OpenStack Swift](<API key>.html)
* [Building Spark](building-spark.html): build Spark using the Maven system
* [Contributing to Spark](http://spark.apache.org/contributing.html)
* [Third Party Projects](http://spark.apache.org/<API key>.html): related third party Spark projects
**External Resources:**
* [Spark Homepage](http://spark.apache.org)
* [Spark Community](http://spark.apache.org/community.html) resources, including local meetups
* [StackOverflow tag `apache-spark`](http://stackoverflow.com/questions/tagged/apache-spark)
* [Mailing Lists](http://spark.apache.org/mailing-lists.html): ask questions about Spark here
* [AMP Camps](http://ampcamp.berkeley.edu/): a series of training camps at UC Berkeley that featured talks and
exercises about Spark, Spark Streaming, Mesos, and more. [Videos](http://ampcamp.berkeley.edu/6/),
[slides](http:
available online for free.
* [Code Examples](http://spark.apache.org/examples.html): more are also available in the `examples` subfolder of Spark ([Scala]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/scala/org/apache/spark/examples),
[Java]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/java/org/apache/spark/examples),
[Python]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/python),
[R]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/r)) |
package org.uva.sea.ql.ast.stmt;
import org.uva.sea.ql.ast.expr.Ident;
import org.uva.sea.ql.ast.type.Type;
public abstract class Question extends Stmt {
private Ident ident;
private String label;
private Type type;
public Question(Ident ident, String label, Type type){
this.setIdent(ident);
this.label = label.replaceAll("\\"+"\"", "");
this.type = type;
}
public Ident getIdent() {
return ident;
}
public void setIdent(Ident ident) {
this.ident = ident;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
@Override
public String toString(){
String question = "[";
question += getIdent().getName();
question += " = ";
question += getType().toString();
question += "]";
return question;
}
} |
module.exports = function(deployer) {
deployer.deploy(Pubcrawl);
deployer.autolink();
}; |
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
/*height: 300px;*/
height: inherit;
}
.CodeMirror-scroll {
/* Set scrolling behaviour here */
overflow: auto;
}
/* PADDING */
.CodeMirror-lines {
padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
padding: 0 4px; /* Horizontal padding of content */
}
.<API key>, .<API key> {
background-color: white; /* The little square between H and V scrollbars */
}
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap;
}
.<API key> {}
.<API key> {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.<API key> { color: black; }
.<API key> { color: #999; }
/* CURSOR */
.CodeMirror div.CodeMirror-cursor {
border-left: 1px solid black;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.<API key> {
border-left: 1px solid silver;
}
.CodeMirror.<API key> div.CodeMirror-cursor {
width: auto;
border: 0;
background: #7e7;
}
.CodeMirror.<API key> div.CodeMirror-cursors {
z-index: 1;
}
.<API key> {
width: auto;
border: 0;
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
}
@-moz-keyframes blink {
0% { background: #7e7; }
50% { background: none; }
100% { background: #7e7; }
}
@-webkit-keyframes blink {
0% { background: #7e7; }
50% { background: none; }
100% { background: #7e7; }
}
@keyframes blink {
0% { background: #7e7; }
50% { background: none; }
100% { background: #7e7; }
}
/* Can style cursor different in overwrite (non-insert) mode */
div.<API key> div.CodeMirror-cursor {}
.cm-tab { display: inline-block; }
.CodeMirror-ruler {
border-left: 1px solid #ccc;
position: absolute;
}
/* DEFAULT THEME */
.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}
/* Default styles for common addons */
div.CodeMirror span.<API key> {color: #0f0;}
div.CodeMirror span.<API key> {color: #f22;}
.<API key> { background: rgba(255, 150, 0, .3); }
.<API key> {background: #e8f2ff;}
/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
.CodeMirror {
line-height: 1;
position: relative;
overflow: hidden;
background: white;
color: black;
}
.CodeMirror-scroll {
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px; margin-right: -30px;
padding-bottom: 30px;
height: 100%;
outline: none; /* Prevent dragging from highlighting the element */
position: relative;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.CodeMirror-sizer {
position: relative;
border-right: 30px solid transparent;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actuall scrolling happens, thus preventing shaking and
flickering artifacts. */
.<API key>, .<API key>, .<API key>, .<API key> {
position: absolute;
z-index: 6;
display: none;
}
.<API key> {
right: 0; top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.<API key> {
bottom: 0; left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.<API key> {
right: 0; bottom: 0;
}
.<API key> {
left: 0; bottom: 0;
}
.CodeMirror-gutters {
position: absolute; left: 0; top: 0;
padding-bottom: 30px;
z-index: 3;
}
.CodeMirror-gutter {
white-space: normal;
height: 100%;
-moz-box-sizing: content-box;
box-sizing: content-box;
padding-bottom: 30px;
margin-bottom: -32px;
display: inline-block;
/* Hack to make IE7 behave */
*zoom:1;
*display:inline;
}
.<API key> {
position: absolute;
cursor: default;
z-index: 4;
}
.CodeMirror-lines {
cursor: text;
min-height: 1px; /* prevents collapsing before first draw */
}
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0; -<API key>: 0; border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
font-size: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.<API key> {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
z-index: 0;
}
.<API key> {
position: relative;
z-index: 2;
overflow: auto;
}
.CodeMirror-widget {}
.CodeMirror-wrap .CodeMirror-scroll {
overflow-x: hidden;
}
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-measure pre { position: static; }
.CodeMirror div.CodeMirror-cursor {
position: absolute;
border-right: none;
width: 0;
}
div.CodeMirror-cursors {
visibility: hidden;
position: relative;
z-index: 3;
}
.CodeMirror-focused div.CodeMirror-cursors {
visibility: visible;
}
.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.<API key> { cursor: crosshair; }
.cm-searching {
background: #ffa;
background: rgba(255, 255, 0, .4);
}
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }
/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursors {
visibility: hidden;
}
}
/* Help users use markselection to safely style text background */
span.<API key> { background: none; }
.CodeMirror-dialog {
position: absolute;
left: 0; right: 0;
background: white;
z-index: 15;
padding: .1em .8em;
overflow: hidden;
color: #333;
}
.<API key> {
border-bottom: 1px solid #eee;
top: 0;
}
.<API key> {
border-top: 1px solid #eee;
bottom: 0;
}
.CodeMirror-dialog input {
border: none;
outline: none;
background: transparent;
width: 20em;
color: inherit;
font-family: monospace;
}
.CodeMirror-dialog button {
font-size: 70%;
}
/* The lint marker gutter */
.<API key> {
width: 16px;
}
.<API key> {
background-color: infobackground;
border: 1px solid black;
border-radius: 4px 4px 4px 4px;
color: infotext;
font-family: monospace;
font-size: 10pt;
overflow: hidden;
padding: 2px 5px;
position: fixed;
white-space: pre;
white-space: pre-wrap;
z-index: 100;
max-width: 600px;
opacity: 0;
transition: opacity .4s;
-moz-transition: opacity .4s;
-webkit-transition: opacity .4s;
-o-transition: opacity .4s;
-ms-transition: opacity .4s;
}
.<API key>, .<API key> {
background-position: left bottom;
background-repeat: repeat-x;
}
.<API key> {
background-image:
url("data:image/png;base64,<API key>/wD/<API key>/<API key>/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
;
}
.<API key> {
background-image: url("data:image/png;base64,<API key>/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+<API key>=");
}
.<API key>, .<API key> {
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
display: inline-block;
height: 16px;
width: 16px;
vertical-align: middle;
position: relative;
}
.<API key>, .<API key> {
padding-left: 18px;
background-position: top left;
background-repeat: no-repeat;
}
.<API key>, .<API key> {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+<API key>/<API key>+hAN6/<API key>=");
}
.<API key>, .<API key> {
background-image: url("data:image/png;base64,<API key>/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/<API key>/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
}
.<API key> {
background-image: url("data:image/png;base64,<API key>/<API key>/<API key>+9/<API key>");
background-repeat: no-repeat;
background-position: right bottom;
width: 100%; height: 100%;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 100;
src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/Lato-Hairline.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 100;
src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/Lato-Hairline2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 300;
src: local('Lato Light'), local('Lato-Light'), url(../fonts/Lato-Light.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 300;
src: local('Lato Light'), local('Lato-Light'), url(../fonts/Lato-Light2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/Lato-Regular.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/Lato-Regular2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/Lato-Bold.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/Lato-Bold2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 900;
src: local('Lato Black'), local('Lato-Black'), url(../fonts/Lato-Black.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 900;
src: local('Lato Black'), local('Lato-Black'), url(../fonts/Lato-Black2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 100;
src: local('Lato Hairline Italic'), local('Lato-HairlineItalic'), url(../fonts/Lato-HairlineItalic.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 100;
src: local('Lato Hairline Italic'), local('Lato-HairlineItalic'), url(../fonts/<API key>.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 300;
src: local('Lato Light Italic'), local('Lato-LightItalic'), url(../fonts/Lato-LightItalic.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 300;
src: local('Lato Light Italic'), local('Lato-LightItalic'), url(../fonts/Lato-LightItalic2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 400;
src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/Lato-Italic.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 400;
src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/Lato-Italic2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 700;
src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(../fonts/Lato-BoldItalic.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 700;
src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(../fonts/Lato-BoldItalic2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 900;
src: local('Lato Black Italic'), local('Lato-BlackItalic'), url(../fonts/Lato-BlackItalic.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 900;
src: local('Lato Black Italic'), local('Lato-BlackItalic'), url(../fonts/Lato-BlackItalic2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: local('Source Code Pro'), local('<API key>'), url(../fonts/Source-Code-Pro.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: local('Source Code Pro'), local('<API key>'), url(../fonts/Source-Code-Pro-2.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/*input.ng-dirty.ng-invalid {
border: 1px solid red;
}*/
input.ng-dirty.ng-invalid-required {
border: 1px solid red;
}
input[type="file"].ng-dirty.ng-invalid-required + span.<API key>::after {
margin-top: 0;
}
input.ng-dirty.ng-invalid-required + span.<API key>::after {
content: 'Required';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.<API key> {
border: 1px solid red;
}
input[type="file"].<API key> + span.<API key>::after {
margin-top: 0;
}
input.<API key> + span.<API key>::after {
content: 'Invalid min length';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.<API key> {
border: 1px solid red;
}
input[type="file"].ng-dirty.<API key> + span.<API key>::after {
margin-top: 0;
}
input.ng-dirty.<API key> + span.<API key>::after {
content: 'Invalid max length';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.ng-invalid-enum {
border: 1px solid red;
}
input.ng-dirty.ng-invalid-enum + span.<API key>::after {
content: 'Invalid enum value';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.ng-invalid-minimum {
border: 1px solid red;
}
input.ng-dirty.ng-invalid-minimum + span.<API key>::after {
content: 'Invalid minimum';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.ng-invalid-maximum {
border: 1px solid red;
}
input.ng-dirty.ng-invalid-maximum + span.<API key>::after {
content: 'Invalid maximum';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.ng-invalid-type {
border: 1px solid red;
}
input.ng-dirty.ng-invalid-type + span.<API key>::after {
content: 'Invalid type';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.ng-invalid-pattern {
border: 1px solid red;
}
input.ng-dirty.ng-invalid-pattern + span.<API key>::after {
content: 'Invalid pattern';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.<API key>, input.ng-dirty.<API key>, input.ng-dirty.<API key> {
border: 1px solid red;
}
input.ng-dirty.<API key> + span.<API key>::after {
content: 'Invalid minItems';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.<API key> + span.<API key>::after {
content: 'Invalid maxItems';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.<API key> + span.<API key>::after {
content: 'Repeated items';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
input.ng-dirty.ng-invalid-repeat {
border: 1px solid red;
}
input.ng-dirty.ng-invalid-repeat + span.<API key>::after {
content: 'Invalid repeat';
color: white;
position: absolute;
margin-top: -20px;
font-size: 13px;
background-color: red;
width: 100%;
text-align: center;
}
@charset "UTF-8";
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-<API key>: 100%;
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-<API key>,
input[type="number"]::-<API key> {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-<API key>,
input[type="search"]::-<API key> {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0;
padding: 0;
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
.<API key> {
max-width: 1260px;
margin: 0px auto;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding: 0 16px;
}
}
.<API key> {
margin-top: 24px;
margin-bottom: 24px;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
.raml-console-body {
background: #eee;
color: #888;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: 1.4;
text-rendering: optimizeLegibility;
-<API key>: antialiased;
}
.raml-console-body h1,
.raml-console-body h2,
.raml-console-body h3,
.raml-console-body h4,
.raml-console-body h5,
.raml-console-body h6,
.raml-console-body p,
.raml-console-body ul,
.raml-console-body ol {
margin-top: 0;
}
.<API key> {
background: #FBC2C4 !important;
color: #8a1f11 !important;
}
.<API key> {
font-size: 13px;
color: white;
padding-left: 1px;
word-wrap: break-word;
background: red;
margin-top: -1px;
text-align: center;
margin-bottom: 15px;
}
.<API key> {
margin-bottom: 0 !important;
}
.<API key> input {
border: 1px solid red !important;
margin-bottom: 0 !important;
}
.<API key> {
background: #eee !important;
color: #888;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: 1.4;
text-rendering: optimizeLegibility;
-<API key>: antialiased;
}
.<API key> {
cursor: default;
color: blue;
font-size: small;
}
.<API key> {
font-size: medium;
}
.<API key> p {
margin-bottom: 3px;
}
.raml-console-title {
font-size: 24px;
text-align: center;
color: #333;
}
@media only screen and (min-width: 600px) {
.raml-console-title {
font-size: 36px;
}
}
.<API key> {
position: absolute;
top: 0;
right: 0;
z-index: 10;
}
.<API key> {
position: relative;
float: right;
}
.<API key> {
display: block;
padding: 5px 8px;
border: solid rgba(0, 0, 0, 0.1);
border-width: 0 0 1px 1px;
background: rgba(0, 0, 0, 0.4);
color: #fff;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.05em;
text-decoration: none;
text-rendering: optimizeLegibility;
text-transform: uppercase;
transition: 0.2s ease background;
cursor: pointer;
}
.<API key>:hover {
background: rgba(0, 0, 0, 0.6);
}
.<API key> {
<API key>: 3px;
}
.<API key> {
display: block;
position: absolute;
top: 100%;
left: 0;
right: 0;
margin-top: 5px;
border: 1px solid #ccc;
background: #fff;
border-radius: 3px;
}
.<API key>:before,
.<API key>:after {
content: "";
position: absolute;
left: 6px;
top: -12px;
border: 6px solid transparent;
border-bottom-color: #ccc;
}
.<API key>:after {
top: -11px;
border-bottom-color: #fff;
}
.<API key> {
display: block;
color: #333;
padding: 5px 10px;
font-size: 12px;
text-transform: uppercase;
cursor: pointer;
}
.<API key> {
border-color: rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.4);
color: #000;
}
.<API key>:hover {
background: rgba(255, 255, 255, 0.6);
}
.raml-console-toggle {
margin: 0;
padding: 10px 12px 12px;
border: 1px solid #ccc;
background-color: #f3f4f5;
color: #aaa;
cursor: pointer;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
font-weight: 700;
transition: 0.2s ease color, 0.2s ease border-color;
-<API key>: antialiased;
}
.raml-console-toggle:hover {
border-color: #46778f;
color: #5B9DBD;
border-width: 1px !important;
}
.raml-console-toggle.<API key> {
border-color: #46778f;
background: #5B9DBD;
color: #fff;
}
.<API key> {
padding: 6px 12px 8px;
}
.<API key> .raml-console-toggle:nth-of-type(odd) {
border-left-width: 1px;
}
.<API key> .raml-console-toggle:nth-of-type(n+3) {
border-top-width: 0;
}
.<API key> {
font-size: 0;
}
.<API key> .raml-console-toggle {
width: 50%;
border-left-width: 0;
}
.<API key> .raml-console-toggle:first-child {
border-left-width: 1px;
}
.<API key> .raml-console-toggle.<API key> {
box-shadow: -1px 0 0 #46778F;
}
.<API key> .raml-console-toggle.<API key>:first-child {
box-shadow: none;
}
.<API key> .<API key> {
display: inline-block;
width: 50%;
margin: 0;
padding-top: 10px;
padding-bottom: 12px;
border: none;
background-color: #e3e4e6;
color: #999;
cursor: pointer;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
font-weight: 700;
text-align: center;
text-decoration: none;
transition: 0.2s ease color, 0.2s ease border-color;
-<API key>: antialiased;
}
.<API key> .<API key>:first-child {
box-shadow: inset -2px -3px 5px 1px #d6d7d9;
}
.<API key> .<API key>:last-child {
box-shadow: inset 2px -3px 5px 1px #d6d7d9;
}
.<API key> .<API key>.<API key> {
background: none;
color: #414247;
box-shadow: none;
}
.<API key> {
height: 31px;
border-radius: 4px;
margin: 0 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
text-align: center;
padding-top: 5px;
}
.<API key> {
right: 9px;
position: relative;
position: absolute;
bottom: -1px;
display: flex;
display: -webkit-flex;
flex-grow: 1;
flex-flow: row-reverse;
align-self: flex-end;
padding-left: 16px;
float: right;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding-left: 24px;
}
}
.raml-console-tab {
width: 126px;
overflow: hidden;
float: left;
margin: 0 -15px 0 0;
position: relative;
cursor: pointer;
align-self: flex-end;
height: 18px;
margin-left: -6px;
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.5px;
text-decoration: none;
}
@media only screen and (min-width: 600px) {
.raml-console-tab {
height: 24px;
margin-left: -6px;
}
}
@media only screen and (min-width: 960px) {
.raml-console-tab {
height: 27px;
}
}
.<API key> {
position: absolute;
z-index: 1;
width: 100%;
text-align: center;
padding-top: 6px;
font-size: 11px;
font-weight: 900;
text-align: center;
}
@media only screen and (min-width: 600px) {
.<API key> {
font-size: 12px;
font-weight: 700;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
font-size: 14px;
}
}
.<API key> {
width: 82px;
height: 100%;
}
@media only screen and (min-width: 600px) {
.<API key> {
width: 112px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
width: 126px;
}
}
.<API key>::before {
background: #0B88B9;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #87538f;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #d14956;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #1EA18D;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #02B0E2;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #E48F0A;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #8A45A2;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #1EBD77;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.<API key>::before {
background: #98B805;
content: '';
height: 45px;
border-radius: 4px;
margin: -1px 10px 0;
-webkit-transform: perspective(45px) rotateX(30deg);
-moz-transform: perspective(45px) rotateX(30deg);
-ms-transform: perspective(45px) rotateX(30deg);
width: 108px;
position: absolute;
right: 0;
z-index: -1;
top: 0px;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #5F9ACA;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #B16DBB;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #EC5D5E;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #77C5A2;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #96e7fe;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #f8ba58;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #b680c9;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #59e5a7;
}
.raml-console-tab:hover .<API key>::before,
.<API key>:not(.<API key>) .raml-console-tab.<API key> .<API key>::before {
background: #c7f107;
}
.raml-console-tab.<API key> {
z-index: 5;
color: #333;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
.raml-console-tab.<API key> .<API key>::before {
background: #fff;
}
/* Resource List */
ol.<API key> {
margin-top: 35px;
}
ol.<API key> {
margin-top: 0;
}
.<API key> {
font-size: 12px;
color: #878787;
font-weight: normal;
display: block;
margin-top: 5px;
width: 98%;
}
.<API key> {
margin-bottom: 9px;
}
.<API key> {
margin-top: 50px;
position: inherit;
margin-left: 10px;
margin-bottom: 5px;
float: left;
}
.<API key> {
list-style: none;
padding-left: 0;
margin-top: -5px;
}
.<API key> {
border-bottom: 1px solid #ccc;
}
.<API key> div {
padding: 17px;
background: #FAFAFA;
}
.<API key> div h3 {
font-size: 12px;
margin: 0 0 11px;
}
.<API key> div p {
font-size: 12px;
}
.<API key> {
padding-left: 0 !important;
height: 48px;
margin-top: 5px;
}
.<API key> button.<API key> {
border-radius: 0 !important;
background: #fff !important;
border-right: 0;
height: 48px;
border-top: 1px #ccc solid !important;
border-right: 0 !important;
width: 51px;
}
.<API key> button.<API key>.<API key> {
border-left: 3px green solid !important;
border-top: 1px green solid !important;
border-bottom: 1px green solid !important;
}
.<API key> button.<API key>.<API key> {
border-left: 3px yellow solid !important;
border-top: 1px yellow solid !important;
border-bottom: 1px yellow solid !important;
}
.<API key> button.<API key>.<API key> {
border-left: 3px coral solid !important;
border-top: 1px coral solid !important;
border-bottom: 1px coral solid !important;
}
.<API key> button.<API key>.<API key> {
border-left: 3px red solid !important;
border-top: 1px red solid !important;
border-bottom: 1px red solid !important;
}
.<API key> button:focus {
outline: none;
}
.<API key> {
border-radius: 0 !important;
border: 0 !important;
height: 48px !important;
background: #fafafa !important;
border-top: 1px #ccc solid !important;
border-left: 3px #ccc solid !important;
border-bottom: 1px #ccc solid !important;
}
.<API key> {
color: green !important;
}
.<API key> {
color: yellow !important;
}
.<API key> {
color: coral !important;
}
.<API key> {
color: red !important;
}
.<API key> {
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding: 0;
list-style: none;
}
.<API key> {
border-top: 1px solid #ccc;
}
.<API key>.<API key> + .<API key> {
border-top: 1px solid #ccc;
}
/* Resource Items */
.<API key> {
position: relative;
display: flex;
flex-wrap: wrap;
min-height: 50px;
padding-left: 20px;
border-bottom: 1px solid #ccc;
}
@media only screen and (min-width: 960px) {
.<API key> {
padding-left: 24px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
min-height: 50px;
padding-left: 32px;
}
}
.<API key>.<API key> {
min-height: 50px;
margin: 10px 0 0;
border-color: #2d2d30;
background: #2d2d30;
}
@media only screen and (min-width: 600px) {
.<API key>.<API key> {
border-radius: 5px 5px 0 0;
}
}
.<API key> {
flex-grow: 1;
padding: 6px 0;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding-top: 11px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
padding-top: 16px;
}
}
@media only screen and (min-width: 600px) {
.<API key> .<API key> {
padding-top: 9px;
}
}
@media only screen and (min-width: 960px) {
.<API key> .<API key> {
padding-top: 11px;
}
}
.<API key>.<API key> .<API key> {
padding-top: 11px;
}
@media only screen and (min-width: 600px) {
.<API key>.<API key> .<API key> {
padding-top: 11px;
}
}
@media only screen and (min-width: 960px) {
.<API key>.<API key> .<API key> {
padding-top: 11px;
}
}
.<API key> {
position: absolute;
top: 3px;
right: 4px;
display: none;
padding: 0 18px 0 3px;
border-radius: 5px;
border: none;
background: transparent;
color: #888a99;
font-size: 10px;
text-transform: uppercase;
transition: 0.2s ease color;
}
.<API key>:before {
content: "\00d7";
position: absolute;
top: -2px;
right: 3px;
border: none;
font-size: 18px;
font-weight: 900;
line-height: 1;
}
.<API key>:hover {
color: #9ea0ad;
}
.<API key> > .<API key>.<API key> + .<API key> {
border-top: 0;
}
.<API key>.<API key> + .<API key> {
border-top: 1px solid #ccc;
}
.<API key>.<API key> .<API key> {
color: #fff;
}
.<API key> {
display: none !important;
}
.<API key>.<API key> .<API key> {
display: inline-block !important;
}
.<API key>.<API key> .<API key> {
display: block;
}
.<API key>.<API key> .<API key> {
display: none;
}
.<API key> {
position: absolute;
top: 2px;
left: -2px;
display: block;
width: 24px;
height: 24px;
margin: 0;
padding: 0;
border: 0;
background: transparent;
opacity: 0.25;
transition: 0.2s ease transform, 0.2s ease opacity;
}
.<API key>:focus {
outline: none;
}
.<API key>.<API key> {
transform: rotate(-90deg);
}
.<API key>:before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
margin-top: -2.5px;
margin-left: -5px;
border: 5px solid transparent;
border-top-color: #333;
}
.<API key>:hover {
opacity: 1;
}
@media only screen and (min-width: 600px) {
.<API key> {
top: 8px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
top: 13px;
left: 0;
}
.<API key>:before {
margin-top: -3.5px;
margin-left: -7px;
border-width: 7px;
}
}
.<API key> {
display: inline-block;
margin: 0;
margin-right: 4px;
color: #b9b9b9;
font-size: 10px;
}
@media only screen and (min-width: 600px) {
.<API key> {
font-size: 15px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
font-size: 18px;
}
}
@media only screen and (min-width: 600px) {
.<API key> {
margin-right: 15px;
}
}
@media only screen and (min-width: 600px) {
.<API key> {
font-size: 18px;
}
}
a.<API key> {
cursor: pointer;
}
.<API key>:hover {
cursor: pointer;
background-image: linear-gradient(to top, rgba(255, 255, 255, 0) 1px, #999 2px, rgba(255, 255, 255, 0) 1px);
}
.<API key> {
display: inline-block;
margin: 0;
margin-right: 4px;
color: #b9b9b9;
font-size: 10px;
}
@media only screen and (min-width: 600px) {
.<API key> {
margin-right: 15px;
}
}
@media only screen and (min-width: 600px) {
.<API key> {
font-size: 18px;
}
}
.<API key> {
font-size: 10px;
}
@media only screen and (min-width: 600px) {
.<API key> {
font-size: 15px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
font-size: 18px;
}
}
.<API key> {
font-size: 0;
}
.<API key> .raml-console-flag {
margin-left: 10px;
}
.raml-console-flag {
display: inline-block;
padding: 2px 8px;
border: 1px solid #d5d7d9;
border-radius: 5px;
background: #e3e4e6;
color: #333;
font-size: 12px;
}
.<API key> {
position: relative;
top: -1px;
padding: 0 3px;
border-radius: 3px;
background: #e3e4e6;
}
@media only screen and (min-width: 600px) {
.<API key> {
top: -2px;
padding: 2px 8px;
border-radius: 5px;
}
}
@media only screen and (min-width: 600px) {
.<API key> {
top: -3px;
}
}
.raml-console-flag b {
color: #888;
}
.<API key> {
color: #333;
}
.<API key> {
position: absolute;
right: 5px;
color: #585961;
font-size: 13px;
margin-bottom: 5px;
z-index: 1;
}
.<API key> a {
color: #585961;
}
.<API key> a:visited {
color: #585961;
}
.<API key> {
background-color: red;
margin-top: -1px;
font-family: Lato;
font-size: 13px;
padding: 3px;
color: white;
text-align: center;
text-rendering: optimizeLegibility;
}
.<API key> {
position: relative;
padding-top: 8px;
padding-right: 0;
padding-bottom: 8px;
border-top: 1px solid #f1f1f1;
border-bottom: 1px solid #f1f1f1;
background: #fafafa;
color: #585961;
}
.<API key> {
margin: 0;
vertical-align: top;
font-size: 18px;
font-weight: 700;
text-rendering: optimizeLegibility;
margin-left: 32px;
}
.<API key> button:focus {
outline: none;
}
.<API key> {
font-size: 12px;
padding-top: 8px;
}
.<API key> .raml-console-flag {
font-size: 12px !important;
}
.<API key> > span {
margin-left: 5px;
cursor: pointer;
}
.<API key> > span.<API key> {
background: #bbbbbb;
color: #333;
}
root
.<API key> > span {
margin-left: 5px;
cursor: pointer;
}
.<API key> > span.<API key> {
background: #bbbbbb;
color: #333;
}
.<API key> span:first-child {
margin-left: 0;
}
.<API key> {
position: relative;
min-height: 500px;
border: solid #ccc;
border-width: 0 1px 1px;
border-radius: 0 0 5px 5px;
background: #fff;
color: #333;
}
.<API key>.<API key> {
min-height: 0;
}
@media only screen and (min-width: 960px) {
.<API key> {
border-width: 1px;
}
}
.<API key> {
padding: 0;
margin: 0;
list-style: none;
-ms-box-orient: horizontal;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -moz-flex;
display: -webkit-flex;
display: flex;
}
.<API key> {
width: 60%;
-ms-flex: 1 auto;
flex: 1 auto;
-webkit-flex: 1 auto;
font-size: 16px;
}
@media only screen and (min-width: 960px) {
.<API key> {
font-size: 18px;
}
.<API key> .<API key> {
padding-left: 0;
}
}
.<API key> p {
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif', 'Liberation Serif", Georgia, serif;
}
.<API key> a {
color: #257dcf;
}
.<API key> {
display: none;
}
.<API key> .<API key> {
display: none;
}
.<API key> .<API key> {
display: block;
}
.<API key> .<API key> {
display: none;
}
.<API key> .<API key> {
display: block;
}
.<API key>.<API key> .<API key> {
right: -80px;
width: 80px;
}
.<API key>.<API key> .<API key> .<API key> {
display: inline;
}
.<API key>.<API key> .<API key> .<API key> img {
visibility: visible;
}
.<API key>.<API key> .<API key> .<API key>:before {
content: "";
}
.<API key> {
margin-left: 60px;
min-height: 500px;
padding-top: 24px !important;
border: 1px solid #ccc;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
}
.<API key> {
padding: 10px;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding: 24px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
padding: 32px;
}
}
.<API key> {
display: none;
background: #fff;
}
.<API key>.<API key> {
display: block;
}
.<API key> .<API key> {
margin-bottom: 0;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.<API key> {
margin-top: 5px;
padding-left: 0;
}
.<API key> .raml-console-flag {
margin-top: 8px;
border: 1px solid #eaeced;
background: #fafafa;
}
.<API key> .raml-console-flag:first-child {
margin-left: 0;
}
.<API key> .raml-console-flag {
cursor: pointer;
margin: 0 2px 2px 0;
}
.<API key> .raml-console-flag.<API key> {
background: #bbbbbb;
color: #333;
}
.<API key> {
padding: 14px 32px 18px 100px;
border-width: 1px 0;
min-height: 45px;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding-right: 24px;
padding-left: 32px;
}
}
@media only screen and (min-width: 960px) {
.<API key> {
padding-right: 24px;
padding-left: 32px;
}
}
.<API key> {
width: 50%;
}
.<API key> {
padding-top: 0;
}
.<API key> {
float: left;
}
.<API key> {
margin: 0 0 18px;
color: #4c5272;
font-size: 16px;
font-weight: 900;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.<API key>:first-child {
margin-top: 0;
}
.<API key> {
margin-top: 32px;
}
@media only screen and (min-width: 960px) {
.<API key> {
margin-top: 48px;
}
}
.<API key>:first-child {
margin-top: 0;
}
.<API key> {
margin-top: 24px;
}
.<API key> {
margin-bottom: 16px;
}
.<API key> p {
margin-bottom: 0;
padding-top: 5px;
padding-left: 12px;
font-size: 14px;
}
@media only screen and (min-width: 600px) {
.<API key> p {
padding-left: 24px;
font-size: 16px;
}
}
.<API key> {
margin-bottom: 0;
padding-bottom: 3px;
border-bottom: 1px solid #ccc;
font-size: 14px;
}
.<API key> {
margin-left: 5px;
color: #777;
font-size: 14px;
font-style: italic;
font-weight: 400;
}
@media only screen and (min-width: 600px) {
.<API key> {
font-size: 16px;
}
}
.<API key> {
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
word-break: break-all;
}
.<API key> b {
margin-right: 3px;
color: #777;
font-style: italic;
font-weight: 400;
}
.<API key> {
font-size: 14px;
}
.<API key> {
padding-left: 5px;
}
.<API key> {
text-decoration: none;
margin: 0 5px 0 0;
padding: 5px 10px 6px 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f3f4f5;
color: #257dcf;
cursor: pointer;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
font-weight: 700;
transition: 0.2s ease color, 0.2s ease border-color;
-<API key>: antialiased;
}
.<API key>.<API key>,
.<API key>:hover {
border-color: rgba(0, 0, 0, 0.25);
background-color: #257dcf;
color: #fff;
}
.<API key> .raml-console-flag {
border: 1px solid #eaeced;
font-size: 16px;
background: #fafafa;
color: #888;
}
.<API key> {
margin: 0 0 18px 0;
border: 1px solid #c6cada;
border-radius: 3px;
background: rgba(255, 255, 255, 0.75);
font-family: Source Code Pro;
font-size: 14px;
overflow: auto;
}
.<API key> code pre {
margin: 0;
}
.<API key> {
display: none;
}
.<API key>.<API key> {
display: block;
}
.<API key>,
.<API key>:visited,
.<API key>:active {
color: #585961;
text-decoration: none;
text-transform: capitalize;
font-size: 12px;
font-weight: bold;
}
.<API key> {
padding: 10px;
position: absolute;
top: 20px;
left: 0;
background-color: #FFF;
width: 350px;
border: 1px solid black;
z-index: 99;
margin-bottom: 5px;
}
.<API key> .<API key> {
margin-bottom: 5px;
}
.<API key> .<API key> {
font-size: 12px;
}
.<API key> {
width: 0;
flex-shrink: 0;
-webkit-flex-shrink: 0;
overflow: hidden;
<API key>: 4px;
border-left: 3px solid #d6d7d9;
position: relative;
background: #f3f4f5;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1), inset 1px 0 0 rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.7);
}
@media only screen and (min-width: 960px) {
.<API key> {
position: relative;
top: 0;
bottom: 0;
width: 430px;
border-left-width: 0;
}
}
.<API key> {
font-weight: bold;
}
.<API key> {
padding: 16px 0 0 0 !important;
}
.<API key> {
overflow: hidden;
}
@media only screen and (min-width: 960px) {
.<API key> {
height: 100%;
overflow: hidden;
}
}
.<API key> {
height: 43px;
width: 80px;
position: absolute;
top: 0;
right: -80px;
border-radius: 0 0 0 4px;
border: 1px solid rgba(0, 0, 0, 0.1);
background: #d6d7d9;
}
.<API key>,
.<API key> .<API key> {
transition: 0.2s ease background;
}
.<API key>:hover,
.<API key>:hover .<API key> {
background: #c9cacd;
}
@media only screen and (min-width: 960px) {
.<API key> {
right: -21px;
border-left-width: 1px;
}
}
.<API key> .<API key> {
padding: 0;
padding-right: 2px;
border: none;
width: 100%;
height: 100%;
background: #d6d7d9;
outline: none;
}
.<API key> .<API key> svg {
width: 15px;
margin: 0 auto;
vertical-align: text-bottom;
transition: 0.2s ease transform;
}
.<API key> .<API key> {
padding-left: 5px;
font-size: 12pt;
font-weight: 700;
}
.<API key> {
display: block;
border-left: 1px rgba(0, 0, 0, 0.1) solid;
}
@media only screen and (min-width: 960px) {
.<API key> {
display: none;
}
}
.<API key> {
display: none;
}
.<API key> .<API key> {
display: none;
}
@media only screen and (min-width: 960px) {
.<API key> {
display: none;
}
.<API key> .<API key> img {
visibility: hidden;
}
}
.<API key> {
cursor: pointer;
float: right;
width: 19px;
height: 19px;
margin-right: 15px;
margin-top: 3px;
border-radius: 100%;
border: 1px solid #808080;
padding: 0;
text-align: center;
}
.<API key>:hover {
opacity: 0.7;
}
.<API key> svg {
width: 10px;
height: 12px;
margin-bottom: 4px;
margin-left: 1px !important;
}
.<API key> .<API key> {
height: 19px;
margin-top: -4px;
color: #808080;
font-weight: 500;
}
.<API key> {
margin-right: 5px;
display: none;
}
@media only screen and (min-width: 960px) {
.<API key> {
display: block;
}
}
.<API key> {
display: none;
cursor: pointer;
float: right;
width: 19px;
height: 19px;
margin-right: 15px;
margin-top: 3px;
border-radius: 100%;
border: 1px solid #808080;
padding: 0;
text-align: center;
}
.<API key>:hover {
opacity: 0.7;
}
.<API key> svg {
width: 10px;
height: 12px;
margin-bottom: 4px;
margin-left: 1px !important;
}
.<API key> .<API key> {
height: 19px;
margin-top: -4px;
color: #808080;
font-weight: 500;
}
.<API key> {
cursor: pointer;
float: right;
width: 19px;
height: 19px;
margin-right: 15px;
margin-top: 3px;
border-radius: 100%;
border: 1px solid #808080;
padding: 0;
text-align: center;
}
.<API key>:hover {
opacity: 0.7;
}
.<API key> svg {
width: 10px;
height: 12px;
margin-bottom: 4px;
margin-left: 1px !important;
}
.<API key> .<API key> {
height: 19px;
margin-top: -4px;
color: #808080;
font-weight: 500;
}
.<API key>.<API key> {
display: none;
}
.<API key>.<API key> {
width: 0;
border-left: 0;
}
.<API key>.<API key> .<API key> {
right: -80px;
width: 80px;
}
.<API key>.<API key> .<API key>:before {
content: none;
}
.<API key>.<API key> .<API key> .<API key> {
display: inline;
}
.<API key>.<API key> .<API key> img {
visibility: visible;
}
.<API key>.<API key> {
width: 100%;
border-left-width: 0;
box-shadow: none;
}
@media only screen and (min-width: 960px) {
.<API key>.<API key> {
border-left-width: 1px;
}
}
.<API key>.<API key> .<API key> {
display: none;
}
.<API key>.<API key> .<API key> {
display: block;
border: 0;
}
.<API key> svg.<API key> {
display: none;
}
.<API key> svg {
margin-left: 8px;
}
.<API key>.<API key> .<API key> svg.<API key> {
display: none;
}
.<API key>.<API key> .<API key> svg.<API key> {
display: inline-block;
}
.<API key>.<API key> .<API key> {
display: block;
}
.<API key> {
display: none;
overflow: hidden;
border: solid #d6d7d9;
border-width: 0 1px;
}
@media only screen and (min-width: 960px) {
.<API key> {
display: block;
min-width: 430px;
height: 100%;
}
}
.<API key> {
min-height: 455px;
}
@media only screen and (min-width: 960px) {
.<API key> {
overflow: hidden;
max-height: calc(100% - 43px);
-<API key>: touch;
}
}
.<API key> {
padding: 12px 16px 16px;
}
.<API key> .<API key> {
width: 100%;
resize: none;
font-family: Source Code Pro;
font-size: 14px;
border: 1px solid #c6cada;
}
.<API key> {
position: relative;
padding-top: 8px;
padding-right: 0;
padding-bottom: 8px;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: #ddd;
color: #585961;
}
.<API key> .<API key> {
position: absolute;
top: 5px;
right: 10px;
font-size: 14px;
}
.<API key> {
margin: 0;
vertical-align: top;
font-size: 18px;
font-weight: 700;
text-rendering: optimizeLegibility;
}
.<API key> {
position: relative;
display: inline-block;
}
.<API key> {
position: relative;
margin: 0;
padding: 0 20px 0 0;
border: none;
background: transparent;
opacity: 0.8;
transition: 0.2s ease all;
}
.<API key>:hover {
border-color: #9ea0ad;
opacity: 1;
}
.<API key>.<API key>:before {
content: " ";
position: absolute;
top: 10px;
right: 0;
margin: 0 auto;
width: 0;
height: 0;
border-left: 7px solid transparent;
border-bottom: 7px solid #888a99;
border-right: 7px solid transparent;
}
.<API key>.<API key>:before {
content: " ";
position: absolute;
top: 11px;
right: 0px;
margin: 0 auto;
width: 0;
height: 0;
border-right: 7px solid transparent;
border-left: 7px solid transparent;
border-top: 7px solid #888a99;
}
.<API key> {
margin-top: 10px;
margin-right: 16px;
padding-top: 10px;
padding-bottom: 10px;
border-top: 2px solid #d6d7d9;
border-width: 1px 0;
position: relative;
color: #585961;
font-size: 13px;
letter-spacing: 1px;
text-transform: uppercase;
text-rendering: optimizeLegibility;
}
.<API key> {
margin-top: 0;
border-top: 0;
}
.<API key> {
margin: 0;
font-size: 13px;
}
.<API key> + .<API key> {
margin-top: 0;
border-top: 0;
}
.<API key> {
position: absolute;
top: 11px;
right: 5px;
width: 17px;
height: 17px;
border: none;
border-radius: 50%;
background: #888a99;
color: #f3f4f5;
opacity: 0.4;
transition: 0.2s ease all;
}
.<API key>:before {
content: "\002B";
position: absolute;
top: 0;
left: 0;
right: 0;
font-size: 16px;
font-weight: 900;
line-height: 1;
}
.<API key>:hover {
background-color: #9ea0ad;
opacity: 1;
}
.<API key> {
padding: 5px 0;
}
.<API key> {
font-size: 0;
}
.<API key> {
margin-top: 12px;
padding: 5px 0px;
border: 1px solid rgba(0, 0, 0, 0.1);
border-bottom-color: rgba(0, 0, 0, 0.5);
border-radius: 3px;
color: #fff;
cursor: pointer;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 900;
transition: 0.2s ease background-color;
-<API key>: antialiased;
font-size: 15px;
}
.<API key> {
width: 130px;
background-color: #0B88B9;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #5F9ACA;
}
.<API key> {
width: 130px;
background-color: #87538f;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #B16DBB;
}
.<API key> {
width: 130px;
background-color: #1EA18D;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #77C5A2;
}
.<API key> {
width: 130px;
background-color: #d14956;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #EC5D5E;
}
.<API key> {
width: 130px;
background-color: #02B0E2;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #96e7fe;
}
.<API key> {
width: 130px;
background-color: #E48F0A;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #f8ba58;
}
.<API key> {
width: 130px;
background-color: #8A45A2;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #b680c9;
}
.<API key> {
width: 130px;
background-color: #1EBD77;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #59e5a7;
}
.<API key> {
width: 130px;
background-color: #98B805;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #c7f107;
}
.<API key> {
width: 130px;
background-color: red;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #ff4d4d;
}
.<API key> {
width: 130px;
background-color: #8f6953;
letter-spacing: 2px;
}
.<API key>:hover {
background-color: #a9826c;
}
.<API key> {
width: 80px;
margin-left: 7px;
background-color: #2d2d30;
}
.<API key>:hover {
background-color: #46464a;
}
.<API key> {
text-decoration: none;
padding: 5px 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f3f4f5;
cursor: pointer;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: 700;
transition: 0.2s ease color, 0.2s ease border-color;
-<API key>: antialiased;
}
.<API key>:hover {
border-color: rgba(0, 0, 0, 0.25);
background-color: #a8a9b4;
color: #fff;
}
.<API key> {
width: 80px;
margin-left: 7px;
background-color: #888a99;
}
.<API key>:hover {
background-color: #a3a5b1;
}
.<API key> {
position: relative;
}
.<API key> {
display: block;
color: #000;
font-size: 14px;
font-weight: 700;
}
.<API key> {
display: inline;
float: right;
font-size: 11px;
font-weight: normal;
margin-right: 5px;
margin-top: 9px;
}
.<API key> {
display: block;
width: 100%;
margin-top: 5px;
margin-bottom: 18px;
height: 36px;
padding: 0 4px 0 36px;
border: 1px solid #d6d7d9;
border-radius: 3px;
background-color: #fff;
color: #333;
font-size: 16px;
-<API key>: antialiased;
}
.<API key> {
position: absolute;
bottom: 5px;
left: 2px;
border: 0;
background: transparent;
color: #bbb;
font-weight: 900;
transition: 0.3s ease color;
}
.<API key>:before {
content: "↪";
display: block;
-webkit-transform: rotate(-180deg);
}
.<API key>:hover {
color: #777;
}
.<API key> {
margin-right: 19px;
}
.<API key> {
position: absolute;
right: 7px;
bottom: 9px;
width: 100%;
}
.<API key> {
position: static;
}
.<API key> {
position: absolute;
right: 0;
bottom: 0;
display: none;
width: 19px;
height: 19px;
border: 1px solid #bbb;
border-radius: 50%;
background: transparent;
color: #bbb;
font-weight: 900;
transition: 0.3s ease color, 0.3s ease border-color;
z-index: 999;
}
.<API key>:before {
content: "i";
position: absolute;
top: 1px;
left: 1px;
right: 0;
font-family: "Courier New", monospace;
font-size: 13px;
font-weight: 700;
}
.<API key>:hover .<API key> {
color: #777;
border-color: #777;
}
@keyframes <API key> {
0% {
opacity: 0;
transform: translateY(-5px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.<API key> {
position: absolute;
top: 5px;
right: -7px;
z-index: 20;
display: none;
max-width: 100%;
margin: 0 0 18px 0;
padding: 6px 12px;
border-radius: 4px;
background-color: #2d2d30;
color: #fff;
font-size: 14px;
text-align: right;
}
.<API key>:hover .<API key> {
display: block;
animation: flyout-slide 0.15s ease forwards;
}
.<API key>:before {
content: ' ';
position: absolute;
top: -5px;
right: 12px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #2d2d30;
}
.<API key> {
position: absolute;
top: 57px;
left: 0;
z-index: 20;
display: none;
max-width: 100%;
margin: 0 0 18px 0;
padding: 6px 12px;
border-radius: 4px;
background-color: #2d2d30;
color: #fff;
font-size: 14px;
text-align: left;
}
.<API key>:hover .<API key> {
display: block;
animation: flyout-slide 0.15s ease forwards;
}
.<API key>:before {
content: ' ';
position: absolute;
top: -5px;
left: 12px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #2d2d30;
}
.<API key> {
position: relative;
}
.<API key> {
margin-top: 5px;
margin-bottom: 6px;
padding: 0;
border: 2px solid #d6d7d9;
border-radius: 4px;
}
.<API key> {
display: block;
width: 100%;
height: 30px;
padding: 0px 4px 3px 30px;
border: none;
background-color: transparent;
color: #000;
font-size: 15px;
line-height: 30px;
-<API key>: antialiased;
}
.<API key> {
padding-left: 10px;
}
.<API key> {
position: absolute;
top: 1px;
left: 3px;
border: 0;
background: transparent;
color: #bbb;
font-weight: 900;
font-size: 22px;
transition: 0.3s ease color;
}
.<API key>:before {
content: "\00d7";
display: block;
-webkit-transform: rotate(-180deg);
}
.<API key>:hover {
color: #777;
}
.<API key> {
margin: 0;
display: inline-block;
font-size: 16px;
}
.<API key> {
float: left;
padding-top: 2px;
margin: 0 5px 0 0;
font-size: 14px;
font-weight: 700;
}
.<API key> {
margin-bottom: 16px;
font-size: 14px;
}
.<API key> {
display: none;
}
.<API key>.<API key> {
display: block;
}
.<API key> {
display: none;
}
.<API key>.<API key> {
display: block;
}
.<API key> {
margin: 0;
margin-bottom: 2px;
padding-bottom: 3px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.6);
font-size: 16px;
font-weight: 700;
}
.<API key> {
font-size: 16px;
word-wrap: break-word;
}
.<API key> {
margin-bottom: 5px;
margin-left: 16px;
word-wrap: break-word;
}
.<API key> b {
margin-left: -16px;
margin-right: 3px;
color: rgba(0, 0, 0, 0.55);
font-weight: 400;
font-style: italic;
}
.<API key> {
margin: 0;
border: 1px solid #c6cada;
border-radius: 3px;
background: rgba(255, 255, 255, 0.75);
font-family: Source Code Pro;
font-size: 14px;
}
.<API key> code > div {
line-height: 1;
position: relative;
overflow: hidden;
background: #fff;
}
.<API key> {
border: 0;
}
.<API key> {
padding: 0;
}
.<API key> b,
.<API key> i {
margin: 0;
font-style: normal;
font-weight: 700;
}
.<API key> b {
color: #a84bc5;
}
.<API key> i {
color: #4392DB;
}
.<API key> {
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 20;
height: 25px;
<API key>: 3px;
background-color: rgba(45, 45, 48, 0.5);
color: #fff;
text-align: center;
font-weight: 900;
}
.<API key> img {
width: 15px;
vertical-align: middle;
}
.<API key> {
padding: 0 !important;
}
.<API key> .CodeMirror {
height: 100% !important;
}
.<API key> {
padding: 0 !important;
}
.<API key> .CodeMirror {
height: 100% !important;
}
.<API key> {
padding: 0 0 0 11px !important;
}
.<API key> {
padding: 0 0 0 11px !important;
}
.<API key> {
font-size: 13px;
}
.<API key> {
display: block;
}
.<API key> {
padding-bottom: 0;
padding-top: 0;
}
.<API key> {
display: block !important;
}
.<API key> {
display: none;
}
.<API key> {
font-weight: normal;
float: right;
cursor: pointer;
margin-right: 1px;
}
.<API key> {
font-size: 13px;
color: red;
}
.<API key> {
list-style-type: none;
padding-left: 0;
font-size: 14px;
margin-top: -10px !important;
}
.<API key> {
margin-top: 12px;
font-size: 12px;
width: 100%;
padding: 2px;
}
/*
* Hide visually and from screen readers: h5bp.com/u
*/
.raml-console-hidden {
display: none !important;
visibility: hidden;
}
/*
* Hide only visually, but have it available for screen readers: h5bp.com/v
*/
.<API key> {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/*
* Extends the .visuallyhidden class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.<API key>.<API key>:active,
.<API key>.<API key>:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
/*
* Hide visually and from screen readers, but maintain layout
*/
.<API key> {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.<API key>:before,
.<API key>:after {
content: " ";
display: table;
}
.<API key>:after {
clear: both;
}
.<API key> {
max-width: 1260px;
margin: 0px auto;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding: 0 16px;
}
}
.<API key> {
margin-top: 24px;
margin-bottom: 24px;
}
@media only screen and (min-width: 960px) {
.<API key> {
overflow: auto;
max-height: calc(100% - 43px);
-<API key>: touch;
}
}
.<API key> > .<API key> {
border-bottom: 1px solid;
border-bottom-color: darkgray;
font-weight: normal;
}
.<API key> {
word-wrap: break-word;
}
.<API key> {
padding: 12px 16px 16px;
}
.<API key> {
position: relative;
padding-top: 8px;
padding-right: 0;
padding-bottom: 8px;
border: 1px solid #ccc;
background: #ddd;
color: #585961;
}
.<API key> {
margin: 0;
vertical-align: top;
font-size: 18px;
font-weight: 700;
text-rendering: optimizeLegibility;
}
.<API key> {
font-size: 13px;
color: #727379;
}
.<API key> {
padding: 0 !important;
}
.<API key> {
display: block;
text-overflow: ellipsis;
overflow: hidden;
}
.<API key> {
position: relative;
display: inline-block;
}
.<API key> {
position: relative;
margin: 0;
border: none;
background: transparent;
opacity: 0.8;
transition: 0.2s ease all;
padding: 0;
cursor: pointer;
}
.<API key> {
margin: 0;
padding: 8px 12px;
border: 1px solid #c6cada;
border-top: 0;
border-bottom: 0;
background: rgba(255, 255, 255, 0.75);
font-family: Source Code Pro;
font-size: 14px;
}
span.<API key> {
color: red;
}
.<API key> {
margin: 200px auto;
width: 85px;
height: 65px;
text-align: center;
font-size: 10px;
}
.<API key> > div {
background-color: #595959;
height: 100%;
width: 9px;
display: inline-block;
-webkit-animation: <API key> 1.2s infinite ease-in-out;
animation: <API key> 1.2s infinite ease-in-out;
}
.<API key> .raml-console-rect2 {
-<API key>: -1.1s;
animation-delay: -1.1s;
}
.<API key> .raml-console-rect3 {
-<API key>: -1.0s;
animation-delay: -1.0s;
}
.<API key> .raml-console-rect4 {
-<API key>: -0.9s;
animation-delay: -0.9s;
}
.<API key> .raml-console-rect5 {
-<API key>: -0.8s;
animation-delay: -0.8s;
}
@-webkit-keyframes <API key> {
0%, 40%, 100% {
-webkit-transform: scaleY(0.4);
}
20% {
-webkit-transform: scaleY(1);
}
}
@keyframes <API key> {
0%, 40%, 100% {
transform: scaleY(0.4);
-webkit-transform: scaleY(0.4);
}
20% {
transform: scaleY(1);
-webkit-transform: scaleY(1);
}
}
.<API key>::after {
content: 'loading RAML';
font-size: 13px;
}
/*spinner request*/
@-webkit-keyframes <API key> {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-moz-keyframes <API key> {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-o-keyframes <API key> {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes <API key> {
0% {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* :not(:required) hides this rule from IE9 and below */
.<API key>:not(:required) {
-webkit-animation: <API key> 1500ms infinite linear;
-moz-animation: <API key> 1500ms infinite linear;
-ms-animation: <API key> 1500ms infinite linear;
-o-animation: <API key> 1500ms infinite linear;
animation: <API key> 1500ms infinite linear;
-<API key>: 0.5em;
-moz-border-radius: 0.5em;
-ms-border-radius: 0.5em;
-o-border-radius: 0.5em;
border-radius: 0.5em;
-webkit-box-shadow: rgba(0, 0, 51, 0.3) 1.5em 0 0 0, rgba(0, 0, 51, 0.3) 1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) 0 1.5em 0 0, rgba(0, 0, 51, 0.3) -1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) -1.5em 0 0 0, rgba(0, 0, 51, 0.3) -1.1em -1.1em 0 0, rgba(0, 0, 51, 0.3) 0 -1.5em 0 0, rgba(0, 0, 51, 0.3) 1.1em -1.1em 0 0;
-moz-box-shadow: rgba(0, 0, 51, 0.3) 1.5em 0 0 0, rgba(0, 0, 51, 0.3) 1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) 0 1.5em 0 0, rgba(0, 0, 51, 0.3) -1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) -1.5em 0 0 0, rgba(0, 0, 51, 0.3) -1.1em -1.1em 0 0, rgba(0, 0, 51, 0.3) 0 -1.5em 0 0, rgba(0, 0, 51, 0.3) 1.1em -1.1em 0 0;
box-shadow: rgba(0, 0, 51, 0.3) 1.5em 0 0 0, rgba(0, 0, 51, 0.3) 1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) 0 1.5em 0 0, rgba(0, 0, 51, 0.3) -1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) -1.5em 0 0 0, rgba(0, 0, 51, 0.3) -1.1em -1.1em 0 0, rgba(0, 0, 51, 0.3) 0 -1.5em 0 0, rgba(0, 0, 51, 0.3) 1.1em -1.1em 0 0;
display: inline-block;
font-size: 7px;
width: 1em;
height: 1em;
overflow: hidden;
text-indent: 100%;
position: absolute;
left: 125px;
margin-top: 7px;
}
.<API key> {
max-width: 1260px;
margin: 0px auto;
}
@media only screen and (min-width: 600px) {
.<API key> {
padding: 0 16px;
}
}
.<API key> {
margin-top: 24px;
margin-bottom: 24px;
}
@media only screen and (min-width: 960px) {
.<API key> {
overflow: auto;
max-height: calc(100% - 43px);
-<API key>: touch;
}
}
.<API key> section {
background: #f3f4f5;
}
.<API key> {
padding: 12px 16px 16px;
}
.<API key> > div {
width: 100%;
resize: none;
font-size: 14px;
border: 1px solid #c6cada;
}
.<API key> > div {
border: 1px solid #ff0000 !important;
}
.<API key> {
margin-top: 10px;
margin-right: 16px;
padding-top: 10px;
padding-bottom: 10px;
border-top: 2px solid #d6d7d9;
border-width: 1px 0;
position: relative;
color: #585961;
font-size: 13px;
letter-spacing: 1px;
text-transform: uppercase;
text-rendering: optimizeLegibility;
}
.<API key> {
margin-top: 0;
border-top: 0;
}
.<API key> {
margin: 0;
}
.<API key> + .<API key> {
margin-top: 0;
border-top: 0;
}
.<API key> {
position: relative;
}
.<API key> {
display: block;
width: 100%;
margin-top: 5px;
margin-bottom: 18px;
height: 36px;
padding: 0 4px 0 36px;
border: 1px solid #d6d7d9;
border-radius: 3px;
background-color: #fff;
color: #333;
font-size: 16px;
-<API key>: antialiased;
}
.<API key> {
padding: 0 0 0 11px !important;
}
.<API key> {
font-size: 0;
}
.<API key> {
padding: 10px 0 12px;
border: 1px solid rgba(0, 0, 0, 0.1);
border-bottom-color: rgba(0, 0, 0, 0.5);
border-radius: 3px;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.1));
color: #fff;
cursor: pointer;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: 900;
transition: 0.2s ease background-color;
-<API key>: antialiased;
}
.<API key> {
width: 25%;
background-color: #888a99;
}
.<API key>:hover {
background-color: #a3a5b1;
}
.<API key> {
text-transform: capitalize;
font-size: 10px;
background-color: #b7b7b7;
border: 0;
color: #878787;
font-weight: bold;
border-radius: 0;
position: absolute;
float: right;
margin-top: 34px;
right: 32px;
cursor: pointer;
}
.<API key> p {
font-size: 13px;
}
.<API key> .<API key>,
.<API key> .<API key>,
.<API key> .<API key>,
.<API key> .<API key> {
margin-top: 0;
}
.<API key> .<API key> h4,
.<API key> .<API key> h4,
.<API key> .<API key> h4,
.<API key> .<API key> h4 {
font-size: 12px;
margin-bottom: 7px;
}
.<API key> {
list-style-type: none;
padding-left: 0;
margin-bottom: 18px;
}
.<API key> .<API key> {
display: inline-block;
padding: 2px 8px;
border: 1px solid #d5d7d9;
border-radius: 5px;
background: #e3e4e6;
color: #333;
font-size: 12px;
cursor: pointer;
margin-right: 5px;
}
.<API key> .<API key>:hover {
background: #d6d7da;
}
.<API key> .<API key> {
background: #bbbbbb;
color: #333;
}
.<API key> {
cursor: pointer;
}
.<API key> {
display: none;
}
.<API key> {
display: none;
}
.<API key> .<API key> {
display: inline-block;
}
.<API key> .<API key> {
display: block;
}
.<API key> .<API key> {
display: none !important;
}
.<API key> .<API key> {
color: #fff;
}
.<API key> .<API key> {
display: block;
}
.<API key> .<API key> {
min-height: 50px;
margin: 10px 0 0;
border-color: #2d2d30;
background: #2d2d30;
}
@media only screen and (min-width: 600px) {
.<API key> .<API key> {
border-radius: 5px 5px 0 0;
}
}
.<API key>:hover {
cursor: pointer;
}
.<API key> {
background: #e0e0e0;
position: relative;
}
.<API key> {
margin-bottom: 25px;
}
.<API key> .<API key> {
padding: 16px 32px;
font-size: 14px;
}
.<API key> .<API key> {
padding-top: 11px;
padding-bottom: 17px;
background: #f5f5f5;
}
.<API key> .<API key> .<API key> {
height: 23px;
min-height: 0;
border: 0;
}
.<API key> .<API key> .<API key> .<API key> {
padding: 0;
}
.<API key> .<API key> .<API key> .<API key> .<API key> {
float: left;
}
.<API key> {
font-size: 16px;
margin-left: 0;
min-width: 50px;
}
.<API key> {
font-size: 14px;
margin-left: 0;
min-width: 50px;
}
.<API key> {
font-size: 12px;
margin-left: 20px;
font-style: italic;
min-width: 50px;
}
.<API key> {
font-size: 10px;
margin-left: 30px;
font-style: italic;
min-width: 50px;
}
.<API key> {
font-size: 8px;
margin-left: 40px;
font-style: italic;
min-width: 50px;
}
.<API key> {
margin-right: 32px;
font-size: 13px;
border-bottom: 1px;
border-bottom-style: dotted;
position: absolute;
left: 0;
right: 0;
text-align: right;
}
.<API key> {
margin-left: 32px;
}
.<API key> {
margin-left: 32px;
}
.<API key> {
margin-left: 52px;
}
.<API key> {
margin-left: 62px;
}
.<API key> {
margin-left: 72px;
}
.<API key> table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
.<API key> table > thead > tr > th,
.<API key> table > tbody > tr > th,
.<API key> table > tfoot > tr > th,
.<API key> table > thead > tr > td,
.<API key> table > tbody > tr > td,
.<API key> table > tfoot > tr > td {
padding: 10px;
line-height: 1.42857143;
vertical-align: top;
border-top: 1px solid #e0e0e0;
}
.<API key> table > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #e0e0e0;
}
.<API key> table > caption + thead > tr:first-child > th,
.<API key> table > colgroup + thead > tr:first-child > th,
.<API key> table > thead:first-child > tr:first-child > th,
.<API key> table > caption + thead > tr:first-child > td,
.<API key> table > colgroup + thead > tr:first-child > td,
.<API key> table > thead:first-child > tr:first-child > td {
border-top: 0;
}
.<API key> table > tbody + tbody {
border-top: 2px solid #e0e0e0;
}
.<API key> table .raml-console-table {
background-color: #ffffff;
}
.<API key> table-hover > tbody > tr:hover {
background-color: #f2f2f2;
}
.<API key> table > thead > tr > td.raml-console-active,
.<API key> table > tbody > tr > td.raml-console-active,
.<API key> table > tfoot > tr > td.raml-console-active,
.<API key> table > thead > tr > th.raml-console-active,
.<API key> table > tbody > tr > th.raml-console-active,
.<API key> table > tfoot > tr > th.raml-console-active,
.<API key> table > thead > tr.raml-console-active > td,
.<API key> table > tbody > tr.raml-console-active > td,
.<API key> table > tfoot > tr.raml-console-active > td,
.<API key> table > thead > tr.raml-console-active > th,
.<API key> table > tbody > tr.raml-console-active > th,
.<API key> table > tfoot > tr.raml-console-active > th,
.<API key> table > thead > tr > td.raml-console-active,
.<API key> table > tbody > tr > td.raml-console-active,
.<API key> table > tfoot > tr > td.raml-console-active,
.<API key> table > thead > tr > th.raml-console-active,
.<API key> table > tbody > tr > th.raml-console-active,
.<API key> table > tfoot > tr > th.raml-console-active,
.<API key> table > thead > tr.raml-console-active > td,
.<API key> table > tbody > tr.raml-console-active > td,
.<API key> table > tfoot > tr.raml-console-active > td,
.<API key> table > thead > tr.raml-console-active > th,
.<API key> table > tbody > tr.raml-console-active > th,
.<API key> table > tfoot > tr.raml-console-active > th {
background-color: #f2f2f2;
}
.<API key> table-hover > tbody > tr > td.raml-console-active:hover,
.<API key> table-hover > tbody > tr > th.raml-console-active:hover,
.<API key> table-hover > tbody > tr.raml-console-active:hover > td,
.<API key> table-hover > tbody > tr:hover > .raml-console-active,
.<API key> table-hover > tbody > tr.raml-console-active:hover > th,
.<API key> table-hover > tbody > tr > td.raml-console-active:hover,
.<API key> table-hover > tbody > tr > th.raml-console-active:hover,
.<API key> table-hover > tbody > tr.raml-console-active:hover > td,
.<API key> table-hover > tbody > tr:hover > .raml-console-active,
.<API key> table-hover > tbody > tr.raml-console-active:hover > th {
background-color: #e5e5e5;
}
.<API key> table > thead > tr > td.<API key>,
.<API key> table > tbody > tr > td.<API key>,
.<API key> table > tfoot > tr > td.<API key>,
.<API key> table > thead > tr > th.<API key>,
.<API key> table > tbody > tr > th.<API key>,
.<API key> table > tfoot > tr > th.<API key>,
.<API key> table > thead > tr.<API key> > td,
.<API key> table > tbody > tr.<API key> > td,
.<API key> table > tfoot > tr.<API key> > td,
.<API key> table > thead > tr.<API key> > th,
.<API key> table > tbody > tr.<API key> > th,
.<API key> table > tfoot > tr.<API key> > th,
.<API key> table > thead > tr > td.<API key>,
.<API key> table > tbody > tr > td.<API key>,
.<API key> table > tfoot > tr > td.<API key>,
.<API key> table > thead > tr > th.<API key>,
.<API key> table > tbody > tr > th.<API key>,
.<API key> table > tfoot > tr > th.<API key>,
.<API key> table > thead > tr.<API key> > td,
.<API key> table > tbody > tr.<API key> > td,
.<API key> table > tfoot > tr.<API key> > td,
.<API key> table > thead > tr.<API key> > th,
.<API key> table > tbody > tr.<API key> > th,
.<API key> table > tfoot > tr.<API key> > th {
background-color: #dff0d8;
}
.<API key> table-hover > tbody > tr > td.<API key>:hover,
.<API key> table-hover > tbody > tr > th.<API key>:hover,
.<API key> table-hover > tbody > tr.<API key>:hover > td,
.<API key> table-hover > tbody > tr:hover > .<API key>,
.<API key> table-hover > tbody > tr.<API key>:hover > th,
.<API key> table-hover > tbody > tr > td.<API key>:hover,
.<API key> table-hover > tbody > tr > th.<API key>:hover,
.<API key> table-hover > tbody > tr.<API key>:hover > td,
.<API key> table-hover > tbody > tr:hover > .<API key>,
.<API key> table-hover > tbody > tr.<API key>:hover > th {
background-color: #d0e9c6;
}
.<API key> table > thead > tr > td.raml-console-info,
.<API key> table > tbody > tr > td.raml-console-info,
.<API key> table > tfoot > tr > td.raml-console-info,
.<API key> table > thead > tr > th.raml-console-info,
.<API key> table > tbody > tr > th.raml-console-info,
.<API key> table > tfoot > tr > th.raml-console-info,
.<API key> table > thead > tr.raml-console-info > td,
.<API key> table > tbody > tr.raml-console-info > td,
.<API key> table > tfoot > tr.raml-console-info > td,
.<API key> table > thead > tr.raml-console-info > th,
.<API key> table > tbody > tr.raml-console-info > th,
.<API key> table > tfoot > tr.raml-console-info > th,
.<API key> table > thead > tr > td.raml-console-info,
.<API key> table > tbody > tr > td.raml-console-info,
.<API key> table > tfoot > tr > td.raml-console-info,
.<API key> table > thead > tr > th.raml-console-info,
.<API key> table > tbody > tr > th.raml-console-info,
.<API key> table > tfoot > tr > th.raml-console-info,
.<API key> table > thead > tr.raml-console-info > td,
.<API key> table > tbody > tr.raml-console-info > td,
.<API key> table > tfoot > tr.raml-console-info > td,
.<API key> table > thead > tr.raml-console-info > th,
.<API key> table > tbody > tr.raml-console-info > th,
.<API key> table > tfoot > tr.raml-console-info > th {
background-color: #d9edf7;
}
.<API key> table-hover > tbody > tr > td.raml-console-info:hover,
.<API key> table-hover > tbody > tr > th.raml-console-info:hover,
.<API key> table-hover > tbody > tr.raml-console-info:hover > td,
.<API key> table-hover > tbody > tr:hover > .raml-console-info,
.<API key> table-hover > tbody > tr.raml-console-info:hover > th,
.<API key> table-hover > tbody > tr > td.raml-console-info:hover,
.<API key> table-hover > tbody > tr > th.raml-console-info:hover,
.<API key> table-hover > tbody > tr.raml-console-info:hover > td,
.<API key> table-hover > tbody > tr:hover > .raml-console-info,
.<API key> table-hover > tbody > tr.raml-console-info:hover > th {
background-color: #c4e3f3;
}
.<API key> table > thead > tr > td.<API key>,
.<API key> table > tbody > tr > td.<API key>,
.<API key> table > tfoot > tr > td.<API key>,
.<API key> table > thead > tr > th.<API key>,
.<API key> table > tbody > tr > th.<API key>,
.<API key> table > tfoot > tr > th.<API key>,
.<API key> table > thead > tr.<API key> > td,
.<API key> table > tbody > tr.<API key> > td,
.<API key> table > tfoot > tr.<API key> > td,
.<API key> table > thead > tr.<API key> > th,
.<API key> table > tbody > tr.<API key> > th,
.<API key> table > tfoot > tr.<API key> > th,
.<API key> table > thead > tr > td.<API key>,
.<API key> table > tbody > tr > td.<API key>,
.<API key> table > tfoot > tr > td.<API key>,
.<API key> table > thead > tr > th.<API key>,
.<API key> table > tbody > tr > th.<API key>,
.<API key> table > tfoot > tr > th.<API key>,
.<API key> table > thead > tr.<API key> > td,
.<API key> table > tbody > tr.<API key> > td,
.<API key> table > tfoot > tr.<API key> > td,
.<API key> table > thead > tr.<API key> > th,
.<API key> table > tbody > tr.<API key> > th,
.<API key> table > tfoot > tr.<API key> > th {
background-color: #fcf8e3;
}
.<API key> table-hover > tbody > tr > td.<API key>:hover,
.<API key> table-hover > tbody > tr > th.<API key>:hover,
.<API key> table-hover > tbody > tr.<API key>:hover > td,
.<API key> table-hover > tbody > tr:hover > .<API key>,
.<API key> table-hover > tbody > tr.<API key>:hover > th,
.<API key> table-hover > tbody > tr > td.<API key>:hover,
.<API key> table-hover > tbody > tr > th.<API key>:hover,
.<API key> table-hover > tbody > tr.<API key>:hover > td,
.<API key> table-hover > tbody > tr:hover > .<API key>,
.<API key> table-hover > tbody > tr.<API key>:hover > th {
background-color: #faf2cc;
}
.<API key> table > thead > tr > td.raml-console-danger,
.<API key> table > tbody > tr > td.raml-console-danger,
.<API key> table > tfoot > tr > td.raml-console-danger,
.<API key> table > thead > tr > th.raml-console-danger,
.<API key> table > tbody > tr > th.raml-console-danger,
.<API key> table > tfoot > tr > th.raml-console-danger,
.<API key> table > thead > tr.raml-console-danger > td,
.<API key> table > tbody > tr.raml-console-danger > td,
.<API key> table > tfoot > tr.raml-console-danger > td,
.<API key> table > thead > tr.raml-console-danger > th,
.<API key> table > tbody > tr.raml-console-danger > th,
.<API key> table > tfoot > tr.raml-console-danger > th,
.<API key> table > thead > tr > td.raml-console-danger,
.<API key> table > tbody > tr > td.raml-console-danger,
.<API key> table > tfoot > tr > td.raml-console-danger,
.<API key> table > thead > tr > th.raml-console-danger,
.<API key> table > tbody > tr > th.raml-console-danger,
.<API key> table > tfoot > tr > th.raml-console-danger,
.<API key> table > thead > tr.raml-console-danger > td,
.<API key> table > tbody > tr.raml-console-danger > td,
.<API key> table > tfoot > tr.raml-console-danger > td,
.<API key> table > thead > tr.raml-console-danger > th,
.<API key> table > tbody > tr.raml-console-danger > th,
.<API key> table > tfoot > tr.raml-console-danger > th {
background-color: #f2dede;
}
.<API key> table-hover > tbody > tr > td.raml-console-danger:hover,
.<API key> table-hover > tbody > tr > th.raml-console-danger:hover,
.<API key> table-hover > tbody > tr.raml-console-danger:hover > td,
.<API key> table-hover > tbody > tr:hover > .raml-console-danger,
.<API key> table-hover > tbody > tr.raml-console-danger:hover > th,
.<API key> table-hover > tbody > tr > td.raml-console-danger:hover,
.<API key> table-hover > tbody > tr > th.raml-console-danger:hover,
.<API key> table-hover > tbody > tr.raml-console-danger:hover > td,
.<API key> table-hover > tbody > tr:hover > .raml-console-danger,
.<API key> table-hover > tbody > tr.raml-console-danger:hover > th {
background-color: #ebcccc;
}
.raml-console-hljs {
display: block;
padding: 0.5em;
background: #fff;
color: #657b83;
-<API key>: none;
}
.raml-console-hljs pre {
overflow: inherit;
}
.<API key> {
color: #657b83 !important;
}
.<API key>,
.<API key>,
.raml-console-diff .<API key>,
.<API key>,
.<API key>,
.raml-console-lisp .<API key>,
.<API key> {
color: #93a1a1;
}
/* Solarized Green */
.<API key>,
.<API key>,
.raml-console-method,
.<API key>,
.raml-console-css .<API key>,
.<API key>,
.<API key>,
.raml-console-nginx .<API key> {
color: #859900;
}
/* Solarized Cyan */
.<API key>,
.<API key>,
.<API key>,
.<API key> .<API key>,
.<API key> .<API key>,
.<API key>,
.<API key>,
.raml-console-tex .<API key>,
.<API key>,
.<API key>,
.<API key> {
color: #2aa198;
}
/* Solarized Blue */
.<API key>,
.<API key>,
.<API key>,
.<API key>,
.<API key>,
.<API key>,
.raml-console-vhdl .<API key>,
.<API key>,
.raml-console-css .<API key> {
color: #268bd2;
}
/* Solarized Yellow */
.<API key>,
.<API key>,
.raml-console-lisp .<API key>,
.<API key> .<API key>,
.<API key>,
.<API key> .<API key>,
.<API key>,
.<API key>,
.<API key> {
color: #b58900;
}
/* Solarized Orange */
.<API key>,
.<API key> .<API key>,
.<API key>,
.<API key>,
.<API key>,
.<API key> .<API key>,
.raml-console-diff .<API key>,
.<API key>,
.<API key>,
.<API key>,
.<API key>,
.raml-console-css .<API key>,
.<API key> {
color: #cb4b16;
}
/* Solarized Red */
.<API key>,
.<API key> {
color: #dc322f;
}
/* Solarized Violet */
.<API key> {
color: #6c71c4;
}
.raml-console-tex .<API key> {
background: #eee8d5;
}
.raml-console.base03 { color: #002b36; }
.raml-console.base02 { color: #073642; }
.raml-console.base01 { color: #586e75; }
.raml-console.base00 { color: #657b83; }
.raml-console.base0 { color: #839496; }
.raml-console.base1 { color: #93a1a1; }
.raml-console.base2 { color: #eee8d5; }
.raml-console.base3 { color: #fdf6e3; }
.raml-console.solar-yellow { color: #b58900; }
.raml-console.solar-orange { color: #cb4b16; }
.raml-console.solar-red { color: #dc322f; }
.raml-console.solar-magenta { color: #d33682; }
.raml-console.solar-violet { color: #6c71c4; }
.raml-console.solar-blue { color: #268bd2; }
.raml-console.solar-cyan { color: #2aa198; }
.raml-console.solar-green { color: #859900; }
/* Color scheme for code-mirror */
.cm-s-raml-console {
line-height: 1.45em !important;
color-profile: sRGB !important;
rendering-intent: auto !important;
position: relative !important;
background-color: #fff !important;
color: #657b83 !important;
}
.cm-s-raml-console .CodeMirror-widget {
text-shadow: none;
}
.cm-s-raml-console .cm-keyword { color: #cb4b16 }
.cm-s-raml-console .cm-atom { color: #2aa198; }
.cm-s-raml-console .cm-number { color: #2aa198; }
.cm-s-raml-console .cm-def { color: #b58900; }
.cm-s-raml-console .cm-variable { color: #268bd2; }
.cm-s-raml-console .cm-variable-2 { color: #b58900; }
.cm-s-raml-console .cm-variable-3 { color: #6c71c4; }
.cm-s-raml-console .cm-property { color: #b58900; }
.cm-s-raml-console .cm-operator {color: #6c71c4;}
.cm-s-raml-console .cm-comment { color: #586e75; font-style:italic; }
/*.cm-s-raml-console .cm-string { color: #859900; }*/
/*.cm-s-raml-console .cm-string-2 { color: #b58900; }*/
.cm-s-raml-console .cm-meta { color: #859900; }
.cm-s-raml-console .cm-qualifier { color: #b58900; }
.cm-s-raml-console .cm-builtin { color: #2aa198; }
.cm-s-raml-console .cm-bracket { color: #cb4b16; }
.cm-s-raml-console .<API key> { color: #859900; }
.cm-s-raml-console .<API key> { color: #dc322f; }
.cm-s-raml-console .cm-tag { color: #268bd2 }
.cm-s-raml-console .cm-attribute { color: #b58900; }
.cm-s-raml-console .cm-header { color: #586e75; }
.cm-s-raml-console .cm-quote { color: #268bd2; }
.cm-s-raml-console .cm-hr {
color: transparent;
border-top: 1px solid #586e75;
display: block;
}
.cm-s-raml-console .cm-link { color: #268bd2; cursor: pointer; }
.cm-s-raml-console .cm-special { color: #6c71c4; }
.cm-s-raml-console .cm-em {
color: #999;
text-decoration: underline;
<API key>: dotted;
}
.cm-s-raml-console .cm-strong { color: #eee; }
.cm-s-raml-console .cm-error,
.cm-s-raml-console .cm-invalidchar {
color: #586e75;
border-bottom: 1px dotted #dc322f;
}
.cm-s-raml-console .CodeMirror-selected {
background: #eee8d5;
}
/* Editor styling */
/* Little shadow on the view-port of the buffer view */
.cm-s-raml-console.CodeMirror {
/*-moz-box-shadow: inset 7px 0 12px -6px #000;
-webkit-box-shadow: inset 7px 0 12px -6px #000;
box-shadow: inset 7px 0 12px -6px #000;*/
/*height: 100%;*/
/*margin-top: -18px;*/
}
/* Gutter border and some shadow from it */
.cm-s-raml-console .CodeMirror-gutters {
border-right: 1px solid;
}
/* Gutter colors and line number styling based of color scheme (dark / light) */
/* Light */
.cm-s-raml-console .CodeMirror-gutters {
background-color: #fff;
border-color: #eee8d5;
}
/* Common */
.cm-s-raml-console .<API key> {
color: #586e75;
padding: 0 5px;
}
.cm-s-raml-console .<API key> { color: #586e75; }
.cm-s-raml-console .<API key> { color: #cb4b16; }
.cm-s-raml-console .CodeMirror-gutter .<API key> {
color: #586e75;
}
.cm-s-raml-console .CodeMirror-lines .CodeMirror-cursor {
border-left: 1px solid #819090;
}
/*
Active line. Negative margin compensates left padding of the text in the
view-port
*/
.cm-s-raml-console .<API key> {
background: rgba(0, 0, 0, 0.10);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.