code
stringlengths 3
1.05M
| repo_name
stringlengths 4
116
| path
stringlengths 3
942
| language
stringclasses 30
values | license
stringclasses 15
values | size
int32 3
1.05M
|
|---|---|---|---|---|---|
// Autogenerated from vk-api-schema. Please don't edit it manually.
package com.vk.api.sdk.objects.adsweb.responses;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.objects.Validable;
import com.vk.api.sdk.objects.annotations.Required;
import java.util.Objects;
/**
* GetAdCategoriesResponseCategoriesCategory object
*/
public class GetAdCategoriesResponseCategoriesCategory implements Validable {
@SerializedName("id")
@Required
private Integer id;
@SerializedName("name")
@Required
private String name;
public Integer getId() {
return id;
}
public GetAdCategoriesResponseCategoriesCategory setId(Integer id) {
this.id = id;
return this;
}
public String getName() {
return name;
}
public GetAdCategoriesResponseCategoriesCategory setName(String name) {
this.name = name;
return this;
}
@Override
public int hashCode() {
return Objects.hash(name, id);
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetAdCategoriesResponseCategoriesCategory getAdCategoriesResponseCategoriesCategory = (GetAdCategoriesResponseCategoriesCategory) o;
return Objects.equals(name, getAdCategoriesResponseCategoriesCategory.name) &&
Objects.equals(id, getAdCategoriesResponseCategoriesCategory.id);
}
@Override
public String toString() {
final Gson gson = new Gson();
return gson.toJson(this);
}
public String toPrettyString() {
final StringBuilder sb = new StringBuilder("GetAdCategoriesResponseCategoriesCategory{");
sb.append("name='").append(name).append("'");
sb.append(", id=").append(id);
sb.append('}');
return sb.toString();
}
}
|
VKCOM/vk-java-sdk
|
sdk/src/main/java/com/vk/api/sdk/objects/adsweb/responses/GetAdCategoriesResponseCategoriesCategory.java
|
Java
|
mit
| 1,929
|
import knockout = require("knockout");
class Item
{
public Id:KnockoutObservable<string> = knockout.observable("");
public Title:KnockoutObservable<string> = knockout.observable("");
constructor(data:{Id:string; Title:string })
{
this.Id(data.Id);
this.Title(data.Title);
}
public DragStart(target:Item, event:JQueryEventObject):boolean
{
var dragEvent = <DragEvent>event.originalEvent;
dragEvent.dataTransfer.setData("application/x-tieritem", this.Id());
dragEvent.dataTransfer.effectAllowed = "move";
return true;
}
}
export = Item;
|
Lillemanden/TierList
|
TierList/App/Components/Item/Item.ts
|
TypeScript
|
mit
| 563
|
#!/usr/bin/env ruby
require 'i3rb'
include I3::API
include I3::Bar::Widgets
host = I3::Bar::Widgets::HOSTNAME
host.color = "#00FFFF"
host.add_event_callback do |w|
system "xterm", "-e", "top"
end
cmus = I3::Bar::Widgets::CMUS
cmus.add_event_callback do |w,e|
if e["button"]== 1
system "cmus-remote", "--pause"
end
end
bar = I3::Bar.get_instance do |b|
include I3::Bar::Widgets
b.add_widgets [ host, CMUS, WIFI, TEMPERATURE, BATTERY, CALENDAR ]
b.add_event_callback do |w,e|
$stderr.puts e.inspect
end
b.start_events_capturing
b.run 1
end
|
MinasMazar/dotfiles
|
i3.symlink/i3ba.rb
|
Ruby
|
mit
| 574
|
#!/usr/bin/perl
# Runs 20 children that expose "PerlToUpper" before returning the result.
use strict; use warnings;
use constant CHILDREN => 20;
use Time::HiRes qw(usleep);
use Gearman::Worker;
$|++;
my @child_pids;
for (1 .. CHILDREN) {
if (my $pid = fork) {
push @child_pids, $pid;
next;
}
eval {
my $w = Gearman::Worker->new(job_servers => '127.0.0.1:4730');
$w->register_function(PerlToUpper => sub { print "."; uc $_[0]->arg });
$w->work while 1;
};
warn $@ if $@;
exit 0;
}
$SIG{INT} = $SIG{HUP} = sub {
kill 9, @child_pids;
print "\nChildren shut down, gracefully exiting\n";
exit 0;
};
printf "Forked %d children, serving 'PerlToUpper' function to gearman\n", CHILDREN;
sleep;
|
mikespook/gearman-go
|
example/pl/worker_multi.pl
|
Perl
|
mit
| 728
|
import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'lbry-redux';
import LivestreamLink from './view';
const select = (state, props) => ({
channelClaim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select)(LivestreamLink);
|
lbryio/lbry-app
|
ui/component/livestreamLink/index.js
|
JavaScript
|
mit
| 275
|
#include "AnimationComponentModule.h"
#include "AnimationComponent.h"
using namespace PaintsNow;
using namespace PaintsNow::NsMythForest;
using namespace PaintsNow::NsSnowyStream;
AnimationComponentModule::AnimationComponentModule(Engine& engine) : ModuleImpl<AnimationComponent>(engine) {}
|
paintsnow/paintsnow
|
Source/Utility/MythForest/Component/Animation/AnimationComponentModule.cpp
|
C++
|
mit
| 292
|
set :runner, VirtualMonkey::Runner::Nginx
before do
@runner.stop_all
@runner.launch_all
@runner.wait_for_all("operational")
end
test "default" do
@runner.run_nginx_checks
@runner.probe(".*", "su - mysql -s /bin/bash -c \"ulimit -n\"") { |r,st| r.to_i > 1024 }
@runner.check_monitoring
@runner.reboot_all
@runner.run_nginx_checks
@runner.check_monitoring
# @runner.run_logger_audit
end
|
kevin-bockman/virtualmonkey
|
features/nginx_pass_mysql_aio.rb
|
Ruby
|
mit
| 405
|
var request = require("request");
var util = require("util");
var async = require("async");
var config = require("./config");
var log = require("./log");
var error = require("./error");
var tools = require("./tools");
var buffer = require("./buffer");
var api = {};
//url:http://127.0.0.1/path
//data: an object
//ifbuff: whether buffer the post
//cb(err, result)
api.post = function(url, data, ifbuff, cb) {
var datastr = tools.objToString(data);
async.series([
function(callback) {
if(ifbuff){
buffer.get(url + datastr, function(err, res_get){
if(err){
callback(err, null);
return;
}
if(!res_get){ //buffer not hit
callback(null, null);
}else{ //buffer hit
callback(1, tools.stringToObj(res_get));
}
});
}else{ //not a buff request
callback(null, null);
}
},
function(callback) { //buffer not hit
//request for data
options = {
method: "POST",
url: url,
timeout: config.request.timeout,
// body:datastr,
json:data
};
request(options, function(err, res, body){
if(err) {
log.toolslog("error", util.format("at api.post: request url:%s, data: %j, error:%s",
url, data, err));
callback(error.get("syserr", null));
}else{
//set buffer
if(ifbuff){
buffer.set(url + datastr, body);
}
callback(null, tools.stringToObj(body));
}
});
}
], function(err, result){
if(err == 1) { //buffer hit, get from first callback
cb(null, result[0]);
}else{ //buffer not hit, get from second callback
cb(err, result[1]);
}
});
}
api.wait = function(res, listName) {
res.wait(listName);
}
api.nowait = function(res, listName) {
res.nowait(listName);
}
api.sendText = function(res, text) {
res.reply(text);
}
api.sendImage = function(res, mediaId) {
res.reply({
type: "image",
content: {
mediaId: mediaId
}
});
}
api.sendVoice = function(res, mediaId) {
res.reply({
type: "voice",
content: {
mediaId: mediaId
}
});
}
api.sendVideo = function(res, mediaId, thumbMediaId) {
res.reply({
type: "video",
content: {
mediaId: mediaId,
thumbMediaId: thumbMediaId
}
});
}
api.sendMusic = function(res, title, description, musicUrl, hqMusicUrl) {
res.reply({
title: title,
description: description,
musicUrl: musicUrl,
hqMusicUrl: hqMusicUrl
});
}
//articls is an array of object of {title, description, picurl, url}
/*
just like below:
articls = [{
title: title,
description: description,
picurl: picurl,
url: url
},{
title: title2,
description: description2,
picurl: picurl2,
url: url2
}]
*/
api.sendTextImage = function(res, articls) {
res.reply(articls);
}
api.writelog = function(level, str) {
log.userlog(level, str);
}
module.exports = api;
|
JustAnotherCan/wechat-ship
|
server/core/api.js
|
JavaScript
|
mit
| 2,796
|
uis.directive('uiSelect',
['$document', 'uiSelectConfig', 'uiSelectMinErr', 'uisOffset', '$compile', '$parse', '$timeout',
function($document, uiSelectConfig, uiSelectMinErr, uisOffset, $compile, $parse, $timeout) {
return {
restrict: 'EA',
templateUrl: function(tElement, tAttrs) {
var theme = tAttrs.theme || uiSelectConfig.theme;
return theme + (angular.isDefined(tAttrs.multiple) ? '/select-multiple.tpl.html' : '/select.tpl.html');
},
replace: true,
transclude: true,
require: ['uiSelect', '^ngModel'],
scope: true,
controller: 'uiSelectCtrl',
controllerAs: '$select',
compile: function(tElement, tAttrs) {
// Allow setting ngClass on uiSelect
var match = /{(.*)}\s*{(.*)}/.exec(tAttrs.ngClass);
if(match) {
var combined = '{'+ match[1] +', '+ match[2] +'}';
tAttrs.ngClass = combined;
tElement.attr('ng-class', combined);
}
//Multiple or Single depending if multiple attribute presence
if (angular.isDefined(tAttrs.multiple))
tElement.append('<ui-select-multiple/>').removeAttr('multiple');
else
tElement.append('<ui-select-single/>');
if (tAttrs.inputId)
tElement.querySelectorAll('input.ui-select-search')[0].id = tAttrs.inputId;
return function(scope, element, attrs, ctrls, transcludeFn) {
var $select = ctrls[0];
var ngModel = ctrls[1];
$select.generatedId = uiSelectConfig.generateId();
$select.baseTitle = attrs.title || 'Select box';
$select.focusserTitle = $select.baseTitle + ' focus';
$select.focusserId = 'focusser-' + $select.generatedId;
$select.closeOnSelect = function() {
if (angular.isDefined(attrs.closeOnSelect)) {
return $parse(attrs.closeOnSelect)();
} else {
return uiSelectConfig.closeOnSelect;
}
}();
scope.$watch('skipFocusser', function() {
var skipFocusser = scope.$eval(attrs.skipFocusser);
$select.skipFocusser = skipFocusser !== undefined ? skipFocusser : uiSelectConfig.skipFocusser;
});
$select.onSelectCallback = $parse(attrs.onSelect);
$select.onRemoveCallback = $parse(attrs.onRemove);
//Limit the number of selections allowed
$select.limit = (angular.isDefined(attrs.limit)) ? parseInt(attrs.limit, 10) : undefined;
//Set reference to ngModel from uiSelectCtrl
$select.ngModel = ngModel;
$select.choiceGrouped = function(group){
return $select.isGrouped && group && group.name;
};
if(attrs.tabindex){
attrs.$observe('tabindex', function(value) {
$select.focusInput.attr('tabindex', value);
element.removeAttr('tabindex');
});
}
scope.$watch('$select.items', function(){
});
scope.$watch('searchEnabled', function() {
var searchEnabled = scope.$eval(attrs.searchEnabled);
$select.searchEnabled = searchEnabled !== undefined ? searchEnabled : uiSelectConfig.searchEnabled;
});
scope.$watch('sortable', function() {
var sortable = scope.$eval(attrs.sortable);
$select.sortable = sortable !== undefined ? sortable : uiSelectConfig.sortable;
});
attrs.$observe('disabled', function() {
// No need to use $eval() (thanks to ng-disabled) since we already get a boolean instead of a string
$select.disabled = attrs.disabled !== undefined ? attrs.disabled : false;
});
attrs.$observe('resetSearchInput', function() {
// $eval() is needed otherwise we get a string instead of a boolean
var resetSearchInput = scope.$eval(attrs.resetSearchInput);
$select.resetSearchInput = resetSearchInput !== undefined ? resetSearchInput : true;
});
attrs.$observe('paste', function() {
$select.paste = scope.$eval(attrs.paste);
});
attrs.$observe('tagging', function() {
if(attrs.tagging !== undefined)
{
// $eval() is needed otherwise we get a string instead of a boolean
var taggingEval = scope.$eval(attrs.tagging);
$select.tagging = {isActivated: true, fct: taggingEval !== true ? taggingEval : undefined};
}
else
{
$select.tagging = {isActivated: false, fct: undefined};
}
});
attrs.$observe('taggingLabel', function() {
if(attrs.tagging !== undefined )
{
// check eval for FALSE, in this case, we disable the labels
// associated with tagging
if ( attrs.taggingLabel === 'false' ) {
$select.taggingLabel = false;
}
else
{
$select.taggingLabel = attrs.taggingLabel !== undefined ? attrs.taggingLabel : '(new)';
}
}
});
attrs.$observe('taggingTokens', function() {
if (attrs.tagging !== undefined) {
var tokens = attrs.taggingTokens !== undefined ? attrs.taggingTokens.split('|') : [',','ENTER'];
$select.taggingTokens = {isActivated: true, tokens: tokens };
}
});
//Automatically gets focus when loaded
if (angular.isDefined(attrs.autofocus)){
$timeout(function(){
$select.setFocus();
});
}
//Gets focus based on scope event name (e.g. focus-on='SomeEventName')
if (angular.isDefined(attrs.focusOn)){
scope.$on(attrs.focusOn, function() {
$timeout(function(){
$select.setFocus();
});
});
}
function onDocumentClick(e) {
if (!$select.open) return; //Skip it if dropdown is close
var contains = false;
if (window.jQuery) {
// Firefox 3.6 does not support element.contains()
// See Node.contains https://developer.mozilla.org/en-US/docs/Web/API/Node.contains
contains = window.jQuery.contains(element[0], e.target);
} else {
contains = element[0].contains(e.target);
}
if (!contains && !$select.clickTriggeredSelect) {
var skipFocusser;
if (!$select.skipFocusser) {
//Will lose focus only with certain targets
var focusableControls = ['input','button','textarea','select'];
var targetController = angular.element(e.target).controller('uiSelect'); //To check if target is other ui-select
skipFocusser = targetController && targetController !== $select; //To check if target is other ui-select
if (!skipFocusser) skipFocusser = ~focusableControls.indexOf(e.target.tagName.toLowerCase()); //Check if target is input, button or textarea
} else {
skipFocusser = true;
}
$select.close(skipFocusser);
scope.$digest();
}
$select.clickTriggeredSelect = false;
}
// See Click everywhere but here event http://stackoverflow.com/questions/12931369
$document.on('click', onDocumentClick);
scope.$on('$destroy', function() {
$document.off('click', onDocumentClick);
});
// Move transcluded elements to their correct position in main template
transcludeFn(scope, function(clone) {
// See Transclude in AngularJS http://blog.omkarpatil.com/2012/11/transclude-in-angularjs.html
// One day jqLite will be replaced by jQuery and we will be able to write:
// var transcludedElement = clone.filter('.my-class')
// instead of creating a hackish DOM element:
var transcluded = angular.element('<div>').append(clone);
var transcludedMatch = transcluded.querySelectorAll('.ui-select-match');
transcludedMatch.removeAttr('ui-select-match'); //To avoid loop in case directive as attr
transcludedMatch.removeAttr('data-ui-select-match'); // Properly handle HTML5 data-attributes
if (transcludedMatch.length !== 1) {
throw uiSelectMinErr('transcluded', "Expected 1 .ui-select-match but got '{0}'.", transcludedMatch.length);
}
element.querySelectorAll('.ui-select-match').replaceWith(transcludedMatch);
var transcludedChoices = transcluded.querySelectorAll('.ui-select-choices');
transcludedChoices.removeAttr('ui-select-choices'); //To avoid loop in case directive as attr
transcludedChoices.removeAttr('data-ui-select-choices'); // Properly handle HTML5 data-attributes
if (transcludedChoices.length !== 1) {
throw uiSelectMinErr('transcluded', "Expected 1 .ui-select-choices but got '{0}'.", transcludedChoices.length);
}
element.querySelectorAll('.ui-select-choices').replaceWith(transcludedChoices);
var transcludedNoChoice = transcluded.querySelectorAll('.ui-select-no-choice');
transcludedNoChoice.removeAttr('ui-select-no-choice'); //To avoid loop in case directive as attr
transcludedNoChoice.removeAttr('data-ui-select-no-choice'); // Properly handle HTML5 data-attributes
if (transcludedNoChoice.length == 1) {
element.querySelectorAll('.ui-select-no-choice').replaceWith(transcludedNoChoice);
}
});
// Support for appending the select field to the body when its open
var appendToBody = scope.$eval(attrs.appendToBody);
if (appendToBody !== undefined ? appendToBody : uiSelectConfig.appendToBody) {
scope.$watch('$select.open', function(isOpen) {
if (isOpen) {
positionDropdown();
} else {
resetDropdown();
}
});
// Move the dropdown back to its original location when the scope is destroyed. Otherwise
// it might stick around when the user routes away or the select field is otherwise removed
scope.$on('$destroy', function() {
resetDropdown();
});
}
// Hold on to a reference to the .ui-select-container element for appendToBody support
var placeholder = null,
originalWidth = '';
function positionDropdown() {
// Remember the absolute position of the element
var offset = uisOffset(element);
// Clone the element into a placeholder element to take its original place in the DOM
placeholder = angular.element('<div class="ui-select-placeholder"></div>');
placeholder[0].style.width = offset.width + 'px';
placeholder[0].style.height = offset.height + 'px';
element.after(placeholder);
// Remember the original value of the element width inline style, so it can be restored
// when the dropdown is closed
originalWidth = element[0].style.width;
// Now move the actual dropdown element to the end of the body
$document.find('body').append(element);
element[0].style.position = 'absolute';
element[0].style.left = offset.left + 'px';
element[0].style.top = offset.top + 'px';
element[0].style.width = offset.width + 'px';
}
function resetDropdown() {
if (placeholder === null) {
// The dropdown has not actually been display yet, so there's nothing to reset
return;
}
// Move the dropdown element back to its original location in the DOM
placeholder.replaceWith(element);
placeholder = null;
element[0].style.position = '';
element[0].style.left = '';
element[0].style.top = '';
element[0].style.width = originalWidth;
// Set focus back on to the moved element
$select.setFocus();
}
// Hold on to a reference to the .ui-select-dropdown element for direction support.
var dropdown = null,
directionUpClassName = 'direction-up';
// Support changing the direction of the dropdown if there isn't enough space to render it.
scope.$watch('$select.open', function() {
if ($select.dropdownPosition === 'auto' || $select.dropdownPosition === 'up'){
scope.calculateDropdownPos();
}
});
var setDropdownPosUp = function(offset, offsetDropdown){
offset = offset || uisOffset(element);
offsetDropdown = offsetDropdown || uisOffset(dropdown);
dropdown[0].style.position = 'absolute';
dropdown[0].style.top = (offsetDropdown.height * -1) + 'px';
element.addClass(directionUpClassName);
};
var setDropdownPosDown = function(offset, offsetDropdown){
element.removeClass(directionUpClassName);
offset = offset || uisOffset(element);
offsetDropdown = offsetDropdown || uisOffset(dropdown);
dropdown[0].style.position = '';
dropdown[0].style.top = '';
};
scope.calculateDropdownPos = function(){
if ($select.open) {
dropdown = angular.element(element).querySelectorAll('.ui-select-dropdown');
if (dropdown.length === 0) {
return;
}
// Hide the dropdown so there is no flicker until $timeout is done executing.
dropdown[0].style.opacity = 0;
// Delay positioning the dropdown until all choices have been added so its height is correct.
$timeout(function(){
if ($select.dropdownPosition === 'up'){
//Go UP
setDropdownPosUp();
}else{ //AUTO
element.removeClass(directionUpClassName);
var offset = uisOffset(element);
var offsetDropdown = uisOffset(dropdown);
//https://code.google.com/p/chromium/issues/detail?id=342307#c4
var scrollTop = $document[0].documentElement.scrollTop || $document[0].body.scrollTop; //To make it cross browser (blink, webkit, IE, Firefox).
// Determine if the direction of the dropdown needs to be changed.
if (offset.top + offset.height + offsetDropdown.height > scrollTop + $document[0].documentElement.clientHeight) {
//Go UP
setDropdownPosUp(offset, offsetDropdown);
}else{
//Go DOWN
setDropdownPosDown(offset, offsetDropdown);
}
}
// Display the dropdown once it has been positioned.
dropdown[0].style.opacity = 1;
});
} else {
if (dropdown === null || dropdown.length === 0) {
return;
}
// Reset the position of the dropdown.
dropdown[0].style.position = '';
dropdown[0].style.top = '';
element.removeClass(directionUpClassName);
}
};
};
}
};
}]);
|
90TechSAS/ui-select
|
src/uiSelectDirective.js
|
JavaScript
|
mit
| 15,230
|
#include <bandit/bandit.h>
#include <bitfield/util.hpp>
#include <bitfield/container/vector.hpp>
#include <bitfield/section/base.hpp>
#include <bitfield/section/list.hpp>
#include <vector>
namespace bitfield { namespace util {
namespace hex_dump_traits_test {
template<typename T>
using std_vector = hex_dump_traits<std::vector<T>>;
using section_base = hex_dump_traits<section::base<int,int,int>>;
using section_list_iterator = hex_dump_traits<section::list<int,int,int>::iterator>;
}
go_bandit([]{
using namespace bandit;
describe("util::hex_dump_traits<Container>::IS_SUPPORT", [&]{
describe("when the Container was a std::vector<T>", [&]{
describe("when the T was a double", [&]{
it("should be false", [&]{
AssertThat((bool)hex_dump_traits_test::std_vector<double>::IS_SUPPORT, Equals(false));
});
});
describe("when the T was an uint8_t", [&]{
it("should be true", [&]{
AssertThat((bool)hex_dump_traits_test::std_vector<uint8_t>::IS_SUPPORT, Equals(true));
});
});
describe("when the T was an int8_t", [&]{
it("should be false", [&]{
AssertThat((bool)hex_dump_traits_test::std_vector<int8_t>::IS_SUPPORT, Equals(false));
});
});
});
describe("when the Container was a section::base<D,F,P>", [&]{
it("should be true", [&]{
AssertThat((bool)hex_dump_traits_test::section_base::IS_SUPPORT, Equals(true));
});
});
describe("when the Container was a section::list<D,F,P>::iterator", [&]{
it("should be true", [&]{
AssertThat((bool)hex_dump_traits_test::section_list_iterator::IS_SUPPORT, Equals(true));
});
});
});
describe("util::hex_dump(const Container & container)", [&]{
it("should be a hex dump", [&]{
container::vector bytes{
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x01, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x02, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x03, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x04, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x05, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x06, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x07, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x08, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x09, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x0A, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x0B, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x0C, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x0D, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x0E, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x0F, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x10, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x11, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x12, 0x01, 0x02, 0x03, 0x04, 0x05,
};
std::string expected = "";
expected += "0000 | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0010 | 01 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0020 | 02 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0030 | 03 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0040 | 04 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0050 | 05 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0060 | 06 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0070 | 07 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0080 | 08 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0090 | 09 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "00A0 | 0A 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "00B0 | 0B 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "00C0 | 0C 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "00D0 | 0D 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "00E0 | 0E 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "00F0 | 0F 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0100 | 10 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0110 | 11 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F\n";
expected += "0120 | 12 01 02 03 04 05\n";
AssertThat(hex_dump(bytes), Equals(expected));
});
});
});
}}
|
mrk21/bitfield
|
test/spec/util_spec.cpp
|
C++
|
mit
| 5,997
|
package cz.muni.fi.pa165.languageschool.test;
import java.util.Collection;
import javax.persistence.EntityManager;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;
/**
*
* @author Michal Fučík (395624) michal.fuca.fucik(at)gmail.com
*/
//@RunWith(SpringJUnit4ClassRunner.class)
////@ContextConfiguration(locations = {
//// "classpath:testApplicationContext.xml"})
//@TransactionConfiguration(defaultRollback = true)
//@Transactional
public abstract class BaseTest {
protected EntityManager em;
public void assertCollectionEquals(Collection<Object> exp, Collection<Object> given) {
assertEquals(exp.getClass(), given.getClass());
assertEquals(exp.size(), given.size());
for(Object l: exp) {
if (!given.contains(l))
fail("Tested collection does not contain expected element. " + l);
}
}
}
|
fuca/languageschool
|
language-school-bus-impl-module/src/test/java/cz/muni/fi/pa165/languageschool/test/BaseTest.java
|
Java
|
mit
| 1,161
|
require 'morpheus/api/api_client'
class Morpheus::NetworkStaticRoutesInterface < Morpheus::RestInterface
def base_path
"/api/networks"
end
def get_static_route(network_id, route_id, params={}, headers={})
validate_id!(network_id)
validate_id!(route_id)
execute(method: :get, url: "#{base_path}/#{network_id}/routes/#{route_id}", params: params, headers: headers)
end
def list_static_routes(network_id, params={}, headers={})
validate_id!(network_id)
execute(method: :get, url: "#{base_path}/#{network_id}/routes", params: params, headers: headers)
end
def create_static_route(network_id, payload, params={}, headers={})
validate_id!(network_id)
execute(method: :post, url: "#{base_path}/#{network_id}/routes", params: params, payload: payload, headers: headers)
end
def update_static_route(network_id, route_id, payload, params={}, headers={})
validate_id!(network_id)
validate_id!(route_id)
execute(method: :put, url: "#{base_path}/#{network_id}/routes/#{route_id}", params: params, payload: payload, headers: headers)
end
def delete_static_route(network_id, route_id, params={}, headers={})
validate_id!(network_id)
validate_id!(route_id)
execute(method: :delete, url: "#{base_path}/#{network_id}/routes/#{route_id}", params: params, headers: headers)
end
end
|
gomorpheus/morpheus-cli
|
lib/morpheus/api/network_static_routes_interface.rb
|
Ruby
|
mit
| 1,349
|
/**********************************************************************
* File: topitch.h (Formerly to_pitch.h)
* Description: Code to determine fixed pitchness and the pitch if fixed.
* Author: Ray Smith
* Created: Tue Aug 24 16:57:29 BST 1993
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
** http://www.apache.org/licenses/LICENSE-2.0
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*
**********************************************************************/
#ifndef TOPITCH_H
#define TOPITCH_H
#include BLIK_TESSERACT_U_blobbox_h //original-code:"blobbox.h"
namespace tesseract {
class Tesseract;
}
extern BOOL_VAR_H (textord_debug_pitch_test, FALSE,
"Debug on fixed pitch test");
extern BOOL_VAR_H (textord_debug_pitch_metric, FALSE,
"Write full metric stuff");
extern BOOL_VAR_H (textord_show_row_cuts, FALSE, "Draw row-level cuts");
extern BOOL_VAR_H (textord_show_page_cuts, FALSE, "Draw page-level cuts");
extern BOOL_VAR_H (textord_pitch_cheat, FALSE,
"Use correct answer for fixed/prop");
extern BOOL_VAR_H (textord_blockndoc_fixed, TRUE,
"Attempt whole doc/block fixed pitch");
extern BOOL_VAR_H (textord_fast_pitch_test, FALSE,
"Do even faster pitch algorithm");
extern double_VAR_H (textord_projection_scale, 0.125,
"Ding rate for mid-cuts");
extern double_VAR_H (textord_balance_factor, 2.0,
"Ding rate for unbalanced char cells");
void compute_fixed_pitch(ICOORD page_tr, // top right
TO_BLOCK_LIST *port_blocks, // input list
float gradient, // page skew
FCOORD rotation, // for drawing
BOOL8 testing_on); // correct orientation
void fix_row_pitch( //get some value
TO_ROW *bad_row, //row to fix
TO_BLOCK *bad_block, //block of bad_row
TO_BLOCK_LIST *blocks, //blocks to scan
inT32 row_target, //number of row
inT32 block_target //number of block
);
void compute_block_pitch( TO_BLOCK *block, // input list
FCOORD rotation, // for drawing
inT32 block_index, // block number
BOOL8 testing_on); // correct orientation
BOOL8 compute_rows_pitch( //find line stats
TO_BLOCK *block, //block to do
inT32 block_index, //block number
BOOL8 testing_on //correct orientation
);
BOOL8 try_doc_fixed( //determine pitch
ICOORD page_tr, //top right
TO_BLOCK_LIST *port_blocks, //input list
float gradient //page skew
);
BOOL8 try_block_fixed( //find line stats
TO_BLOCK *block, //block to do
inT32 block_index //block number
);
BOOL8 try_rows_fixed( //find line stats
TO_BLOCK *block, //block to do
inT32 block_index, //block number
BOOL8 testing_on //correct orientation
);
void print_block_counts( //find line stats
TO_BLOCK *block, //block to do
inT32 block_index //block number
);
void count_block_votes( //find line stats
TO_BLOCK *block, //block to do
inT32 &def_fixed, //add to counts
inT32 &def_prop,
inT32 &maybe_fixed,
inT32 &maybe_prop,
inT32 &corr_fixed,
inT32 &corr_prop,
inT32 &dunno);
BOOL8 row_pitch_stats( //find line stats
TO_ROW *row, //current row
inT32 maxwidth, //of spaces
BOOL8 testing_on //correct orientation
);
BOOL8 find_row_pitch( //find lines
TO_ROW *row, //row to do
inT32 maxwidth, //max permitted space
inT32 dm_gap, //ignorable gaps
TO_BLOCK *block, //block of row
inT32 block_index, //block_number
inT32 row_index, //number of row
BOOL8 testing_on //correct orientation
);
BOOL8 fixed_pitch_row( //find lines
TO_ROW *row, //row to do
BLOCK* block,
inT32 block_index //block_number
);
BOOL8 count_pitch_stats( //find lines
TO_ROW *row, //row to do
STATS *gap_stats, //blob gaps
STATS *pitch_stats, //centre-centre stats
float initial_pitch, //guess at pitch
float min_space, //estimate space size
BOOL8 ignore_outsize, //discard big objects
BOOL8 split_outsize, //split big objects
inT32 dm_gap //ignorable gaps
);
float tune_row_pitch( //find fp cells
TO_ROW *row, //row to do
STATS *projection, //vertical projection
inT16 projection_left, //edge of projection
inT16 projection_right, //edge of projection
float space_size, //size of blank
float &initial_pitch, //guess at pitch
float &best_sp_sd, //space sd
inT16 &best_mid_cuts, //no of cheap cuts
ICOORDELT_LIST *best_cells, //row cells
BOOL8 testing_on //inidividual words
);
float tune_row_pitch2( //find fp cells
TO_ROW *row, //row to do
STATS *projection, //vertical projection
inT16 projection_left, //edge of projection
inT16 projection_right, //edge of projection
float space_size, //size of blank
float &initial_pitch, //guess at pitch
float &best_sp_sd, //space sd
inT16 &best_mid_cuts, //no of cheap cuts
ICOORDELT_LIST *best_cells, //row cells
BOOL8 testing_on //inidividual words
);
float compute_pitch_sd ( //find fp cells
TO_ROW * row, //row to do
STATS * projection, //vertical projection
inT16 projection_left, //edge
inT16 projection_right, //edge
float space_size, //size of blank
float initial_pitch, //guess at pitch
float &sp_sd, //space sd
inT16 & mid_cuts, //no of free cuts
ICOORDELT_LIST * row_cells, //list of chop pts
BOOL8 testing_on, //inidividual words
inT16 start = 0, //start of good range
inT16 end = 0 //end of good range
);
float compute_pitch_sd2 ( //find fp cells
TO_ROW * row, //row to do
STATS * projection, //vertical projection
inT16 projection_left, //edge
inT16 projection_right, //edge
float initial_pitch, //guess at pitch
inT16 & occupation, //no of occupied cells
inT16 & mid_cuts, //no of free cuts
ICOORDELT_LIST * row_cells, //list of chop pts
BOOL8 testing_on, //inidividual words
inT16 start = 0, //start of good range
inT16 end = 0 //end of good range
);
void print_pitch_sd( //find fp cells
TO_ROW *row, //row to do
STATS *projection, //vertical projection
inT16 projection_left, //edges //size of blank
inT16 projection_right,
float space_size,
float initial_pitch //guess at pitch
);
void find_repeated_chars(TO_BLOCK *block, // Block to search.
BOOL8 testing_on); // Debug mode.
void plot_fp_word( //draw block of words
TO_BLOCK *block, //block to draw
float pitch, //pitch to draw with
float nonspace //for space threshold
);
#endif
|
BonexGu/Blik2D-SDK
|
Blik2D/addon/tesseract-3.04.01_for_blik/textord/topitch.h
|
C
|
mit
| 9,585
|
import {singularize} from './noun';
export {
singularize
};
|
Yomguithereal/talisman
|
src/inflectors/spanish/index.js
|
JavaScript
|
mit
| 63
|
import time
import json
import redis
import subprocess
from subprocess import Popen, check_output
import shlex
import os
from py_cf_new_py3.chain_flow_py3 import CF_Base_Interpreter
from redis_graph_py3 import farm_template_py3
class Process_Control(object ):
def __init__(self):
pass
def run_process_to_completion(self,command_string, shell_flag = False, timeout_value = None):
try:
command_parameters = shlex.split(command_string)
return_value = check_output(command_parameters, stderr=subprocess.STDOUT , shell = shell_flag, timeout = timeout_value)
return [0,return_value.decode()]
except subprocess.CalledProcessError as cp:
return [ cp.returncode , cp.output.decode() ]
except :
return [-1,""]
def launch_process(self,command_string,stderr=None,shell=True):
command_parameters = shlex.split(command_string)
try:
process_handle = Popen(command_parameters, stderr=open(self.error_file,'w' ))
return [ True, process_handle ]
except:
return [False, None]
def monitor_process(self, process_handle):
returncode = process_handle.poll()
if returncode == None:
return [ True, 0]
else:
del process_handle
return [ False, returncode ]
def kill_process(self,process_handle):
try:
process_handle.kill()
process_handle.wait()
del process_handle
except:
pass
class Manage_A_Python_Process(Process_Control):
def __init__(self,command_string, restart_flag = True, error_directory = "/tmp"):
super(Process_Control,self)
self.restart_flag = restart_flag
command_string = "python3 "+command_string
self.command_string = command_string
command_list= shlex.split(command_string)
script_file_list = command_list[1].split("/")
self.script_file_name = script_file_list[-1].split(".")[0]
temp = error_directory + "/"+self.script_file_name
self.error_file = temp+".err"
self.error_file_rollover = temp +".errr"
self.error = False
self.enabled = True
self.active = False
def get_script(self):
return self.script_file_name
def launch(self):
if( (self.enabled == True) and (self.active == False )):
temp = self.launch_process(self.command_string, stderr=self.error_file)
return_value = temp[0]
self.handle = temp[1]
self.active = return_value
if self.active == False:
self.rollover()
self.error = True
else:
self.error = False
def monitor(self):
if self.enabled == True:
if self.active == True:
return_value = self.monitor_process(self.handle)
if return_value[0] == True:
return True
self.active = False
self.rollover()
if self.restart_flag == True:
self.launch()
return False
def rollover(self):
os.system("mv "+self.error_file+" " +self.error_file_rollover)
def kill(self):
self.active = False
self.error = False
self.enabled = False
self.kill_process(self.handle)
self.rollover()
class System_Control(object):
def __init__(self,
redis_handle,
error_queue_key,
web_command_queue_key,
web_process_data_key,
web_display_list_key,
command_string_list ):
self.redis_handle = redis_handle
self.error_queue_key = error_queue_key
self.web_command_queue_key = web_command_queue_key
self.web_process_data_key = web_process_data_key
self.web_display_list_key = web_display_list_key
self.command_string_list = command_string_list
self.startup_list = []
self.process_hash = {}
self.process_state = {}
for command_string in command_string_list:
temp_class = Manage_A_Python_Process( command_string )
python_script = temp_class.get_script()
self.startup_list.append(python_script)
self.process_hash[python_script] = temp_class
self.redis_handle.set(self.web_display_list_key,json.dumps(self.startup_list))
self.update_web_display()
def launch_processes( self,*unused ):
for script in self.startup_list:
temp = self.process_hash[script]
temp.launch()
if temp.error == True:
return_data = json.dumps({ "script": script, "error_file" : temp.temp.error_file_rollover})
self.redis_handle.publish(self.error_queue_key,return_data)
temp.error = False
def monitor( self, *unused ):
for script in self.startup_list:
temp = self.process_hash[script]
temp.monitor()
if temp.error == True:
return_data = json.dumps({ "script": script, "error_file" : temp.temp.error_file_rollover})
self.redis_handle.publish(self.error_queue_key,return_data)
temp.error = False
self.update_web_display()
def process_web_queue( self, *unused ):
if self.redis_handle.llen(self.web_command_queue_key) > 0 :
data_json = redis_handle.lpop(self.web_command_queue_key)
self.redis_handle.ltrim(self.web_command_queue_key,0,-1) # empty redis queue
data = json.loads(data_json)
print("made it here")
for script,item in data.items():
temp = self.process_hash[script]
try:
if item["enabled"] == True:
if temp.enabled == False:
temp.enabled = True
temp.active = False
#print(script,"---------------------------launch")
temp.launch()
else:
if temp.enabled == True:
temp.enabled = False
#print(script,"----------------------------kill")
temp.kill()
except:
pass
print(self.process_hash[script].active)
print(self.process_hash[script].enabled)
self.update_web_display()
def update_web_display(self):
process_state = {}
for script in self.startup_list:
temp = self.process_hash[script]
process_state[script] = {"name":script,"enabled":temp.enabled,"active":temp.active,"error":temp.error}
self.redis_handle.set(self.web_process_data_key,json.dumps(process_state))
def add_chains(self,cf):
cf.define_chain("initialization",True)
cf.insert.one_step(self.launch_processes)
cf.insert.enable_chains( ["monitor_web_command_queue","monitor_active_processes"] )
cf.insert.terminate()
cf.define_chain("monitor_web_command_queue", False)
cf.insert.wait_event_count( event = "TIME_TICK", count = 1)
cf.insert.one_step(self.process_web_queue)
cf.insert.reset()
cf.define_chain("monitor_active_processes",False)
cf.insert.wait_event_count( event = "TIME_TICK",count = 10)
cf.insert.one_step(self.monitor)
cf.insert.reset()
if __name__ == "__main__":
cf = CF_Base_Interpreter()
gm = farm_template_py3.Graph_Management(
"PI_1", "main_remote", "LaCima_DataStore")
process_data = gm.match_terminal_relationship("PROCESS_CONTROL")[0]
redis_data = process_data["redis"]
redis_handle = redis.StrictRedis(
host=redis_data["ip"], port=redis_data["port"], db=redis_data["db"], decode_responses=True)
web_command_queue_key =process_data['web_command_key']
error_queue_key = process_data['error_queue_key']
command_string_list = process_data["command_string_list"]
web_process_data_key = process_data["web_process_data"]
web_display_list_key = process_data["web_display_list"]
print(web_process_data_key,web_display_list_key)
system_control = System_Control( redis_handle = redis_handle,
error_queue_key = error_queue_key,
web_command_queue_key = web_command_queue_key,
web_process_data_key = web_process_data_key,
web_display_list_key = web_display_list_key,
command_string_list = command_string_list )
system_control.add_chains(cf)
cf.execute()
|
glenn-edgar/local_controller_3
|
process_control_py3.py
|
Python
|
mit
| 9,357
|
---
layout: page
permalink: /all-base-R/debug/
---
## __debug__
#### _Debug a Function_
### Usage
### Arguments
### Notes
|
rich-iannone/all-base-R
|
debug.md
|
Markdown
|
mit
| 127
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ISpliceable } from 'vs/base/common/sequence';
import { Iterator, ISequence } from 'vs/base/common/iterator';
import { Emitter, Event, EventBufferer } from 'vs/base/common/event';
import { tail2 } from 'vs/base/common/arrays';
import { ITreeFilterDataResult, TreeVisibility, ITreeFilter, ITreeModel, ITreeNode, ITreeElement } from 'vs/base/browser/ui/tree/tree';
interface IMutableTreeNode<T, TFilterData> extends ITreeNode<T, TFilterData> {
readonly parent: IMutableTreeNode<T, TFilterData> | undefined;
readonly children: IMutableTreeNode<T, TFilterData>[];
collapsible: boolean;
collapsed: boolean;
renderNodeCount: number;
visible: boolean;
filterData: TFilterData | undefined;
}
function isFilterResult<T>(obj: any): obj is ITreeFilterDataResult<T> {
return typeof obj === 'object' && 'visibility' in obj && 'data' in obj;
}
function treeNodeToElement<T>(node: IMutableTreeNode<T, any>): ITreeElement<T> {
const { element, collapsed } = node;
const children = Iterator.map(Iterator.fromArray(node.children), treeNodeToElement);
return { element, children, collapsed };
}
function getVisibleState(visibility: boolean | TreeVisibility): TreeVisibility {
switch (visibility) {
case true: return TreeVisibility.Visible;
case false: return TreeVisibility.Hidden;
default: return visibility;
}
}
export interface IIndexTreeModelOptions<T, TFilterData> {
collapseByDefault?: boolean; // defaults to false
filter?: ITreeFilter<T, TFilterData>;
}
export class IndexTreeModel<T extends Exclude<any, undefined>, TFilterData = void> implements ITreeModel<T, TFilterData, number[]> {
private root: IMutableTreeNode<T, TFilterData>;
private eventBufferer = new EventBufferer();
private _onDidChangeCollapseState = new Emitter<ITreeNode<T, TFilterData>>();
readonly onDidChangeCollapseState: Event<ITreeNode<T, TFilterData>> = this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event);
private _onDidChangeRenderNodeCount = new Emitter<ITreeNode<T, TFilterData>>();
readonly onDidChangeRenderNodeCount: Event<ITreeNode<T, TFilterData>> = this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event);
private collapseByDefault: boolean;
private filter?: ITreeFilter<T, TFilterData>;
constructor(private list: ISpliceable<ITreeNode<T, TFilterData>>, rootElement: T, options: IIndexTreeModelOptions<T, TFilterData> = {}) {
this.collapseByDefault = typeof options.collapseByDefault === 'undefined' ? false : options.collapseByDefault;
this.filter = options.filter;
this.root = {
parent: undefined,
element: rootElement,
children: [],
depth: 0,
collapsible: false,
collapsed: false,
renderNodeCount: 0,
visible: true,
filterData: undefined
};
}
splice(
location: number[],
deleteCount: number,
toInsert?: ISequence<ITreeElement<T>>,
onDidCreateNode?: (node: ITreeNode<T, TFilterData>) => void,
onDidDeleteNode?: (node: ITreeNode<T, TFilterData>) => void
): Iterator<ITreeElement<T>> {
if (location.length === 0) {
throw new Error('Invalid tree location');
}
const { parentNode, listIndex, revealed } = this.getParentNodeWithListIndex(location);
const treeListElementsToInsert: ITreeNode<T, TFilterData>[] = [];
const nodesToInsertIterator = Iterator.map(Iterator.from(toInsert), el => this.createTreeNode(el, parentNode, parentNode.visible ? TreeVisibility.Visible : TreeVisibility.Hidden, revealed, treeListElementsToInsert, onDidCreateNode));
const nodesToInsert: IMutableTreeNode<T, TFilterData>[] = [];
let renderNodeCount = 0;
Iterator.forEach(nodesToInsertIterator, node => {
nodesToInsert.push(node);
renderNodeCount += node.renderNodeCount;
});
const lastIndex = location[location.length - 1];
const deletedNodes = parentNode.children.splice(lastIndex, deleteCount, ...nodesToInsert);
if (revealed) {
const visibleDeleteCount = deletedNodes.reduce((r, node) => r + node.renderNodeCount, 0);
this._updateAncestorsRenderNodeCount(parentNode, renderNodeCount - visibleDeleteCount);
this.list.splice(listIndex, visibleDeleteCount, treeListElementsToInsert);
}
if (deletedNodes.length > 0 && onDidDeleteNode) {
const visit = (node: ITreeNode<T, TFilterData>) => {
onDidDeleteNode(node);
node.children.forEach(visit);
};
deletedNodes.forEach(visit);
}
return Iterator.map(Iterator.fromArray(deletedNodes), treeNodeToElement);
}
getListIndex(location: number[]): number {
return this.getTreeNodeWithListIndex(location).listIndex;
}
setCollapsed(location: number[], collapsed: boolean): boolean {
const { node, listIndex, revealed } = this.getTreeNodeWithListIndex(location);
return this.eventBufferer.bufferEvents(() => this._setCollapsed(node, listIndex, revealed, collapsed));
}
toggleCollapsed(location: number[]): void {
const { node, listIndex, revealed } = this.getTreeNodeWithListIndex(location);
this.eventBufferer.bufferEvents(() => this._setCollapsed(node, listIndex, revealed));
}
collapseAll(): void {
const queue = [...this.root.children];
let listIndex = 0;
this.eventBufferer.bufferEvents(() => {
while (queue.length > 0) {
const node = queue.shift()!;
const revealed = listIndex < this.root.children.length;
this._setCollapsed(node, listIndex, revealed, true);
queue.push(...node.children);
listIndex++;
}
});
}
isCollapsed(location: number[]): boolean {
return this.getTreeNode(location).collapsed;
}
refilter(): void {
const previousRenderNodeCount = this.root.renderNodeCount;
const toInsert = this.updateNodeAfterFilterChange(this.root);
this.list.splice(0, previousRenderNodeCount, toInsert);
}
private _setCollapsed(node: IMutableTreeNode<T, TFilterData>, listIndex: number, revealed: boolean, collapsed?: boolean | undefined): boolean {
if (!node.collapsible) {
return false;
}
if (typeof collapsed === 'undefined') {
collapsed = !node.collapsed;
}
if (node.collapsed === collapsed) {
return false;
}
node.collapsed = collapsed;
if (revealed) {
const previousRenderNodeCount = node.renderNodeCount;
const toInsert = this.updateNodeAfterCollapseChange(node);
this.list.splice(listIndex + 1, previousRenderNodeCount - 1, toInsert.slice(1));
this._onDidChangeCollapseState.fire(node);
}
return true;
}
private createTreeNode(
treeElement: ITreeElement<T>,
parent: IMutableTreeNode<T, TFilterData>,
parentVisibility: TreeVisibility,
revealed: boolean,
treeListElements: ITreeNode<T, TFilterData>[],
onDidCreateNode?: (node: ITreeNode<T, TFilterData>) => void
): IMutableTreeNode<T, TFilterData> {
const node: IMutableTreeNode<T, TFilterData> = {
parent,
element: treeElement.element,
children: [],
depth: parent.depth + 1,
collapsible: typeof treeElement.collapsible === 'boolean' ? treeElement.collapsible : (typeof treeElement.collapsed !== 'undefined'),
collapsed: typeof treeElement.collapsed === 'undefined' ? this.collapseByDefault : treeElement.collapsed,
renderNodeCount: 1,
visible: true,
filterData: undefined
};
const visibility = this._filterNode(node, parentVisibility);
if (revealed) {
treeListElements.push(node);
}
const childElements = Iterator.from(treeElement.children);
const childRevealed = revealed && visibility !== TreeVisibility.Hidden && !node.collapsed;
const childNodes = Iterator.map(childElements, el => this.createTreeNode(el, node, visibility, childRevealed, treeListElements, onDidCreateNode));
let hasVisibleDescendants = false;
let renderNodeCount = 1;
Iterator.forEach(childNodes, child => {
node.children.push(child);
hasVisibleDescendants = hasVisibleDescendants || child.visible;
renderNodeCount += child.renderNodeCount;
});
node.collapsible = node.collapsible || node.children.length > 0;
node.visible = visibility === TreeVisibility.Recurse ? hasVisibleDescendants : (visibility === TreeVisibility.Visible);
if (!node.visible) {
node.renderNodeCount = 0;
if (revealed) {
treeListElements.pop();
}
} else if (!node.collapsed) {
node.renderNodeCount = renderNodeCount;
}
if (onDidCreateNode) {
onDidCreateNode(node);
}
return node;
}
private updateNodeAfterCollapseChange(node: IMutableTreeNode<T, TFilterData>): ITreeNode<T, TFilterData>[] {
const previousRenderNodeCount = node.renderNodeCount;
const result: ITreeNode<T, TFilterData>[] = [];
this._updateNodeAfterCollapseChange(node, result);
this._updateAncestorsRenderNodeCount(node.parent, result.length - previousRenderNodeCount);
return result;
}
private _updateNodeAfterCollapseChange(node: IMutableTreeNode<T, TFilterData>, result: ITreeNode<T, TFilterData>[]): number {
if (node.visible === false) {
return 0;
}
result.push(node);
node.renderNodeCount = 1;
if (!node.collapsed) {
for (const child of node.children) {
node.renderNodeCount += this._updateNodeAfterCollapseChange(child, result);
}
}
this._onDidChangeRenderNodeCount.fire(node);
return node.renderNodeCount;
}
private updateNodeAfterFilterChange(node: IMutableTreeNode<T, TFilterData>): ITreeNode<T, TFilterData>[] {
const previousRenderNodeCount = node.renderNodeCount;
const result: ITreeNode<T, TFilterData>[] = [];
this._updateNodeAfterFilterChange(node, node.visible ? TreeVisibility.Visible : TreeVisibility.Hidden, result);
this._updateAncestorsRenderNodeCount(node.parent, result.length - previousRenderNodeCount);
return result;
}
private _updateNodeAfterFilterChange(node: IMutableTreeNode<T, TFilterData>, parentVisibility: TreeVisibility, result: ITreeNode<T, TFilterData>[], revealed = true): boolean {
let visibility: TreeVisibility;
if (node !== this.root) {
visibility = this._filterNode(node, parentVisibility);
if (visibility === TreeVisibility.Hidden) {
node.visible = false;
return false;
}
if (revealed) {
result.push(node);
}
}
const resultStartLength = result.length;
node.renderNodeCount = node === this.root ? 0 : 1;
let hasVisibleDescendants = false;
if (!node.collapsed || visibility! !== TreeVisibility.Hidden) {
for (const child of node.children) {
hasVisibleDescendants = this._updateNodeAfterFilterChange(child, visibility!, result, revealed && !node.collapsed) || hasVisibleDescendants;
}
}
if (node !== this.root) {
node.visible = visibility! === TreeVisibility.Recurse ? hasVisibleDescendants : (visibility! === TreeVisibility.Visible);
}
if (!node.visible) {
node.renderNodeCount = 0;
if (revealed) {
result.pop();
}
} else if (!node.collapsed) {
node.renderNodeCount += result.length - resultStartLength;
}
this._onDidChangeRenderNodeCount.fire(node);
return node.visible;
}
private _updateAncestorsRenderNodeCount(node: IMutableTreeNode<T, TFilterData> | undefined, diff: number): void {
if (diff === 0) {
return;
}
while (node) {
node.renderNodeCount += diff;
this._onDidChangeRenderNodeCount.fire(node);
node = node.parent;
}
}
private _filterNode(node: IMutableTreeNode<T, TFilterData>, parentVisibility: TreeVisibility): TreeVisibility {
const result = this.filter ? this.filter.filter(node.element, parentVisibility) : TreeVisibility.Visible;
if (typeof result === 'boolean') {
node.filterData = undefined;
return result ? TreeVisibility.Visible : TreeVisibility.Hidden;
} else if (isFilterResult<TFilterData>(result)) {
node.filterData = result.data;
return getVisibleState(result.visibility);
} else {
node.filterData = undefined;
return getVisibleState(result);
}
}
// cheap
private getTreeNode(location: number[], node: IMutableTreeNode<T, TFilterData> = this.root): IMutableTreeNode<T, TFilterData> {
if (!location || location.length === 0) {
return node;
}
const [index, ...rest] = location;
if (index < 0 || index > node.children.length) {
throw new Error('Invalid tree location');
}
return this.getTreeNode(rest, node.children[index]);
}
// expensive
private getTreeNodeWithListIndex(location: number[]): { node: IMutableTreeNode<T, TFilterData>, listIndex: number, revealed: boolean } {
const { parentNode, listIndex, revealed } = this.getParentNodeWithListIndex(location);
const index = location[location.length - 1];
if (index < 0 || index > parentNode.children.length) {
throw new Error('Invalid tree location');
}
const node = parentNode.children[index];
return { node, listIndex, revealed };
}
private getParentNodeWithListIndex(location: number[], node: IMutableTreeNode<T, TFilterData> = this.root, listIndex: number = 0, revealed = true): { parentNode: IMutableTreeNode<T, TFilterData>; listIndex: number; revealed: boolean; } {
const [index, ...rest] = location;
if (index < 0 || index > node.children.length) {
throw new Error('Invalid tree location');
}
// TODO@joao perf!
for (let i = 0; i < index; i++) {
listIndex += node.children[i].renderNodeCount;
}
revealed = revealed && !node.collapsed;
if (rest.length === 0) {
return { parentNode: node, listIndex, revealed };
}
return this.getParentNodeWithListIndex(rest, node.children[index], listIndex + 1, revealed);
}
getNode(location: number[] = []): ITreeNode<T, TFilterData> {
return this.getTreeNode(location);
}
// TODO@joao perf!
getNodeLocation(node: ITreeNode<T, TFilterData>): number[] {
const location: number[] = [];
while (node.parent) {
location.push(node.parent.children.indexOf(node));
node = node.parent;
}
return location.reverse();
}
getParentNodeLocation(location: number[]): number[] {
if (location.length <= 1) {
return [];
}
return tail2(location)[0];
}
getParentElement(location: number[]): T {
const parentLocation = this.getParentNodeLocation(location);
const node = this.getTreeNode(parentLocation);
return node.element;
}
getFirstElementChild(location: number[]): T | undefined {
const node = this.getTreeNode(location);
if (node.children.length === 0) {
return undefined;
}
return node.children[0].element;
}
getLastElementAncestor(location: number[] = []): T | undefined {
const node = this.getTreeNode(location);
if (node.children.length === 0) {
return undefined;
}
return this._getLastElementAncestor(node);
}
private _getLastElementAncestor(node: ITreeNode<T, TFilterData>): T {
if (node.children.length === 0) {
return node.element;
}
return this._getLastElementAncestor(node.children[node.children.length - 1]);
}
}
|
DustinCampbell/vscode
|
src/vs/base/browser/ui/tree/indexTreeModel.ts
|
TypeScript
|
mit
| 14,919
|
---
layout: page
subheadline: ""
title: "Study on Readability of Korean Online Media Page"
teaser: ""
breadcrumb: true
categories:
- projects
permalink: "/project/eyetracking/"
header: no
---
<h4> Summary </h4>
<div class="row">
<div class="medium-4 columns">
<img src="http://heeryung.github.io/images/eye_gaze_data.png">
</div>
<div class="medium-8 columns">
<p> In spite of its cutting-edge internet technology and fast-developed internet culture, online news websites in South Korea still seems to be out-dated and under-developed in terms of UX design; many media companies have no consideration on readibility and tend to cover an article page with assorted advertisements. While many media companies obssess on earning money from ads, readability has been sacrificed and users are fed up with ads and have started to ignore them. The issue has been criticized for several years. We measured the readers' eye-gaze duration, pixels for each element (text articles, ads and navigation); visualized how many ads occupy the article page, and how readers are distracted by unorganized UX design.</p>
</div>
</div>
<h4> Keywords </h4>
Eye-tracking, readability, online media, visualization, class project
<h4> Research Methods </h4>
Eye-tracking
<h4> People </h4>
Je Seok Lee, Yujin Kim, Jihee Suh, Yina Zhang (Seoul National University)
<hr>
<h4>Findings</h4>
<div id = "imageContainer">
<img src="http://heeryung.github.io/images/eye_gaze_example.png">
<br> Figure 1. Heatmap on gaze data on several online news website layout
</div>
<div class="row">
<div class="medium-4 columns">
<img src="http://heeryung.github.io/images/eye_spatial.png">
<br> Figure 2. Spatial area
</div>
<div class="medium-4 columns">
<img src="http://heeryung.github.io/images/eye_sumOfGaze.png">
<br> Figure 3. Sum of gaze
</div>
<div class="medium-4 columns">
<img src="http://heeryung.github.io/images/eye_normalizedGaze.png">
<br> Figure 4. Normalized gaze
</div>
</div>
|
heeryung/heeryung.github.com
|
pages/eyetracking.md
|
Markdown
|
mit
| 2,076
|
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Tests\Action;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
use Sonata\AdminBundle\Action\GetShortObjectDescriptionAction;
use Sonata\AdminBundle\Action\SetObjectFieldValueAction;
use Sonata\AdminBundle\Admin\AbstractAdmin;
use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
use Sonata\AdminBundle\Admin\Pool;
use Sonata\AdminBundle\Model\ModelManagerInterface;
use Sonata\AdminBundle\Templating\TemplateRegistryInterface;
use Sonata\AdminBundle\Twig\Extension\SonataAdminExtension;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\PropertyAccess\PropertyAccessor;
use Symfony\Component\Validator\ConstraintViolation;
use Symfony\Component\Validator\ConstraintViolationList;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use Twig\Environment;
use Twig\Loader\ArrayLoader;
final class SetObjectFieldValueActionTest extends TestCase
{
/**
* @var Pool
*/
private $pool;
/**
* @var Environment
*/
private $twig;
/**
* @var GetShortObjectDescriptionAction
*/
private $action;
/**
* @var AbstractAdmin
*/
private $admin;
/**
* @var ValidatorInterface
*/
private $validator;
protected function setUp(): void
{
$this->twig = new Environment(new ArrayLoader([
'admin_template' => 'renderedTemplate',
'field_template' => 'renderedTemplate',
]));
$this->pool = $this->prophesize(Pool::class);
$this->admin = $this->prophesize(AbstractAdmin::class);
$this->pool->getInstance(Argument::any())->willReturn($this->admin->reveal());
$this->admin->setRequest(Argument::type(Request::class))->shouldBeCalled();
$this->validator = $this->prophesize(ValidatorInterface::class);
$this->action = new SetObjectFieldValueAction(
$this->twig,
$this->pool->reveal(),
$this->validator->reveal()
);
}
public function testSetObjectFieldValueAction(): void
{
$object = new Foo();
$request = new Request([
'code' => 'sonata.post.admin',
'objectId' => 42,
'field' => 'enabled',
'value' => 1,
'context' => 'list',
], [], [], [], [], ['REQUEST_METHOD' => Request::METHOD_POST, 'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest']);
$fieldDescription = $this->prophesize(FieldDescriptionInterface::class);
$pool = $this->prophesize(Pool::class);
$translator = $this->prophesize(TranslatorInterface::class);
$propertyAccessor = new PropertyAccessor();
$templateRegistry = $this->prophesize(TemplateRegistryInterface::class);
$container = $this->prophesize(ContainerInterface::class);
$this->admin->getObject(42)->willReturn($object);
$this->admin->getCode()->willReturn('sonata.post.admin');
$this->admin->hasAccess('edit', $object)->willReturn(true);
$this->admin->getListFieldDescription('enabled')->willReturn($fieldDescription->reveal());
$this->admin->update($object)->shouldBeCalled();
$templateRegistry->getTemplate('base_list_field')->willReturn('admin_template');
$container->get('sonata.post.admin.template_registry')->willReturn($templateRegistry->reveal());
$this->pool->getPropertyAccessor()->willReturn($propertyAccessor);
$this->twig->addExtension(new SonataAdminExtension(
$pool->reveal(),
$translator->reveal(),
$container->reveal()
));
$fieldDescription->getOption('editable')->willReturn(true);
$fieldDescription->getAdmin()->willReturn($this->admin->reveal());
$fieldDescription->getType()->willReturn('boolean');
$fieldDescription->getTemplate()->willReturn('field_template');
$fieldDescription->getValue(Argument::cetera())->willReturn('some value');
$this->validator->validate($object)->willReturn(new ConstraintViolationList([]));
$response = ($this->action)($request);
$this->assertSame(Response::HTTP_OK, $response->getStatusCode());
}
public function getTimeZones(): iterable
{
$default = new \DateTimeZone(date_default_timezone_get());
$custom = new \DateTimeZone('Europe/Rome');
return [
'empty timezone' => [null, $default],
'disabled timezone' => [false, $default],
'default timezone by name' => [$default->getName(), $default],
'default timezone by object' => [$default, $default],
'custom timezone by name' => [$custom->getName(), $custom],
'custom timezone by object' => [$custom, $custom],
];
}
/**
* @dataProvider getTimeZones
*/
public function testSetObjectFieldValueActionWithDate($timezone, \DateTimeZone $expectedTimezone): void
{
$object = new Bafoo();
$request = new Request([
'code' => 'sonata.post.admin',
'objectId' => 42,
'field' => 'dateProp',
'value' => '2020-12-12',
'context' => 'list',
], [], [], [], [], ['REQUEST_METHOD' => Request::METHOD_POST, 'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest']);
$fieldDescription = $this->prophesize(FieldDescriptionInterface::class);
$pool = $this->prophesize(Pool::class);
$translator = $this->prophesize(TranslatorInterface::class);
$propertyAccessor = new PropertyAccessor();
$templateRegistry = $this->prophesize(TemplateRegistryInterface::class);
$container = $this->prophesize(ContainerInterface::class);
$this->admin->getObject(42)->willReturn($object);
$this->admin->getCode()->willReturn('sonata.post.admin');
$this->admin->hasAccess('edit', $object)->willReturn(true);
$this->admin->getListFieldDescription('dateProp')->willReturn($fieldDescription->reveal());
$this->admin->update($object)->shouldBeCalled();
$templateRegistry->getTemplate('base_list_field')->willReturn('admin_template');
$container->get('sonata.post.admin.template_registry')->willReturn($templateRegistry->reveal());
$this->pool->getPropertyAccessor()->willReturn($propertyAccessor);
$this->twig->addExtension(new SonataAdminExtension(
$pool->reveal(),
$translator->reveal(),
$container->reveal()
));
$fieldDescription->getOption('editable')->willReturn(true);
$fieldDescription->getOption('timezone')->willReturn($timezone);
$fieldDescription->getAdmin()->willReturn($this->admin->reveal());
$fieldDescription->getType()->willReturn('date');
$fieldDescription->getTemplate()->willReturn('field_template');
$fieldDescription->getValue(Argument::cetera())->willReturn('some value');
$this->validator->validate($object)->willReturn(new ConstraintViolationList([]));
$response = ($this->action)($request);
$this->assertSame(Response::HTTP_OK, $response->getStatusCode());
$defaultTimezone = new \DateTimeZone(date_default_timezone_get());
$expectedDate = new \DateTime($request->query->get('value'), $expectedTimezone);
$expectedDate->setTimezone($defaultTimezone);
$this->assertInstanceOf(\DateTime::class, $object->getDateProp());
$this->assertSame($expectedDate->format('Y-m-d'), $object->getDateProp()->format('Y-m-d'));
$this->assertSame($defaultTimezone->getName(), $object->getDateProp()->getTimezone()->getName());
}
public function testSetObjectFieldValueActionOnARelationField(): void
{
$object = new Baz();
$associationObject = new Bar();
$request = new Request([
'code' => 'sonata.post.admin',
'objectId' => 42,
'field' => 'bar',
'value' => 1,
'context' => 'list',
], [], [], [], [], ['REQUEST_METHOD' => Request::METHOD_POST, 'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest']);
$fieldDescription = $this->prophesize(FieldDescriptionInterface::class);
$modelManager = $this->prophesize(ModelManagerInterface::class);
$translator = $this->prophesize(TranslatorInterface::class);
$propertyAccessor = new PropertyAccessor();
$templateRegistry = $this->prophesize(TemplateRegistryInterface::class);
$container = $this->prophesize(ContainerInterface::class);
$this->admin->getObject(42)->willReturn($object);
$this->admin->getCode()->willReturn('sonata.post.admin');
$this->admin->hasAccess('edit', $object)->willReturn(true);
$this->admin->getListFieldDescription('bar')->willReturn($fieldDescription->reveal());
$this->admin->getClass()->willReturn(\get_class($object));
$this->admin->update($object)->shouldBeCalled();
$container->get('sonata.post.admin.template_registry')->willReturn($templateRegistry->reveal());
$templateRegistry->getTemplate('base_list_field')->willReturn('admin_template');
$this->admin->getModelManager()->willReturn($modelManager->reveal());
$this->twig->addExtension(new SonataAdminExtension(
$this->pool->reveal(),
$translator->reveal(),
$container->reveal()
));
$this->pool->getPropertyAccessor()->willReturn($propertyAccessor);
$fieldDescription->getType()->willReturn('choice');
$fieldDescription->getOption('editable')->willReturn(true);
$fieldDescription->getOption('class')->willReturn(Bar::class);
$fieldDescription->getTargetModel()->willReturn(Bar::class);
$fieldDescription->getAdmin()->willReturn($this->admin->reveal());
$fieldDescription->getTemplate()->willReturn('field_template');
$fieldDescription->getValue(Argument::cetera())->willReturn('some value');
$modelManager->find(\get_class($associationObject), 1)->willReturn($associationObject);
$this->validator->validate($object)->willReturn(new ConstraintViolationList([]));
$response = ($this->action)($request);
$this->assertSame(Response::HTTP_OK, $response->getStatusCode());
}
public function testSetObjectFieldValueActionWithViolations(): void
{
$bar = new Bar();
$object = new Baz();
$object->setBar($bar);
$request = new Request([
'code' => 'sonata.post.admin',
'objectId' => 42,
'field' => 'bar.enabled',
'value' => 1,
'context' => 'list',
], [], [], [], [], ['REQUEST_METHOD' => Request::METHOD_POST, 'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest']);
$fieldDescription = $this->prophesize(FieldDescriptionInterface::class);
$propertyAccessor = new PropertyAccessor();
$this->pool->getPropertyAccessor()->willReturn($propertyAccessor);
$this->admin->getObject(42)->willReturn($object);
$this->admin->hasAccess('edit', $object)->willReturn(true);
$this->admin->getListFieldDescription('bar.enabled')->willReturn($fieldDescription->reveal());
$this->validator->validate($bar)->willReturn(new ConstraintViolationList([
new ConstraintViolation('error1', null, [], null, 'enabled', null),
new ConstraintViolation('error2', null, [], null, 'enabled', null),
]));
$fieldDescription->getOption('editable')->willReturn(true);
$fieldDescription->getType()->willReturn('boolean');
$response = ($this->action)($request);
$this->assertSame(Response::HTTP_BAD_REQUEST, $response->getStatusCode());
$this->assertSame(json_encode("error1\nerror2"), $response->getContent());
}
public function testSetObjectFieldEditableMultipleValue(): void
{
$object = new StatusMultiple();
$request = new Request([
'code' => 'sonata.post.admin',
'objectId' => 42,
'field' => 'status',
'value' => [1, 2],
'context' => 'list',
], [], [], [], [], ['REQUEST_METHOD' => Request::METHOD_POST, 'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest']);
$fieldDescription = $this->prophesize(FieldDescriptionInterface::class);
$pool = $this->prophesize(Pool::class);
$template = $this->prophesize(Template::class);
$translator = $this->prophesize(TranslatorInterface::class);
$propertyAccessor = new PropertyAccessor();
$templateRegistry = $this->prophesize(TemplateRegistryInterface::class);
$container = $this->prophesize(ContainerInterface::class);
$this->admin->getObject(42)->willReturn($object);
$this->admin->getCode()->willReturn('sonata.post.admin');
$this->admin->hasAccess('edit', $object)->willReturn(true);
$this->admin->getListFieldDescription('status')->willReturn($fieldDescription->reveal());
$this->admin->update($object)->shouldBeCalled();
$templateRegistry->getTemplate('base_list_field')->willReturn('admin_template');
$container->get('sonata.post.admin.template_registry')->willReturn($templateRegistry->reveal());
$this->pool->getPropertyAccessor()->willReturn($propertyAccessor);
$this->twig->addExtension(new SonataAdminExtension(
$pool->reveal(),
$translator->reveal(),
$container->reveal()
));
$fieldDescription->getOption('editable')->willReturn(true);
$fieldDescription->getOption('multiple')->willReturn(true);
$fieldDescription->getAdmin()->willReturn($this->admin->reveal());
$fieldDescription->getType()->willReturn('boolean');
$fieldDescription->getTemplate()->willReturn('field_template');
$fieldDescription->getValue(Argument::cetera())->willReturn(['some value']);
$this->validator->validate($object)->willReturn(new ConstraintViolationList([]));
$response = ($this->action)($request);
$this->assertSame(Response::HTTP_OK, $response->getStatusCode());
}
}
|
jordisala1991/SonataAdminBundle
|
tests/Action/SetObjectFieldValueActionTest.php
|
PHP
|
mit
| 14,552
|
module.exports={
"file":1, // fname, mode, contents
"filedelete":2, // fname
"checkout":3, // fname
"checkin":4, // fname
"ping":5, // -
"pong":6, // -
"edit":{
"open":100, // fname
"close":101, // fname
"open_ok":102, // fname
"open_err":103, // fname
"close_ok":104, // fname
"close_err":105 // fname
}
};
|
tomsmeding/gvajnez
|
msgtype.js
|
JavaScript
|
mit
| 329
|
package com.mines.main;
import com.mines.domain.enums.BoardSize;
import com.mines.domain.enums.Difficulty;
public class MineField{
private int[][] field;
private BoardSize size;
private Difficulty diff;
private int nrMines = 0;
public MineField(){
diff = Difficulty.EASY;
size = BoardSize.MEDIUM;
neww();
}
public MineField(Difficulty d, BoardSize s){
diff = d;
size = s;
neww();
}
public void neww(String...args){
if (args.length == 2){
size = BoardSize.valueOf(args[0].toUpperCase());
diff = Difficulty.valueOf(args[1].toUpperCase());
}
nrMines = 0;
generateMines();
setSafeSpots();
}
public int[][] getField(){
return field;
}
public int getSize(){
return size.getSize();
}
public int getNrMines(){
return nrMines;
}
/** PRIVATE **/
private void generateMines(){
int sizeInt = size.getSize();
field = new int[sizeInt][sizeInt];
for(int i=0; i < sizeInt; i++){
for(int j=0; j < sizeInt; j++){
field[i][j] = randBoolByDifficulty() ? -1 : 0;
}
}
}
private void setSafeSpots(){
int sizeInt = size.getSize();
for(int i=0; i < sizeInt; i++){
for(int j=0; j < sizeInt; j++){
if(field[i][j] != -1) field[i][j] = getNeighbors(i,j);
}
}
}
private boolean randBoolByDifficulty(){
if ((Math.random() * (size.getSize() * diff.getDiff())) < size.getSize()){
nrMines++; return true;
}
else return false;
}
private int getNeighbors(int i, int j){
int val = 0;
for (int k = i-1; k <= i+1; k++){
for (int l = j-1; l <= j+1; l++){
try{
if(field[k][l] == -1) val++;
}catch(ArrayIndexOutOfBoundsException e){}
}
}
return val;
}
}
|
tonycatapano/JMinesField
|
src/main/java/com/mines/main/MineField.java
|
Java
|
mit
| 1,804
|
// Decompiled with JetBrains decompiler
// Type: System.Fabric.Management.ServiceModel.ApplicationPoliciesType
// Assembly: System.Fabric.Management.ServiceModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: C6D32D4D-966E-4EA3-BD3A-F4CF14D36DBC
// Assembly location: C:\Git\ServiceFabricSdkContrib\ServiceFabricSdkContrib.MsBuild\bin\Debug\netstandard2.0\publish\runtimes\win\lib\netstandard2.0\System.Fabric.Management.ServiceModel.dll
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Xml.Serialization;
namespace System.Fabric.Management.ServiceModel
{
[GeneratedCode("xsd", "4.0.30319.17929")]
[DebuggerStepThrough]
[XmlType(Namespace = "http://schemas.microsoft.com/2011/01/fabric")]
public class ApplicationPoliciesType
{
private ApplicationPoliciesTypeLogCollectionPolicies logCollectionPoliciesField;
private ApplicationPoliciesTypeDefaultRunAsPolicy defaultRunAsPolicyField;
private ApplicationHealthPolicyType healthPolicyField;
private ApplicationPoliciesTypeSecurityAccessPolicies securityAccessPoliciesField;
public ApplicationPoliciesTypeLogCollectionPolicies LogCollectionPolicies
{
get
{
return this.logCollectionPoliciesField;
}
set
{
this.logCollectionPoliciesField = value;
}
}
public ApplicationPoliciesTypeDefaultRunAsPolicy DefaultRunAsPolicy
{
get
{
return this.defaultRunAsPolicyField;
}
set
{
this.defaultRunAsPolicyField = value;
}
}
public ApplicationHealthPolicyType HealthPolicy
{
get
{
return this.healthPolicyField;
}
set
{
this.healthPolicyField = value;
}
}
public ApplicationPoliciesTypeSecurityAccessPolicies SecurityAccessPolicies
{
get
{
return this.securityAccessPoliciesField;
}
set
{
this.securityAccessPoliciesField = value;
}
}
}
}
|
aL3891/ServiceFabricSdkContrib
|
System.Fabric.Management.ServiceModel/ApplicationPoliciesType.cs
|
C#
|
mit
| 2,017
|
# Django settings for obi project.
from os.path import abspath, dirname
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
# Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'ENGINE': 'django.db.backends.',
# Or path to database file if using sqlite3.
'NAME': '',
# The following settings are not used with sqlite3:
'USER': '',
'PASSWORD': '',
# Empty for localhost through domain sockets or '127.0.0.1'
# for localhost through TCP.
'HOST': '',
# Set to empty string for default.
'PORT': '',
}
}
# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
ALLOWED_HOSTS = []
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# In a Windows environment this must be set to your system time zone.
TIME_ZONE = 'America/New_York'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'
SITE_ID = 1
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True
# If you set this to False, Django will not format dates, numbers and
# calendars according to the current locale.
USE_L10N = True
# If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = True
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/var/www/example.com/media/"
MEDIA_ROOT = ''
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://example.com/media/", "http://media.example.com/"
MEDIA_URL = ''
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/"
STATIC_ROOT = dirname(dirname(abspath(__file__))) + '/static'
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = '/static/'
# Additional locations of static files
STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
# List of finder classes that know how to find static files in
# various locations.
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
# Make this unique, and don't share it with anybody.
SECRET_KEY = '6(5f^qra2a%%(iok=0ktz)xnhx(-f7df3q(tuva4*0dz3c^ug4'
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
# 'django.template.loaders.eggs.Loader',
)
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.request",
"django.core.context_processors.static",
"django.core.context_processors.tz",
"django.contrib.messages.context_processors.messages",
)
ROOT_URLCONF = 'obi.urls'
# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'obi.wsgi.application'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or
# "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.humanize',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'south',
'ui',
)
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
# See http://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'filters': {
'require_debug_false': {
'()': 'django.utils.log.RequireDebugFalse'
}
},
'handlers': {
'mail_admins': {
'level': 'ERROR',
'filters': ['require_debug_false'],
'class': 'django.utils.log.AdminEmailHandler'
}
},
'loggers': {
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True,
},
}
}
# Be sure to create your own 'local_settings.py' file as described in README
try:
from local_settings import *
except ImportError:
pass
|
adityadharne/TestObento
|
obi/obi/settings.py
|
Python
|
mit
| 6,014
|
var Cheerleaders = angular.module('Cheerleaders', [ 'ngRoute', 'ngDragDrop', 'angularjs-dropdown-multiselect']);
Cheerleaders.config(function ($routeProvider) {
$routeProvider.when('/', {
templateUrl: 'partials/index.html',
controller: 'routineIndexController',
access: {restricted: true}
})
.when('/login', {
templateUrl: 'partials/login.html',
controller: 'loginController',
access: {restricted: false}
})
.when('/logout', {
controller: 'logoutController',
access: {restricted: true}
})
.when('/register', {
templateUrl: 'partials/register.html',
controller: 'registerController',
access: {restricted: false}
}).when('/routine/:id', {
templateUrl: 'partials/routineViewer.html',
controller: 'routineController',
access: {restricted: true}
}).when('/config', {
templateUrl : 'partials/config.html',
controller: 'routineController',
access: {restricted: true}
})
.otherwise({
redirectTo: '/'
});
});
Cheerleaders.run(function ($rootScope, $location, $route, AuthService) {
//console.log($rootScope);
//console.log($location);
//console.log($route);
//console.log(AuthService);
$rootScope.$on('$routeChangeStart',
function (event, next, current) {
AuthService.getUserStatus()
.then(function(){
if (next.access.restricted && !AuthService.isLoggedIn()){
$location.path('/login');
$route.reload();
}
});
});
});
|
richard-mack/cheer-planner
|
client/app.js
|
JavaScript
|
mit
| 1,525
|
require 'cocaine'
require 'English'
require 'time'
require_relative 'result'
require_relative 'error'
class LittleneckClamAV
class Clam
def engine
version[:engine] if available?
end
def database_version
version[:database_version].to_i if available?
end
def database_date
Time.parse(version[:database_date]) if available?
end
def available?
version[:success]
end
def scan(path)
check_scan! path
opts = { swallow_stderr: true, expected_outcodes: [0, 1] }
params = ['--no-summary', %("#{path}")].join(' ')
output = Cocaine::CommandLine.new(command, params, opts).run
parse_result path, output, $CHILD_STATUS.exitstatus
end
def command
'clamscan'
end
private
def version
@version ||= begin
opts = { swallow_stderr: true }
params = '--version'
output = Cocaine::CommandLine.new(command, params, opts).run.strip
parse_output(output)
rescue Cocaine::ExitStatusError, Cocaine::CommandNotFoundError => e
{ error: e.message, success: false }
end
end
def parse_output(output)
engine, db_version, db_date = output.sub(/^ClamAV /, '').split('/', 3)
success = !(db_version && db_date).nil?
{
output: output,
engine: engine,
database_version: db_version,
database_date: db_date,
success: success
}
end
def parse_result(path, output, _code)
clean = $CHILD_STATUS.exitstatus == 0
description = output.split(':').last.strip
description.sub! ' FOUND', ''
Result.new path: path, clean: clean, description: description
end
def check_scan!(path)
exists = File.exist? path
if !exists
fail Error, "the path #{path} does not exist"
elsif !available?
message = "#{self.class} is not available"
message << "because #{version[:message]}" if version[:message]
fail Error, message
end
end
end
end
|
theozaurus/littleneck_clamav
|
lib/littleneck_clamav/clam.rb
|
Ruby
|
mit
| 2,029
|
using System;
using System.Threading.Tasks;
using work.bacome.async;
using work.bacome.imapclient.support;
using work.bacome.trace;
namespace work.bacome.imapclient
{
public partial class cIMAPClient
{
internal cMessageHandleList SetUnseenCount(iMailboxHandle pMailboxHandle)
{
var lContext = mRootContext.NewMethod(nameof(cIMAPClient), nameof(Messages));
var lTask = ZSetUnseenCountAsync(pMailboxHandle, lContext);
mSynchroniser.Wait(lTask, lContext);
return lTask.Result;
}
internal Task<cMessageHandleList> SetUnseenCountAsync(iMailboxHandle pMailboxHandle)
{
var lContext = mRootContext.NewMethod(nameof(cIMAPClient), nameof(MessagesAsync));
return ZSetUnseenCountAsync(pMailboxHandle, lContext);
}
private async Task<cMessageHandleList> ZSetUnseenCountAsync(iMailboxHandle pMailboxHandle, cTrace.cContext pParentContext)
{
var lContext = pParentContext.NewMethod(nameof(cIMAPClient), nameof(ZMessagesAsync), pMailboxHandle);
if (mDisposed) throw new ObjectDisposedException(nameof(cIMAPClient));
var lSession = mSession;
if (lSession == null || lSession.ConnectionState != eConnectionState.selected) throw new InvalidOperationException(kInvalidOperationExceptionMessage.NotSelected);
if (pMailboxHandle == null) throw new ArgumentNullException(nameof(pMailboxHandle));
var lCapabilities = lSession.Capabilities;
using (var lToken = mCancellationManager.GetToken(lContext))
{
var lMC = new cMethodControl(mTimeout, lToken.CancellationToken);
if (lCapabilities.ESearch) return await lSession.SetUnseenCountExtendedAsync(lMC, pMailboxHandle, lContext).ConfigureAwait(false);
else return await lSession.SetUnseenCountAsync(lMC, pMailboxHandle, lContext).ConfigureAwait(false);
}
}
}
}
|
bacome/imapclient
|
imapclient/imapclient/client/setunseencount.cs
|
C#
|
mit
| 2,008
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>V8 API Reference Guide for node.js v8.5.0: Member List</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="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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">V8 API Reference Guide for node.js v8.5.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</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>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- 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="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1Isolate.html">Isolate</a></li><li class="navelem"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">CreateParams</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">v8::Isolate::CreateParams Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>add_histogram_sample_callback</b> (defined in <a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a>)</td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#acade19de0f78ff15d76aaef2e292da72">allow_atomics_wait</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a7c663f70b64290392eeaf164f57585f9">array_buffer_allocator</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a783e3eba90ce6e2800bdd69197bbccdd">code_event_handler</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a2c570b306aa8c1c24cfe70e8eee50fa1">constraints</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a10441abadd0b83a938303c92e7444fb6">counter_lookup_callback</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a11acf5fb9cdbc4c8bf15baf542507b49">create_histogram_callback</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>CreateParams</b>() (defined in <a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a>)</td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#aa7aa18bbe2d86713e5b074a93b38dc60">entry_hook</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a30b54cdfeef922027dbb9a01c55e4ee9">external_references</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a06ce7b25ba67361b6f5d0074fe2c9f7f">host_import_module_dynamically_callback_</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html#a25d38476e4dec79ae96c59292eee4a64">snapshot_blob</a></td><td class="entry"><a class="el" href="structv8_1_1Isolate_1_1CreateParams.html">v8::Isolate::CreateParams</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|
v8-dox/v8-dox.github.io
|
ba5a697/html/structv8_1_1Isolate_1_1CreateParams-members.html
|
HTML
|
mit
| 8,198
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_02) on Mon Apr 25 06:16:42 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.gradle.plugins.ide.eclipse.model (Gradle API 2.13)</title>
<meta name="date" content="2016-04-25">
<link rel="stylesheet" type="text/css" href="../../../../../../javadoc.css" title="Style">
</head>
<body>
<h1 class="bar"><a href="../../../../../../org/gradle/plugins/ide/eclipse/model/package-summary.html" target="classFrame">org.gradle.plugins.ide.eclipse.model</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="ClasspathEntry.html" title="interface in org.gradle.plugins.ide.eclipse.model" target="classFrame"><i>ClasspathEntry</i></a></li>
<li><a href="FileReference.html" title="interface in org.gradle.plugins.ide.eclipse.model" target="classFrame"><i>FileReference</i></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="Jdt.html" title="class in org.gradle.plugins.ide.eclipse.model" target="classFrame">Jdt</a></li>
</ul>
</div>
</body>
</html>
|
HenryHarper/Acquire-Reboot
|
gradle/docs/javadoc/org/gradle/plugins/ide/eclipse/model/package-frame.html
|
HTML
|
mit
| 1,254
|
OLT
===
Open Lute Tab
|
laoo/OLT
|
README.md
|
Markdown
|
mit
| 23
|
import assert from "assert";
import BufSamples from "../../../src/scapi/units/BufSamples";
describe("scapi/units/BufSamples", () => {
it(".kr should create control rate node", () => {
const node = BufSamples.kr(1);
assert.deepEqual(node, {
type: "BufSamples", rate: "control", props: [ 1 ]
});
});
it(".ir should create scalar rate node", () => {
const node = BufSamples.ir(1);
assert.deepEqual(node, {
type: "BufSamples", rate: "scalar", props: [ 1 ]
});
});
it("default rate is control", () => {
const node = BufSamples();
assert.deepEqual(node, {
type: "BufSamples", rate: "control", props: [ 0 ]
});
});
});
|
mohayonao/neume
|
test/scapi/units/BufSamples.js
|
JavaScript
|
mit
| 684
|
<?php
namespace AerialShip\SteelMqBundle\Entity;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Security\Core\User\UserInterface;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity(repositoryClass="AerialShip\SteelMqBundle\Entity\Repository\UserRepository")
* @ORM\Table(name="smq_user")
*/
class User implements UserInterface, \Serializable
{
const ROLE_USER = 'ROLE_USER';
const ROLE_ADMIN = 'ROLE_ADMIN';
const ROLE_SUPER_ADMIN = 'ROLE_SUPER_ADMIN';
const ROLE_DEFAULT = self::ROLE_USER;
private static $allRoles = array(
self::ROLE_USER => 1,
self::ROLE_ADMIN => 1,
self::ROLE_SUPER_ADMIN => 1,
);
/**
* @param string $role
*
* @return bool
*/
public static function isValidRole($role)
{
return isset(self::$allRoles[$role]);
}
/**
* @var int
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
protected $id;
/**
* @var string
* @ORM\Column(type="string", length=100, unique=true)
*/
protected $email;
/**
* @var string
* @ORM\Column(type="string", length=100)
*/
protected $name;
/**
* @var \DateTime
* @ORM\Column(type="datetime")
*/
protected $createdAt;
/**
* @var \DateTime|null
* @ORM\Column(type="datetime", nullable=true)
*/
protected $lastLogin;
/**
* @var string|null
*/
protected $plainPassword;
/**
* @var string
* @ORM\Column(type="text")
*/
protected $salt;
/**
* @var string
* @ORM\Column(type="text")
*/
protected $password;
/**
* @var array
* @ORM\Column(type="array")
*/
protected $roles = array();
/**
* @var string
* @ORM\Column(type="string", length=64)
*/
protected $accessToken;
/**
* @var string|null
* @ORM\Column(type="string", length=64, nullable=true)
*/
protected $passwordToken;
/**
* @var \DateTime|null
* @ORM\Column(type="datetime", nullable=true)
*/
protected $passwordRequestAt;
/**
* @var string
* @ORM\Column(type="string", length=16)
*/
protected $locale = 'en';
/**
* @var string
* @ORM\Column(type="string", length=32)
*/
protected $timezone = 'Europe/Oslo';
/**
* @var string
* @ORM\Column(type="string", length=200, nullable=true)
*/
protected $pictureUrl;
/**
* @var ProjectRole[]|ArrayCollection
* @ORM\OneToMany(
* targetEntity="ProjectRole",
* mappedBy="user",
* orphanRemoval=true,
* cascade={"remove"},
* fetch="EXTRA_LAZY"
* )
*/
protected $projectRoles;
/**
*
*/
public function __construct()
{
$this->createdAt = new \DateTime();
$this->projectRoles = new ArrayCollection();
$this->salt = base_convert(sha1(uniqid(mt_rand(), true)), 16, 36);
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string $locale
* @return $this|User
*/
public function setLocale($locale)
{
$this->locale = $locale;
return $this;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $name
* @return $this|User
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string $email
* @return $this|User
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* @param \DateTime $createdAt
* @return $this|User
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* @return \DateTime|null
*/
public function getLastLogin()
{
return $this->lastLogin;
}
/**
* @param \DateTime|null $lastLogin
* @return $this|User
*/
public function setLastLogin($lastLogin)
{
$this->lastLogin = $lastLogin;
return $this;
}
/**
* @return null|string
*/
public function getPlainPassword()
{
return $this->plainPassword;
}
/**
* @param null|string $plainPassword
* @return $this|User
*/
public function setPlainPassword($plainPassword)
{
$this->plainPassword = $plainPassword;
return $this;
}
/**
* @return string
*/
public function getTimezone()
{
return $this->timezone;
}
/**
* @param string $timezone
* @return $this|User
*/
public function setTimezone($timezone)
{
$this->timezone = $timezone;
return $this;
}
/**
* @return string
*/
public function getPictureUrl()
{
return $this->pictureUrl;
}
/**
* @param string $pictureUrl
* @return $this|User
*/
public function setPictureUrl($pictureUrl)
{
$this->pictureUrl = $pictureUrl;
return $this;
}
/**
* @return null|string
*/
public function getAccessToken()
{
return $this->accessToken;
}
/**
* @param string $accessToken
* @return $this|User
*/
public function setAccessToken($accessToken)
{
$this->accessToken = $accessToken;
return $this;
}
/**
* @return \DateTime|null
*/
public function getPasswordRequestAt()
{
return $this->passwordRequestAt;
}
/**
* @param \DateTime|null $passwordRequestAt
* @return $this|User
*/
public function setPasswordRequestAt(\DateTime $passwordRequestAt = null)
{
$this->passwordRequestAt = $passwordRequestAt;
return $this;
}
/**
* @return null|string
*/
public function getPasswordToken()
{
return $this->passwordToken;
}
/**
* @param null|string $passwordToken
* @return $this|User
*/
public function setPasswordToken($passwordToken)
{
$this->passwordToken = $passwordToken;
return $this;
}
/**
* @return ProjectRole[]|ArrayCollection
*/
public function getProjectRoles()
{
return $this->projectRoles;
}
/**
* @param string $role
* @return User|$this
*/
public function addRole($role)
{
$role = strtoupper($role);
if ($role === self::ROLE_DEFAULT) {
return $this;
}
if (false == in_array($role, $this->roles, true)) {
$this->roles[] = $role;
}
return $this;
}
/**
* @param string $role
* @return User|$this
*/
public function removeRole($role)
{
if (false !== $key = array_search(strtoupper($role), $this->roles, true)) {
unset($this->roles[$key]);
$this->roles = array_values($this->roles);
}
return $this;
}
/**
* @param array $roles
* @return $this|User
*/
public function setRoles(array $roles)
{
$this->roles = $roles;
return $this;
}
/**
* @param string $password
* @return $this|User
*/
public function setPassword($password)
{
$this->password = $password;
return $this;
}
/**
* @param string $salt
* @return $this|User
*/
public function setSalt($salt)
{
$this->salt = $salt;
return $this;
}
// UserInterface ------------------------------------------------------------
/**
* Returns the roles granted to the user.
*
* <code>
* public function getRoles()
* {
* return array('ROLE_USER');
* }
* </code>
*
* Alternatively, the roles might be stored on a ``roles`` property,
* and populated in any number of different ways when the user object
* is created.
*
* @return Role[] The user roles
*/
public function getRoles()
{
$roles = $this->roles;
// we need to make sure to have at least one role
$roles[] = self::ROLE_DEFAULT;
return array_unique($roles);
}
/**
* Returns the password used to authenticate the user.
*
* This should be the encoded password. On authentication, a plain-text
* password will be salted, encoded, and then compared to this value.
*
* @return string The password
*/
public function getPassword()
{
return $this->password;
}
/**
* Returns the salt that was originally used to encode the password.
*
* This can return null if the password was not encoded using a salt.
*
* @return string|null The salt
*/
public function getSalt()
{
return $this->salt;
}
/**
* Returns the username used to authenticate the user.
*
* @return string The username
*/
public function getUsername()
{
return $this->email;
}
/**
* Removes sensitive data from the user.
*
* This is important if, at any given point, sensitive information like
* the plain-text password is stored on this object.
*/
public function eraseCredentials()
{
$this->plainPassword = null;
}
// Serializable ----------------------------------------------------------------------
/**
* (PHP 5 >= 5.1.0)<br/>
* String representation of object
* @link http://php.net/manual/en/serializable.serialize.php
* @return string the string representation of the object or null
*/
public function serialize()
{
return serialize(array(
$this->id,
$this->email,
$this->name,
$this->locale,
$this->timezone,
$this->pictureUrl,
$this->roles,
));
}
/**
* (PHP 5 >= 5.1.0)<br/>
* Constructs the object
* @link http://php.net/manual/en/serializable.unserialize.php
* @param string $serialized <p>
* The string representation of the object.
* </p>
* @return void
*/
public function unserialize($serialized)
{
$data = unserialize($serialized);
// add a few extra elements in the array to ensure that we have enough keys when unserializing
// older data which does not include all properties.
$data = array_merge($data, array_fill(0, 2, null));
list(
$this->id,
$this->email,
$this->name,
$this->locale,
$this->timezone,
$this->pictureUrl,
$this->roles
) = $data;
}
}
|
aerialship/steel-mq
|
src/AerialShip/SteelMqBundle/Entity/User.php
|
PHP
|
mit
| 11,457
|
<?php
namespace GuildWars2\Api\Entity;
use GuildWars2\Api\SetEntityBase;
abstract class ItemInfoBase extends SetEntityBase
{
private $_itemId;
private $_amount;
private $_skinId;
private $_upgradeIds;
private $_infusionIds;
private $_bindType;
private $_boundCharacterName;
protected function init()
{
$this->_itemId = null;
$this->_amount = null;
$this->_skinId = null;
$this->_upgradeIds = [];
$this->_infusionIds = [];
$this->_bindType = null;
$this->_boundCharacterName = null;
}
/**
* @return mixed
*/
public function getItemId()
{
return $this->_itemId;
}
/**
* @return Item
*/
public function getItem()
{
return $this->getApi()->items->getOne($this->_itemId);
}
/**
* @return mixed
*/
public function getAmount()
{
return $this->_amount;
}
/**
* @return mixed
*/
public function getSkinId()
{
return $this->_skinId;
}
/**
* @return mixed
*/
public function getUpgradeIds()
{
return $this->_upgradeIds;
}
/**
* @return mixed
*/
public function getInfusionIds()
{
return $this->_infusionIds;
}
/**
* @return mixed
*/
public function getBindType()
{
return $this->_bindType;
}
/**
* @return mixed
*/
public function getBoundCharacterName()
{
return $this->_boundCharacterName;
}
protected function set($key, $value)
{
switch ($key) {
case 'id':
$this->_itemId = intval($value);
break;
case 'count':
$this->_amount = $value;
break;
case 'skin':
$this->_skinId = $value;
break;
case 'upgrades':
$this->_upgradeIds = array_map('intval', $value);
break;
case 'infusions':
$this->_infusionIds = array_map('intval', $value);
break;
case 'binding':
$this->_bindType = $value;
break;
case 'bound_to':
$this->_boundCharacterName = $value;
break;
}
}
}
|
TorbenKoehn/gw2-php
|
Api/Entity/ItemInfoBase.php
|
PHP
|
mit
| 2,373
|
#pragma once
/* LightedMaterial.hpp
*
* Copyright (C) 2017 Dynamic Reflectance
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
//std
#include <string>
#include <vector>
namespace core {
namespace utils {
std::vector<std::string> tokenize(const std::string& a_data,
const std::vector<char>& a_white_spaces,
const std::vector<char>& a_separators);
} // namespace utils
} // namespace core
|
dynamicreflectance/core
|
utils/source/Tokenizer.hpp
|
C++
|
mit
| 558
|
FROM php:7.3-alpine
RUN apk --update add libbz2 bzip2-dev && \
apk del build-base && \
rm -rf /var/cache/apk/*
RUN docker-php-ext-install bz2
VOLUME ["/app"]
WORKDIR /app
|
tommy-muehle/tooly-composer-script
|
.docker/php-7.3/Dockerfile
|
Dockerfile
|
mit
| 179
|
import { combineReducers } from 'redux';
import { routerReducer as routing } from 'react-router-redux';
import account from '../reducers/account';
import authentication from '../reducers/authentication';
import user from '../reducers/user';
import modelPortfolio from '../reducers/modelPortfolio';
import portfolio from '../reducers/portfolio';
import investmentAmount from '../reducers/investmentAmount';
import message from '../reducers/message';
import rebalancing from '../reducers/rebalancing';
import view from '../reducers/view';
import * as types from '../types';
const isFetching = (state = false, action) => {
switch (action.type) {
case types.CREATE_REQUEST:
return true;
case types.REQUEST_SUCCESS:
case types.REQUEST_FAILURE:
return false;
default:
return state;
}
};
const rootReducer = combineReducers({
isFetching,
authentication,
account,
modelPortfolio,
portfolio,
user,
investmentAmount,
message,
rebalancing,
view,
routing,
});
export default rootReducer;
|
AlexisDeschamps/portfolio-rebalancer
|
app/reducers/index.js
|
JavaScript
|
mit
| 1,039
|
/* VARIABLES */
/* BASE */
html,
body {
font-family: "helvetica neue";
font-size: 1em;
line-height: 1.4;
height: 100%;
margin: 0;
padding: 0;
background-color: #fafafa; }
a {
text-decoration: none;
color: inherit; }
.container {
overflow: hidden;
*zoom: 1;
margin: 0 20px; }
.site-content {
padding-top: 60px; }
/* HEADER */
.header {
position: fixed;
left: 0;
right: 0;
height: 50px;
line-height: 50px;
color: #fff;
background-color: #465775; }
.header__logo {
font-size: 20px;
font-weight: 450;
padding: 0 25px;
float: left; }
/* MENU */
.menu {
float: right;
margin-right: 20px; }
.menu a {
padding: 0 10px; }
.menu a:hover {
color: #c5cae9; }
.group {
display: block;
width: 700px;
height: 215px;
margin: 150px auto; }
.group .label {
box-sizing: border-box;
width: 50%;
display: inline;
height: 100%;
float: left; }
.group .label h1 {
color: #465775;
font-weight: 400;
font-size: 1.8em;
padding-right: 2px; }
.group .label p {
color: #979797;
padding-right: 5px; }
.group .content {
box-sizing: border-box;
width: 50%;
overflow: hidden;
*zoom: 1;
height: auto;
border-left: 2px solid rgba(70, 87, 110, 0.5); }
.group .content .bundle {
padding: 25px; }
.group .content .bundle input {
width: 100%;
padding: 10px 10px;
margin-bottom: 15px;
font-size: 0.9em;
color: #979797;
outline: none; }
.group .content .bundle a {
color: #979797;
font-size: 0.7em;
text-align: right;
float: right;
margin-bottom: 15px;
overflow: hidden;
*zoom: 1; }
.group .content .bundle a:hover {
color: #a3a19b; }
.group .content .bundle input[type="submit"] {
background-color: #465775;
border: none;
color: #ffffff;
cursor: pointer; }
.group .content .bundle input[type="submit"]:hover {
background-color: #48556b;
border: none;
color: #ffffff;
cursor: pointer; }
/* RESPONSIVE */
@media only screen and (max-width: 768px) {
.group {
margin-top: 15px;
width: 100%;
height: 300px; }
.group .label {
width: 100%;
height: auto; }
.group .label h1 {
padding-left: 25px;
padding-right: 25px; }
.group .label p {
padding-left: 25px;
padding-right: 25px; }
.group .content {
border-left: none;
width: 100%; } }
@media only screen and (max-width: 768px) {
.site-pusher,
.site-container {
height: 100%; }
.site-container {
overflow: auto; }
.site-pusher {
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transform: translateX(0px);
transform: translateX(0px); }
.site-content {
position: absolute;
top: 66px;
right: 0;
left: 0;
bottom: 0;
padding-top: 0;
overflow-y: scroll;
-webkit-overflow-scrolling: touch; }
.header {
position: static; }
.header__icon {
position: relative;
display: block;
float: left;
width: 50px;
height: 50px;
cursor: pointer; }
.header__icon:after {
content: '';
position: absolute;
display: block;
width: 1rem;
height: 0;
top: 9px;
left: 15px;
box-shadow: 0 10px 0 1px #fff, 0 16px 0 1px #fff, 0 22px 0 1px #fff; }
.menu {
position: absolute;
left: 0;
top: 0;
bottom: 0;
background-color: #465775;
width: 250px;
-webkit-transform: translateX(-250px);
transform: translateX(-250px); }
.menu a {
display: block;
height: 49px;
text-align: center;
line-height: 49px;
border-bottom: 1px solid #fafafa; }
.with--sidebar .site-pusher {
position: relative;
-webkit-transform: translateX(250px);
transform: translateX(250px); }
.with--sidebar .site-cache {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6); } }
|
asepnur/fascal-static
|
src/css/sign.css
|
CSS
|
mit
| 3,815
|
#!/bin/sh
IP=192.168.0.101
timer=30
events=500
throttle=350
adb usb
sleep 2
adb tcpip 5555
sleep 5
#TODO: Get args from terminal
adb connect $IP
sleep 3
connectStatus=`adb devices|wc -l`
if [[ $connectStatus -gt 3 ]]; then
echo "Safe to Disconnect"
for i in `seq $timer 1`;
do
echo $i
sleep 1
done
echo "Operation Monkey Commenced"
#Throttle optional
adb shell monkey -v $events --throttle $throttle --ignore-crashes --ignore-timeouts --ignore-security-exceptions
else
echo "Couldn't Connect to device"
fi
|
rahatm1/AndroidMonkeyPrank
|
AndroidMonkeyPrank.sh
|
Shell
|
mit
| 532
|
#ifndef BITCOIN_QT_ASKPASSPHRASEPAGE_H
#define BITCOIN_QT_ASKPASSPHRASEPAGE_H
#include <QDialog>
namespace Ui {
class AskPassphrasePage;
}
class WalletModel;
/** Ask for passphrase. Used for unlocking at startup.
*/
class AskPassphrasePage : public QDialog
{
Q_OBJECT
public:
enum Mode {
Encrypt, /**< Ask passphrase twice and encrypt */
Lock, /**< Ask passphrase and lock */
Unlock /**< Ask passphrase and unlock */
};
explicit AskPassphrasePage(Mode mode, QWidget *parent = 0);
~AskPassphrasePage();
void setModel(WalletModel *model);
private:
Ui::AskPassphrasePage *ui;
Mode mode;
WalletModel *model;
bool fCapsLock;
private Q_SLOTS:
void accept();
void textChanged();
bool event(QEvent *event);
bool eventFilter(QObject *, QEvent *event);
Q_SIGNALS:
void lockWalletFeatures(bool lock);
};
#endif // BITCOIN_QT_ASKPASSPHRASEPAGE_H
|
onsightit/solarcoin
|
src/qt/askpassphrasepage.h
|
C
|
mit
| 948
|
## 100x=37
|
dvberkel/SPA2014-lightning-talk
|
slides/100x37.md
|
Markdown
|
mit
| 12
|
---
layout: post
title: "JAVA8实战 - 基础知识"
date: 2017-10-26 22:47:37
categories: 读书笔记
---
# 概要
- JAVA8是发布以来变化最大的一次
- 完全向下兼容
- 引入新的语法和设计模式,帮助开发者编写更清楚、更简洁的代码
- 引入函数式编程方式
- 其他的一些优化改进
# 基础知识
- 总结java的主要变化:`Lambda、方法引用、流和默认方法`
- 了解行为`参数化`,这是一种`软件开发模式`,也是引入Lambda的主要原因
- 全面解释Lambda和方法引用
## 为什么要关心Java8
- Java8让开发者使用起来更容易、更简洁
```java
// before java8
Collections.sort(appleList, new Comparator<Apple>() {
@Override
public int compare(Apple o1, Apple o2) {
return o1.getWeight() .compareTo(o2);
}
});
// Java8
appleList.sort(comparing(Apple::getWeight));
```
- 如果想利用计算机的多核能力必须使用多线程,Java8借助Stream简化了多线程的使用
- 函数(方法)作为一等公民,代替原本复杂的匿名类
### Java怎么还在变
- 编程语言就像生态系统一样,新的语言出现,旧语言就被取代,除非他们不断演变
- 在大数据背景下,开发者需要更方便的并行处理机制
- 语言需要不断改进, 以跟进硬件的更新或满足程序员的期望
### 流处理
`流`是一系列数据项,一次只生成一项。
程序可以从输入流中一个一个的读取数据,然后以同样的方式写入输出流。
一个程序的输出流很可能是另一个程序的输入流。
例如linux中的管道:
```shell
$ cat file1 file2 | tr "[A-Z]" "[a-z]" | sort | tail -3
```
Java8在`java.util.stream`中添加了`Stream API`,Stream<T>就是一系列T类型的项目,Java8通过内置方法,将流`连接`起来,形成复杂的`流水线`。这带来两个好处:
- 更高层次的抽象,面向流进行设计
- 免费、透明的并行处理
```java
// 例如下面的方法: 按value过滤后,再按照currency分组;
Map<Currency, List<Transaction>> transactionsByCurrencies = new HashMap<>();
for (Transaction transaction : transactions) {
if(transaction.getValue() > 1000) {
Currency currency = transaction.getCurrency();
List<Transaction> transactionsForCurrency = transactionsByCurrencies.get(currency);
if (transactionsForCurrency == null) {
transactionsForCurrency = new ArrayList<>();
transactionsByCurrencies.put(currency, transactionsForCurrency);
}
transactionsForCurrency.add(transaction);
}
}
// 使用流API实现的话:
Map<Currency, List<Transaction>> transactionsByCurrencies = transactions.stream()
.filter((Transaction t) -> t.getValue() > 1000)
.collect(groupingBy(Transaction::getCurrency));
```
### 用行为参数化把代码传递给方法
把方法作为参数传递给另一个方法.
在函数式编程语言中, 这是一个基础概念, 将函数作为一等公民, 可以作为参数传入, 也可以作为结果返回.
Scala和Groovy已经证明, 将函数作为一等公民可以极大的`扩充程序员的工具库`, 让编程变得更加容易.
```java
// 列举当前目录下的隐藏文件
File[] hiddenFile = new File(".").listFiles(new FileFilter() {
@Override
public boolean accept(File file) {
return file.isHidden();
}
});
// java8
File[] hiddenFileInJava8 = new File(".").listFiles(File::isHidden);
```
- `File::isHidden`会创建一个`方法引用`, 可以作为值进行传递
```java
public List<Apple> filterGreenApples(List<Apple> apples) {
List<Apple> result = new ArrayList<>();
for (Apple apple : apples) {
if ("green".equals(apple.getColor())) {
result.add(apple);
}
}
return result;
}
public List<Apple> filterHeavyApples(List<Apple> apples) {
List<Apple> result = new ArrayList<>();
for (Apple apple : apples) {
if (apple.getWeight() > 150) {
result.add(apple);
}
}
return result;
}
// 上述代码编写麻烦, 而且带来了重复代码, 区别只是过滤规则不同
// java8
public static boolean isGreenApple(Apple apple) {
return "green".equals(apple.getColor());
}
public static boolean isHeavyApple(Apple apple) {
return apple.getWeight() > 150;
}
public static List<Apple> filterApples(List<Apple> inventory, Predicate<Apple> p){
List<Apple> result = new ArrayList<>();
for(Apple apple : inventory){
if(p.test(apple)){
result.add(apple);
}
}
return result;
}
// 使用:
List<Apple> greenApples = filterApples(inventory, FilteringApples::isGreenApple);
List<Apple> heavyApples = filterApples(inventory, FilteringApples::isHeavyApple);
// 或者直接使用lambda表达式
filterApples(apples, (Apple a) -> "green".equals(a.getColor()));
filterApples(apples, (Apple a) -> a.getWeight() > 150);
```
### 并行与共享的可变数据
想要免费使用流的并行能力,需要保证方法不能`有副作用`, 即:不能修改共享变量,也可以被叫做`纯函数`或者`无状态函数`
```java
// 使用parallelStream将列表转化为并行流, 使用免费的并行能力
List<Apple> heavyApples = apples.parallelStream().filter((Apple a) -> a.getWeight() > 150)
.collect(toList());
```
- 内部库会进行自动分区
- 使用纯函数来利用免费的并行计算
### 默认方法
为了支持`库设计师`, 让他们能够写出`更容易改进`的接口, 避免修改接口时, 破坏已有的实现类.
```java
// java.util.Collection
default Stream<E> stream() {
return StreamSupport.stream(spliterator(), false);
}
```
### 其他函数式编程思想
- Option<T> - 避免出现NullPointer异常
- 模式匹配 - 更简洁的表达逻辑判断
- ......
## 通过行为参数化传递代码
例如:
```java
public static List<Apple> filterGreenApples(List<Apple> inventory){
List<Apple> result = new ArrayList<>();
for(Apple apple: inventory){
if("green".equals(apple.getColor())){
result.add(apple);
}
}
return result;
}
public static List<Apple> filterApplesByColor(List<Apple> inventory, String color){
List<Apple> result = new ArrayList<>();
for(Apple apple: inventory){
if(apple.getColor().equals(color)){
result.add(apple);
}
}
return result;
}
public static List<Apple> filterApplesByWeight(List<Apple> inventory, int weight){
List<Apple> result = new ArrayList<>();
for(Apple apple: inventory){
if(apple.getWeight() > weight){
result.add(apple);
}
}
return result;
}
```
过滤一个列表,只是规则不同,却产生了大量重复的逻辑
在调用时,传入的参数也不能很好的表明意图:
```java
List<Apple> greenApples = filterGreenApples(inventory);
List<Apple> redApples = filterApplesByColor(inventory, "red");
List<Apple> heavyApples = filterApplesByWeight(inventory, 150);
```
*变化的内容是我们的选择标准, 我们称他为`谓词`*
通过接口对`谓词`进行建模, 并且实现多个选择标准, 类似于设计模式中的`策略模式`:
```java
interface ApplePredicate{
boolean test(Apple a);
}
static class AppleWeightPredicate implements ApplePredicate{
public boolean test(Apple apple){
return apple.getWeight() > 150;
}
}
static class AppleColorPredicate implements ApplePredicate{
public boolean test(Apple apple){
return "green".equals(apple.getColor());
}
}
```
让filter方法接受原始列表和一个`谓词`, 对列表项进行测试, 这就是`行为参数化`:
```java
public static List<Apple> filter(List<Apple> inventory, ApplePredicate p){
List<Apple> result = new ArrayList<>();
for(Apple apple : inventory){
if(p.test(apple)){
result.add(apple);
}
}
return result;
}
```
当需要添加其他筛选规则时, 可以直接简单的定义新的规则:
```java
static class AppleRedAndHeavyPredicate implements ApplePredicate{
public boolean test(Apple apple){
return "red".equals(apple.getColor())
&& apple.getWeight() > 150;
}
}
```
上述结果在使用时依然存在缺陷, 必须构造一个谓词类, 并且new一个实例进行传递:
```java
List<Apple> redAndHeavyApples = filter(inventory, new AppleRedAndHeavyPredicate());
```
一种方案是使用Java早起的匿名类:
```java
List<Apple> redApples = filter(inventory, new ApplePredicate() {
public boolean test(Apple a){
return a.getColor().equals("red");
}
});
```
但是依然不够简洁.
使用lambda表达式进一步简化:
```java
// Predicate 是 Java8 内置的谓词类
public List<Apple> filter(List<Apple> apples, Predicate<Apple> predicate) {
List<Apple> result = new ArrayList<>();
for (Apple apple : apples) {
if (predicate.test(apple)) {
result.add(apple);
}
}
return result;
}
// 使用lambda表达式
filter(apples, (Apple a) -> "green".equals(a.getColor()));
```
再继续往下进行, filter方法可以泛化, 使得过滤逻辑应用在不同的类上:
```java
public List<T> filter(List<T> list, Predicate<T> predicate) {
List<T> result = new ArrayList<>();
for (T e : list) {
if (predicate.test(e)) {
result.add(e);
}
}
return result;
}
List<Integer> even = filter(numbers, (Integer n) -> n % 2 == 0);
```
### Java8的内置支持
- sort方法(Collections.sort)
```java
apples.sort((Apple a, Apple b) -> a.getWeight().compareTo(b.getWeight()));
```
- 用Runnable执行代码块
```java
Thread t = new Thread(() -> System.out.println("thread"));
```
### GUI事件处理
```java
button.setOnAction((ActionEvent e) -> label.setText("Sent!"));
```
### 总结
- 行为参数化, 就是一个方法接受`不同的行为`作为`参数`, 在内部使用它们, 完成不同的能力, 类似于`策略模式`
- 行为化参数可以让代码具有更好的`灵活性`, 更`简洁的语法`
- 用lambda语法来代替以往复杂的匿名类语法
- Java API包含了很多不同行为进行参数化的方法
## Lambda表达式
### 简洁
Lambda表达式可以理解为`简洁`的表示`可传递`的`匿名函数`的一种方式.
包含`参数列表`, `函数主题`, `返回类型`, 以及`可以抛出的异常列表`
```java
List<Apple> redApples = filter(inventory, new ApplePredicate() {
public boolean test(Apple a){
return a.getColor().equals("red");
}
});
// 可以使用lamdba简化为:
// 备注: Lambda表达式`隐含`了return语句
List<Apple> redApples = filter(inventory, (Apple a) -> a.getColor().equals("red"));
```
### Lambda表达式的语法为
```java
(parameters) -> exception
// 或者
(parameters) -> { exception }
```
### 函数式接口
只定义`一个`抽象方法的接口(不计算`默认方法`)
```java
public interface Comparator<T> {
int compare(T o1, T o2);
}
```
Lambda允许直接以`内联`的形式为`函数式接口`的抽象方法提供实现, 并把整个`表达式`作为函数式接口的实例.
> 可以使用@FunctionalInterface声明函数式接口, 提示编译器对接口形式进行校验
### 函数描述符
函数式接口的抽象方法的`签名`, 同样也是lambda表达式的签名
例如: (Apple a) -> a.getWeight()的签名就是(Apple) -> Integer
### 实例: 简化模板方法
```java
// 函数式接口
public interface BufferedReaderProcessor{
public String process(BufferedReader b) throws IOException;
}
// 模板方法
public static String processFile(BufferedReaderProcessor p) throws IOException {
try(BufferedReader br = new BufferedReader(new FileReader("data.txt"))){
return p.process(br);
}
}
// lambda表达式省略匿名类语法
String oneLine = processFile((BufferedReader b) -> b.readLine());
```
### 内置的函数式接口
- Predicate - 定义用来`判断`的抽象接口tsest, 接受`泛型T对象`, 返回`boolean`

```java
package java.util.function;
import java.util.Objects;
/**
* Represents a predicate (boolean-valued function) of one argument.
*
* <p>This is a <a href="package-summary.html">functional interface</a>
* whose functional method is {@link #test(Object)}.
*
* @param <T> the type of the input to the predicate
*
* @since 1.8
*/
@FunctionalInterface
public interface Predicate<T> {
/**
* Evaluates this predicate on the given argument.
*
* @param t the input argument
* @return {@code true} if the input argument matches the predicate,
* otherwise {@code false}
*/
boolean test(T t);
/**
* Returns a composed predicate that represents a short-circuiting logical
* AND of this predicate and another. When evaluating the composed
* predicate, if this predicate is {@code false}, then the {@code other}
* predicate is not evaluated.
*
* <p>Any exceptions thrown during evaluation of either predicate are relayed
* to the caller; if evaluation of this predicate throws an exception, the
* {@code other} predicate will not be evaluated.
*
* @param other a predicate that will be logically-ANDed with this
* predicate
* @return a composed predicate that represents the short-circuiting logical
* AND of this predicate and the {@code other} predicate
* @throws NullPointerException if other is null
*/
default Predicate<T> and(Predicate<? super T> other) {
Objects.requireNonNull(other);
return (t) -> test(t) && other.test(t);
}
/**
* Returns a predicate that represents the logical negation of this
* predicate.
*
* @return a predicate that represents the logical negation of this
* predicate
*/
default Predicate<T> negate() {
return (t) -> !test(t);
}
/**
* Returns a composed predicate that represents a short-circuiting logical
* OR of this predicate and another. When evaluating the composed
* predicate, if this predicate is {@code true}, then the {@code other}
* predicate is not evaluated.
*
* <p>Any exceptions thrown during evaluation of either predicate are relayed
* to the caller; if evaluation of this predicate throws an exception, the
* {@code other} predicate will not be evaluated.
*
* @param other a predicate that will be logically-ORed with this
* predicate
* @return a composed predicate that represents the short-circuiting logical
* OR of this predicate and the {@code other} predicate
* @throws NullPointerException if other is null
*/
default Predicate<T> or(Predicate<? super T> other) {
Objects.requireNonNull(other);
return (t) -> test(t) || other.test(t);
}
/**
* Returns a predicate that tests if two arguments are equal according
* to {@link Objects#equals(Object, Object)}.
*
* @param <T> the type of arguments to the predicate
* @param targetRef the object reference with which to compare for equality,
* which may be {@code null}
* @return a predicate that tests if two arguments are equal according
* to {@link Objects#equals(Object, Object)}
*/
static <T> Predicate<T> isEqual(Object targetRef) {
return (null == targetRef)
? Objects::isNull
: object -> targetRef.equals(object);
}
}
```
- Consumer - 定义抽象方法accept, 接受泛型对象T, `返回void`; 访问对象T, 并`执行某些操作`
```java
package java.util.function;
import java.util.Objects;
/**
* Represents an operation that accepts a single input argument and returns no
* result. Unlike most other functional interfaces, {@code Consumer} is expected
* to operate via side-effects.
*
* <p>This is a <a href="package-summary.html">functional interface</a>
* whose functional method is {@link #accept(Object)}.
*
* @param <T> the type of the input to the operation
*
* @since 1.8
*/
@FunctionalInterface
public interface Consumer<T> {
/**
* Performs this operation on the given argument.
*
* @param t the input argument
*/
void accept(T t);
/**
* Returns a composed {@code Consumer} that performs, in sequence, this
* operation followed by the {@code after} operation. If performing either
* operation throws an exception, it is relayed to the caller of the
* composed operation. If performing this operation throws an exception,
* the {@code after} operation will not be performed.
*
* @param after the operation to perform after this operation
* @return a composed {@code Consumer} that performs in sequence this
* operation followed by the {@code after} operation
* @throws NullPointerException if {@code after} is null
*/
default Consumer<T> andThen(Consumer<? super T> after) {
Objects.requireNonNull(after);
return (T t) -> { accept(t); after.accept(t); };
}
}
```
- Function - 定义抽象方法apply, 接受泛型T的对象, 返回泛型R的对象; 用于将对象信息`映射到输出`
```java
package java.util.function;
import java.util.Objects;
/**
* Represents a function that accepts one argument and produces a result.
*
* <p>This is a <a href="package-summary.html">functional interface</a>
* whose functional method is {@link #apply(Object)}.
*
* @param <T> the type of the input to the function
* @param <R> the type of the result of the function
*
* @since 1.8
*/
@FunctionalInterface
public interface Function<T, R> {
/**
* Applies this function to the given argument.
*
* @param t the function argument
* @return the function result
*/
R apply(T t);
/**
* Returns a composed function that first applies the {@code before}
* function to its input, and then applies this function to the result.
* If evaluation of either function throws an exception, it is relayed to
* the caller of the composed function.
*
* @param <V> the type of input to the {@code before} function, and to the
* composed function
* @param before the function to apply before this function is applied
* @return a composed function that first applies the {@code before}
* function and then applies this function
* @throws NullPointerException if before is null
*
* @see #andThen(Function)
*/
default <V> Function<V, R> compose(Function<? super V, ? extends T> before) {
Objects.requireNonNull(before);
return (V v) -> apply(before.apply(v));
}
/**
* Returns a composed function that first applies this function to
* its input, and then applies the {@code after} function to the result.
* If evaluation of either function throws an exception, it is relayed to
* the caller of the composed function.
*
* @param <V> the type of output of the {@code after} function, and of the
* composed function
* @param after the function to apply after this function is applied
* @return a composed function that first applies this function and then
* applies the {@code after} function
* @throws NullPointerException if after is null
*
* @see #compose(Function)
*/
default <V> Function<T, V> andThen(Function<? super R, ? extends V> after) {
Objects.requireNonNull(after);
return (T t) -> after.apply(apply(t));
}
/**
* Returns a function that always returns its input argument.
*
* @param <T> the type of the input and output objects to the function
* @return a function that always returns its input argument
*/
static <T> Function<T, T> identity() {
return t -> t;
}
}
```
- 自动装箱接口, 自动将原始类型转换为包装类型, 例如: IntPredicate, LongPredicate等
```java
package java.util.function;
import java.util.Objects;
/**
* Represents a predicate (boolean-valued function) of one {@code int}-valued
* argument. This is the {@code int}-consuming primitive type specialization of
* {@link Predicate}.
*
* <p>This is a <a href="package-summary.html">functional interface</a>
* whose functional method is {@link #test(int)}.
*
* @see Predicate
* @since 1.8
*/
@FunctionalInterface
public interface IntPredicate {
/**
* Evaluates this predicate on the given argument.
*
* @param value the input argument
* @return {@code true} if the input argument matches the predicate,
* otherwise {@code false}
*/
boolean test(int value);
/**
* Returns a composed predicate that represents a short-circuiting logical
* AND of this predicate and another. When evaluating the composed
* predicate, if this predicate is {@code false}, then the {@code other}
* predicate is not evaluated.
*
* <p>Any exceptions thrown during evaluation of either predicate are relayed
* to the caller; if evaluation of this predicate throws an exception, the
* {@code other} predicate will not be evaluated.
*
* @param other a predicate that will be logically-ANDed with this
* predicate
* @return a composed predicate that represents the short-circuiting logical
* AND of this predicate and the {@code other} predicate
* @throws NullPointerException if other is null
*/
default IntPredicate and(IntPredicate other) {
Objects.requireNonNull(other);
return (value) -> test(value) && other.test(value);
}
/**
* Returns a predicate that represents the logical negation of this
* predicate.
*
* @return a predicate that represents the logical negation of this
* predicate
*/
default IntPredicate negate() {
return (value) -> !test(value);
}
/**
* Returns a composed predicate that represents a short-circuiting logical
* OR of this predicate and another. When evaluating the composed
* predicate, if this predicate is {@code true}, then the {@code other}
* predicate is not evaluated.
*
* <p>Any exceptions thrown during evaluation of either predicate are relayed
* to the caller; if evaluation of this predicate throws an exception, the
* {@code other} predicate will not be evaluated.
*
* @param other a predicate that will be logically-ORed with this
* predicate
* @return a composed predicate that represents the short-circuiting logical
* OR of this predicate and the {@code other} predicate
* @throws NullPointerException if other is null
*/
default IntPredicate or(IntPredicate other) {
Objects.requireNonNull(other);
return (value) -> test(value) || other.test(value);
}
}
```
### 函数式接口的一些例子
- 布尔表达式 - Predicate
- 创建对象 - Supplier
- 消费对象 - Consumer
- 选择/提取 - Function或ToIntFunction
- 合并两个值 - IntBinaryOperator
- 比较两个对象 - Comparator或BiFunction或ToIntBiFunction
### 类型检查/类型推断/限制
#### 类型检查
Lambda表达式自身并不知道自己所代表的`函数式接口`, 编译器根据`上下文`进行`推断`. 所需要的类型称为`目标类型`
当使用Lambda表达式的时候, 根据所在方法的接口声明找到`函数式接口`, 判断出实际的`目标类型`并进行`类型检查`
同样的表达式可以匹配到`不同`的函数式接口上, 只要方法签名能够兼容.
```java
Callable<Integer> c = () -> 42;
PrivilegedAction<Integer> p = () -> 42;
```
不可以将Lambda表达式复制给Object对象, 因为Object不是一个函数式接口
```java
Object o = () -> {} // error!
```
#### 推断
可以在表达式中省略参数的类型, 让编译器自己去推断.
```java
List<Apple> greenApples = filter(apples, a -> "green".equals(a.getColor());
```
### 使用局部变量
Lambda表达式允许使用`自由变量`, 即表达式外部的变量.
```java
int portNumber = 1337;
Runnable r = () -> System.out.println(portNumber);
```
但是, 变量必须显示声明为`final`或者是`实时上的final`
```java
int portNumber = 1337;
Runnable r = () -> System.out.println(portNumber); // compile error!
portNumber = 7331;
```
原因在于,局部变量是保存在`栈`上, 表达式是在一个`线程`中使用, 如果变量被改变, 可能导致线程的不安全.
### 方法引用
调用特定方法的Lambda的一种`快捷写法`, 根据`已有`的方法来创建表达式
```java
apples.sort(comparing(Apple::getWeight));
```
主要包含三类:
- 指向`静态方法` - Integer::parseInt
```java
public List<Integer> toInts(List<String> stringList, ToIntFunction<String> t) {
List<Integer> result = new ArrayList<>();
for (String s : stringList) {
result.add(t.applyAsInt(s));
}
return result;
}
toInts(stringList, Integer::parseInt);
```
- 指向`任意类型实例方法` - String::length
```java
public void print(List<Apple> apples, Consumer<Apple> c) {
for (Apple apple : apples) {
c.accept(apple);
}
}
print(appleList, Apple::printColor)
```
- 指向`现有对象的实例方法`
```java
List<String> list = Arrays.asList("stone", "yang", "xu", "others");
String fullName = "stoneyangxu";
List<String> result = list.stream().filter(fullName::contains).collect(Collectors.toList());
```
- 方式二和方式三的区别: 方式二是引用一个`对象`的方法, 这个对象本身是`表达式的参数`; 方式三是在表达式`主体`调用对象的方法
#### 构造函数的引用
```java
ClassName::new
```
- 无参数的构造函数
```java
Supplier<Apple> s = Apple::new;
Apple apple = s.get();
// 等价于
Supplier<Apple> s = () -> new Apple();
Apple apple = s.get();
```
- 有一个参数的构造函数
```java
Function<Integer, Apple> f = Apple::new;
Apple apple = f.apply(100);
// 等价于
Function<Integer, Apple> f = weight -> new Apple(weight);
Apple apple = f.apply(100);
```
- 有多个参数的构造函数
```java
BiFunction<String, Integer, Apple> b = Apple::new;
Apple apple = b.apply("green", 100);
// 等价于
BiFunction<String, Integer, Apple> b = (color, weight) -> new Apple(color, weight);
Apple apple = b.apply("green", 100);
```
### 复合Lambda表达式的有用方法
将简单的表达式`复合`成为复杂的表达式.
借助函数式接口的`默认方法`
#### 比较器复合
```java
// 基本
Comparator<Apple> c = comparing(Apple::getWeight);
// 逆序
Comparator<Apple> c = comparing(Apple::getWeight).reversed();
// 比较器链
Comparator<Apple> c = comparing(Apple::getWeight).thenComparing(Apple::getColor)
```
#### 谓词复合
```java
// 基本
Predicate<Apple> redApple = (Apple a) -> "red".equals(a.getColor());
Predicate<Apple> heavyApple = (Apple a) -> a.getWeight() > 150;
// 否定
Predicate<Apple> notRedApple = redApple.negate();
// 而且
Predicate<Apple> redAndHeavyApple = redApple.and(heavyApple);
// 或者
Predicate<Apple> redOrGreenApple = redApple.and((Apple a) -> "green".equals(a.getColor()));
```
#### 函数复合
```java
// 基本
Function<Integer, Integer> increase = x -> x + 1;
Function<Integer, Integer> multiply = x -> x * 2;
// 链式
Function<Integer, Integer> f = increase.andThen(multiply);
f.apply(1); // multiply(increase(1)) => 4
// 组合
Function<Integer, Integer> g = increase.compose(multiply);
g.apply(1); // increase(multiply(1)) => 3
```
### 总结
- Lambda表达式可以理解为匿名函数的简化
- `函数式接口`是只声明一个抽象接口(不计算默认方法)的接口
- 只有在接受函数式接口的地方,才能够使用lambda表达式
- Java8自带的一些函数式接口,位于java.uitl.function内
- Java8提供了自动装箱的函数式接口
- Lambda表达式需要代表的类型成为`目标类型`
- `方法引用`允许使用现有方法的实现并直接传递它们
- 利用函数式接口的`默认方法`, 复合成更为复杂的表达式
|
stoneyangxu/stoneyangxu.github.io
|
_posts/blog/2017-10-26-java-8-in-action-1.md
|
Markdown
|
mit
| 28,394
|
//! WARNING: This file is generated, derived from table payment.exchange_rate, DO NOT EDIT
use chrono::datetime::DateTime;
use chrono::offset::utc::UTC;
use gen::column;
use gen::schema;
use gen::table;
use rustc_serialize::json::Json;
use rustc_serialize::json::ToJson;
use rustorm::dao::Dao;
use rustorm::dao::IsDao;
use rustorm::dao::Type;
use rustorm::dao::Value;
use rustorm::query::Operand;
use rustorm::table::Column;
use rustorm::table::Foreign;
use rustorm::table::IsTable;
use rustorm::table::Table;
use uuid::Uuid;
use gen::payment::Currency;
#[derive(RustcEncodable)]
#[derive(Debug, Clone)]
pub struct ExchangeRate {
/// primary
/// this will be referred when processing payments with different currencies
/// default: 'uuid_generate_v4()'
/// not nullable
/// db data type: uuid
pub exchange_rate_id: Uuid,
/// db data type: double precision
pub exchange_rate: Option<f64>,
/// db data type: uuid
pub from_currency: Option<Uuid>,
/// db data type: uuid
pub to_currency: Option<Uuid>,
/// default: 'true'
/// not nullable
/// --inherited--
/// db data type: boolean
pub active: bool,
/// --inherited--
/// db data type: uuid
pub client_id: Option<Uuid>,
/// default: 'now()'
/// not nullable
/// --inherited--
/// db data type: timestamp with time zone
pub created: DateTime<UTC>,
/// --inherited--
/// db data type: uuid
pub created_by: Option<Uuid>,
/// --inherited--
/// db data type: character varying
pub description: Option<String>,
/// --inherited--
/// db data type: text
pub help: Option<String>,
/// --inherited--
/// db data type: character varying
pub name: Option<String>,
/// --inherited--
/// db data type: uuid
pub organization_id: Option<Uuid>,
/// --inherited--
/// db data type: double precision
pub priority: Option<f64>,
/// default: 'now()'
/// not nullable
/// --inherited--
/// db data type: timestamp with time zone
pub updated: DateTime<UTC>,
/// --inherited--
/// db data type: uuid
pub updated_by: Option<Uuid>,
/// has one
pub from: Option<Currency>,
/// has one
pub to: Option<Currency>,
}
impl IsDao for ExchangeRate {
fn from_dao(dao: &Dao) -> Self {
ExchangeRate {
organization_id: dao.get_opt(column::organization_id),
client_id: dao.get_opt(column::client_id),
created: dao.get(column::created),
created_by: dao.get_opt(column::created_by),
updated: dao.get(column::updated),
updated_by: dao.get_opt(column::updated_by),
priority: dao.get_opt(column::priority),
name: dao.get_opt(column::name),
description: dao.get_opt(column::description),
help: dao.get_opt(column::help),
active: dao.get(column::active),
exchange_rate_id: dao.get(column::exchange_rate_id),
from_currency: dao.get_opt(column::from_currency),
exchange_rate: dao.get_opt(column::exchange_rate),
to_currency: dao.get_opt(column::to_currency),
from: None,
to: None,
}
}
fn to_dao(&self) -> Dao {
let mut dao = Dao::new();
match self.organization_id {
Some(ref _value) => dao.set(column::organization_id, _value),
None => dao.set_null(column::organization_id)
}
match self.client_id {
Some(ref _value) => dao.set(column::client_id, _value),
None => dao.set_null(column::client_id)
}
dao.set(column::created, &self.created);
match self.created_by {
Some(ref _value) => dao.set(column::created_by, _value),
None => dao.set_null(column::created_by)
}
dao.set(column::updated, &self.updated);
match self.updated_by {
Some(ref _value) => dao.set(column::updated_by, _value),
None => dao.set_null(column::updated_by)
}
match self.priority {
Some(ref _value) => dao.set(column::priority, _value),
None => dao.set_null(column::priority)
}
match self.name {
Some(ref _value) => dao.set(column::name, _value),
None => dao.set_null(column::name)
}
match self.description {
Some(ref _value) => dao.set(column::description, _value),
None => dao.set_null(column::description)
}
match self.help {
Some(ref _value) => dao.set(column::help, _value),
None => dao.set_null(column::help)
}
dao.set(column::active, &self.active);
dao.set(column::exchange_rate_id, &self.exchange_rate_id);
match self.from_currency {
Some(ref _value) => dao.set(column::from_currency, _value),
None => dao.set_null(column::from_currency)
}
match self.exchange_rate {
Some(ref _value) => dao.set(column::exchange_rate, _value),
None => dao.set_null(column::exchange_rate)
}
match self.to_currency {
Some(ref _value) => dao.set(column::to_currency, _value),
None => dao.set_null(column::to_currency)
}
dao
}
}
impl ToJson for ExchangeRate {
fn to_json(&self) -> Json {
self.to_dao().to_json()
}
}
impl Default for ExchangeRate {
fn default() -> Self {
ExchangeRate{
organization_id: Default::default(),
client_id: Default::default(),
created: UTC::now(),
created_by: Default::default(),
updated: UTC::now(),
updated_by: Default::default(),
priority: Default::default(),
name: Default::default(),
description: Default::default(),
help: Default::default(),
active: Default::default(),
exchange_rate_id: Default::default(),
from_currency: Default::default(),
exchange_rate: Default::default(),
to_currency: Default::default(),
from: Default::default(),
to: Default::default(),
}
}
}
impl IsTable for ExchangeRate {
fn table() -> Table {
Table {
schema: Some(schema::payment.to_owned()),
name: table::exchange_rate.to_owned(),
parent_table: Some(table::record.to_owned()),
sub_table: vec![],
comment: None,
columns: vec![
organization_id(),
client_id(),
created(),
created_by(),
updated(),
updated_by(),
priority(),
name(),
description(),
help(),
active(),
exchange_rate_id(),
from_currency(),
exchange_rate(),
to_currency(),
],
is_view: false,
}
}
}
// Generated columns for easier development of dynamic queries without sacrificing wrong spelling of column names
#[allow(dead_code)]
pub fn organization_id()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::organization_id.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn client_id()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::client_id.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn created()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::created.to_owned(),
data_type: Type::DateTime,
db_data_type: "timestamp with time zone".to_owned(),
is_primary: false, is_unique: false, not_null: true, is_inherited: true,
default: Some(Operand::Value(Value::String("'now()'".to_owned()))),
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn created_by()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::created_by.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn updated()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::updated.to_owned(),
data_type: Type::DateTime,
db_data_type: "timestamp with time zone".to_owned(),
is_primary: false, is_unique: false, not_null: true, is_inherited: true,
default: Some(Operand::Value(Value::String("'now()'".to_owned()))),
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn updated_by()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::updated_by.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn priority()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::priority.to_owned(),
data_type: Type::F64,
db_data_type: "double precision".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn name()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::name.to_owned(),
data_type: Type::String,
db_data_type: "character varying".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn description()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::description.to_owned(),
data_type: Type::String,
db_data_type: "character varying".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn help()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::help.to_owned(),
data_type: Type::String,
db_data_type: "text".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: true,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn active()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::active.to_owned(),
data_type: Type::Bool,
db_data_type: "boolean".to_owned(),
is_primary: false, is_unique: false, not_null: true, is_inherited: true,
default: Some(Operand::Value(Value::String("'true'".to_owned()))),
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn exchange_rate_id()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::exchange_rate_id.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: true, is_unique: false, not_null: true, is_inherited: false,
default: Some(Operand::Value(Value::String("'uuid_generate_v4()'".to_owned()))),
comment: Some(r#"this will be referred when processing payments with different currencies"#.to_owned()),
foreign: None,
}}
#[allow(dead_code)]
pub fn from_currency()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::from_currency.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: false,
default: None,
comment: None,
foreign: Some(
Foreign {
schema: Some("payment".to_owned()),
table: "currency".to_owned(),
column: "currency_id".to_owned(),
}),
}}
#[allow(dead_code)]
pub fn exchange_rate()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::exchange_rate.to_owned(),
data_type: Type::F64,
db_data_type: "double precision".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: false,
default: None,
comment: None,
foreign: None,
}}
#[allow(dead_code)]
pub fn to_currency()->Column{
Column {
table: Some("exchange_rate".to_owned()),
name: column::to_currency.to_owned(),
data_type: Type::Uuid,
db_data_type: "uuid".to_owned(),
is_primary: false, is_unique: false, not_null: false, is_inherited: false,
default: None,
comment: None,
foreign: Some(
Foreign {
schema: Some("payment".to_owned()),
table: "currency".to_owned(),
column: "currency_id".to_owned(),
}),
}}
|
ivanceras/codegenta
|
tests/gen/payment/exchange_rate.rs
|
Rust
|
mit
| 13,914
|
---
path: '/fpv/how-to-direct-solder-vtx-antenna/'
date: '2017-10-22'
title: 'How to direct solder an antenna to your vtx'
author: 'Georgi Yanev'
affiliate: 'Links to Banggood or Amazon in this article are affiliate links and would support the blog if used to make a purchase.'
draft: false
category: 'fpv'
tags:
- 'wizard'
- 'vtx'
- 'diy'
ogKeywords: 'vtx, antenna, solder, wizard x220 vtx, antenna angle socket broken, how to fix wizard x220 vtx antenna, SMA connector, RP-SMA connector'
ogDescription: "If you are lucky and your angle antenna socket snaps in the 'right place', you can get away with just soldering it shut where it snapped. However if you are unlucky and you break the pin inside the socket or lose one of the pieces, the only remaining option would be to direct solder an antenna to the vtx."
ogImage: './direct-solder-vtx-11.jpg'
---
<div class="article-update-notification">
I recently started a YouTube channel called <strong><a href="https://www.youtube.com/channel/UCCh3SK2EktDdOQkEOTDmSCg" target="_blank" rel="noopener noreferrer">FPVTIPS</a></strong> to do much of what I'm doing on this blog - try to help people new to FPV. <strong><a href="https://www.youtube.com/channel/UCCh3SK2EktDdOQkEOTDmSCg" target="_blank" rel="noopener noreferrer">Come check it out!</a></strong>
</div>
The Wizard x220 comes with this antenna angle socket on its vtx and while you can certainly upgrade the vtx and opt-in for [one that comes straight out of the back][1] and add a forward tilted [Aomway antenna][2], sometimes you might need to go for a quick fix.
If you are lucky and your angle antenna socket snaps in the 'right place', you can get away with just soldering it shut where it snapped. That's gonna do it for some time. However if you are unlucky and you break the pin inside the socket or lose one of the pieces, the only remaining option would be to direct solder an antenna to the vtx (or solder a new antenna socket to your vtx, which we won't cover here as it is rather straight forward).
| | |
| -------------------------------------------------- | ------------------------------------------------------------------ |
|  |  |
| Soldered broken angle bracket | Snapped solder joint and a missing pin |
First things first, let's carefully strip the antenna coaxial cable. Go for the shortest possible cut past the SMA connector. I think I could have done a bit better job here by ~ 0.5 cm or so.

The antenna is multilayered so we need to remove each layer carefully in a certain way. Always be careful to not go into the next layer unintentionally. Here's how that looks with the first 2 layers stripped:
| | |
| ------------------------------------------------------- | -------------------------------------------------------- |
|  |  |
| Layer 1 removed | Layer 2 removed |
Up next you wanna remove the dielectric and expose the inner signal wire as in the image below. That's a good time to pretin that wire to get it ready for soldering.

Let's take a look at the vtx and notice all the solder joints. We got 3 connections on the top and 2 on the bottom. The middle one on the top is where the inner signal wire goes from the antenna. The rest are all grounds and arguably unnecessary to solder to all of them except for structural integrity.
| | |
| ------------------------------------- | ------------------------------------ |
|  |  |
| VTX front | VTX back |
You can remove the antenna socket by desoldering it or cutting under the solder joints carefully.

When that's done, prepare the solder joints by tinning them. In my case I decided to only solder to the front (top) solder joints. Here's how to position the antenna in the slot. You want to align the middle pin on the VTX with the signal wire from the antenna. Solder that in place. You need to be careful to not short anything, you don't want your ground (the outter metal sheet of the wire) in contact with the signal.
Finally, I made a small bracket from a 20 AWG wire. You could probably use also a bit thicker or thinner wire with just the same success. Heck, you might be even able to get away with no wire, however that would drastically reduce the structural integrity of the joint. Additionally, you can also use 2 wires and solder the second one to the back side of the VTX. Up to you. In my case I just did the front side.
You want to align the bracket so that the ends touch the VTX side (ground) pins while lying on the ground of the antenna. Solder all the touch points in place nice and strong. Flux can help a lot here.
| | |
| --------------------------------------------------------------- | --------------------------------------------------------------- |
|  |  |
| Antenna ready to solder in position | Antenna soldered and ready to rock |
Before we go any further, let's cross our fingers and test. WARNING: DO NOT plug in your quad with the props on in-house. It's always good to take the props off when tweaking your set up and testing things.
| | |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
|  |  |
Yay! Everything seems to be in order. Awesome, optionally but highly recommended you can drop some hot glue on the connection for extra sturdiness.

In conclusion, there are a number of different ways to do this repair. Were I not about to change the VTX, I would use an [Aomway omni directional antenna][2]. That would in turn reduce even further the stress from impacts, as that antenna is somewhat flexible and bends.
On the other hand, in some ways this fix is better than the stock setup as the vtx antenna will now come out the back and hopefully participate in crashes and direct hits much less frequently. Either way, happy flying!
[0]: Linkslist
[1]: https://bit.ly/eachine-vtx
[2]: https://bit.ly/aomway-antenna
|
jumpalottahigh/blog.georgi-yanev.com
|
content/posts/fpv/2017-10-22-how-to-direct-solder-vtx-antenna/index.md
|
Markdown
|
mit
| 7,427
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Many-to-Many</title>
<link rel="stylesheet" type="text/css" href="/styles/main.css?v=2.5.1">
<script src="/scripts/vendor.js?v=2.5.1"></script>
<script src="/scripts/main.min.js?v=2.5.1"></script>
</head>
<body>
<!-- Begin templates -->
<div hidden>
<!-- Template: Explore -->
<template id="template-explore-conversation">
<article class="jointsource conversation">
<div class="conversation-backdrop">
<div class="conversation-backdrop-image"></div>
</div>
<section class="jointsource-meta">
<h2 data-ica-conversation-meta="title">Title</h2>
<p data-ica-conversation-meta="region"></p>
<p data-ica-conversation-meta="intro"></p>
</section>
<section class="jointsource-status">
<div class="flex-space"></div>
<div class="audio-on-hover"><span class="audio-on-hover-label">Audio Preview</span><div class="audio-on-hover-speaker"></div></div>
</section>
</article>
</template>
<template id="template-explore-discussion">
<article class="jointsource discussion">
<section class="jointsource-meta">
<h2 data-ica-discussion="title">Title</h2>
<p data-ica-discussion="intro"></p>
</section>
</article>
</template>
<!-- Template: Publisher -->
<template id="template-publisher">
<div class="publisher-container" data-ica-view>
<section class="publisher" data-ica-width-multiple="300">
<header class="topbar-container">
<div class="topbar" data-ica-width-multiple="300">
<h2 class="topbar-title">Share (a) Conversation</h2>
<nav>
<ul>
<li><a data-ica-action="publish">Publish</a></li>
<li><a data-ica-action="abort">Discard Changes</a></li>
</ul>
</nav>
</div>
</header>
<section class="publisher-intro">
<p>Many-to-Many invites conversation(s) of all shapes, sizes, scales and media.</p>
<p><q>Conversations</q> shared on Many-to-Many need not be face-to-face interactions. They can extend across space and time. They can involve multiple media (audio, video, text, image...). They can even be conversations about what conversation CAN'T be archived...</p>
<p>We also invite you to share reflections - as brief or as detailed as you like - about how the conversation(s) came about, and why its participants want it circulated digitally. Answer some or all of the questions below. Or you can also upload reflections as a text, audio, video, or image file.</p>
</section>
<article class="card publisher-meta">
<section>
<label>What would you like to call the conversation?</label>
<input data-ica-conversation-meta="title" placeholder="Enter title here...">
<label>Where did the conversation take place?</label>
<input data-ica-conversation-meta="region" type="text" placeholder="Enter region here...">
<label>What would you like people to know about the conversation?</label>
<textarea data-ica-conversation-meta="intro" placeholder="Introduce your conversation here..." rows="1"></textarea>
<label>who and/or what participated in the conversation(s)?</label>
<textarea data-ica-conversation-meta="participants" data-ica-format="tokens" placeholder="List participants here... (Hit enter after each participant)"></textarea>
<label>What themes emerge from your conversation?</label>
<textarea data-ica-conversation-meta="themes" data-ica-format="tokens" data-ica-suggestions="themes" placeholder="List themes here... (Hit enter after each theme)"></textarea>
<label>Other reflections</label>
<textarea data-ica-conversation-meta="others" placeholder="More thoughts about this conversation..." rows="1"></textarea>
</section>
</article>
<section class="publisher-sources-container">
<h3>Upload media here</h3>
<section class="publisher-sources"></section>
<section class="publisher-sources-control">
<input type="button" value="+ Plain Text" data-ica-action="add-source/text">
<input type="button" value="+ Photo" data-ica-action="add-source/image">
<input type="button" value="+ Audio Recording & Transcript" data-ica-action="add-source/audio">
<input type="button" value="+ Video Clip" data-ica-action="add-source/video">
</section>
</section>
<section class="publisher-published-container" data-ica-conversation-filter="published">
<h3 class="color-primary">Danger Zone</h3>
<input type="button" class="color-primary" value="Delete this Conversation" data-ica-action="unpublish">
</section>
</section>
</div>
</template>
<template id="template-publisher-discussion">
<div class="publisher-container" data-ica-view>
<section class="publisher" data-ica-width-multiple="300">
<header class="topbar-container">
<div class="topbar" data-ica-width-multiple="300">
<h2 class="topbar-title">Meta-Conversation</h2>
<nav>
<ul>
<li><a data-ica-action="publish">Publish</a></li>
<li><a data-ica-action="abort">Discard Changes</a></li>
</ul>
</nav>
</div>
</header>
<article class="card publisher-meta">
<section>
<label>What question or topic would you like raise for discussion?</label>
<input data-ica-jointsource-meta="title" placeholder="Enter title of your meta-conversation here....">
<label>What context, if any, would you like to provide?</label>
<textarea data-ica-jointsource-meta="intro" placeholder="Introduce your meta-conversation here..." rows="1"></textarea>
</section>
</article>
<section class="publisher-sources-container">
<h3>Upload media here</h3>
<section class="publisher-sources"></section>
<section class="publisher-sources-control">
<input type="button" value="+ Plain Text" data-ica-action="add-source/text">
<input type="button" value="+ Photo" data-ica-action="add-source/image">
<input type="button" value="+ Audio Recording & Transcript" data-ica-action="add-source/audio">
<input type="button" value="+ Video Clip" data-ica-action="add-source/video">
</section>
</section>
<section class="publisher-published-container" data-ica-jointsource-filter="published">
<h3 class="color-primary">Danger Zone</h3>
<input type="button" class="color-primary" value="Delete this Meta-Conversation" data-ica-action="unpublish">
</section>
</section>
</div>
</template>
<template id="template-publisher-textsource">
<article class="card publisher-source publisher-textsource">
<header class="topbar-container">
<div class="topbar">
<h4 class="topbar-title">Plain Text</h4>
<nav>
<ul>
<li><a data-ica-action="remove-source">Remove</a></li>
</ul>
</nav>
</div>
</header>
<section class="text source-container" data-ica-source-content></section>
</article>
</template>
<template id="template-publisher-imagesource">
<article class="card publisher-source publisher-imagesource">
<header class="topbar-container">
<div class="topbar">
<h4 class="topbar-title">Image</h4>
<nav>
<ul>
<li><a data-ica-action="select-file">Select</a></li>
<li><a data-ica-action="remove-source">Remove</a></li>
</ul>
</nav>
</div>
</header>
<section class="source-container">
<input type="file" data-ica-source-content accept="image/*" hidden>
<img class="image">
</section>
</article>
</template>
<template id="template-publisher-audiosource">
<article class="card publisher-source publisher-audiosource">
<header class="topbar-container">
<div class="topbar">
<h4 class="topbar-title">Audio</h4>
<nav>
<ul>
<li><a data-ica-action="select-file">Select</a></li>
<li><a data-ica-action="remove-source">Remove</a></li>
</ul>
</nav>
</div>
</header>
<section class="source-container">
<input type="file" data-ica-source-content="0" accept="audio/*" hidden>
<audio class="player" controls></audio>
<div class="text" data-ica-source-content="1"></div>
</section>
</article>
</template>
<template id="template-publisher-videosource">
<article class="card publisher-source publisher-videosource">
<header class="topbar-container">
<div class="topbar">
<h4 class="topbar-title">Video</h4>
<nav>
<ul>
<li><a data-ica-action="select-file">Select</a></li>
<li><a data-ica-action="remove-source">Remove</a></li>
</ul>
</nav>
</div>
</header>
<section class="source-container">
<input type="file" data-ica-source-content="0" accept="video/*" hidden>
<video class="player" controls></video>
</section>
</article>
</template>
<!-- Template: Articles -->
<template id="template-map-article-conversation">
<div class="article-container" data-ica-view>
<div class="article" data-ica-width-multiple="300">
<article class="jointsource conversation"></article>
<h3>Responses</h3>
<div class="responses"></div>
<div class="spinner"></div>
</div>
</div>
</template>
<template id="template-map-conversation">
<article class="jointsource conversation">
<section class="card source meta">
<section class="jointsource-backdrop" hidden>
<div class="jointsource-backdrop-image"></div>
</section>
<section class="jointsource-meta">
<h2 data-ica-jointsource-meta-predicate="title" data-ica-jointsource-meta="title"></h2>
<p data-ica-jointsource-meta-predicate="region" data-ica-jointsource-meta="region"></p>
<div data-ica-jointsource-meta-predicate="intro" data-ica-jointsource-meta="intro"></div>
<div data-ica-jointsource-meta-predicate="others">
<h3>Other reflections</h3>
<div data-ica-jointsource-meta="others"></div>
</div>
<div data-ica-jointsource-meta-predicate="participants">
<h3>Participants</h3>
<div data-ica-jointsource-meta="participants" data-ica-format="tokens"></div>
</div>
<div data-ica-jointsource-meta-predicate="themes">
<h3>Themes</h3>
<div data-ica-jointsource-meta="themes" data-ica-format="tokens"></div>
</div>
</section>
<section class="jointsource-control">
<a data-ica-action="edit-jointsource">Edit Conversation</a>
</section>
</section>
<h3 class="sources-title">Media</h3>
<section class="sources"></section>
</article>
</template>
<template id="template-map-article-discussion">
<div class="article-container" data-ica-view>
<div class="article" data-ica-width-multiple="300">
<article class="jointsource discussion"></article>
<h3>Thread</h3>
<div class="thread"></div>
<div class="spinner"></div>
</div>
</div>
</template>
<template id="template-map-discussion">
<article class="jointsource discussion">
<section class="card source meta">
<section class="jointsource-meta">
<h2 data-ica-jointsource-predicate="title" data-ica-jointsource="title"></h2>
<div data-ica-jointsource-predicate="intro" data-ica-jointsource="intro"></div>
</section>
<section class="jointsource-control">
<a data-ica-action="edit-jointsource">Edit Meta-Conversation</a>
</section>
</section>
<h3 class="sources-title">Media</h3>
<section class="sources"></section>
</article>
</template>
<template id="template-map-response">
<article class="card response">
<section class="response-nav">
<section class="response-meta">
<canvas class="response-author-identicon" width="64" height="64"></canvas>
<div>
<div class="response-status-container">
<span class="response-author" data-ica-response-author="name"></span>
<span class="response-status"></span>
</div>
<span class="response-timestamp-authored" data-ica-response-timestamp="authored"></span>
</div>
</section>
<div class="response-control">
<a data-ica-action="edit-response">Edit</a>
<a data-ica-action="publish-response">Publish</a>
<a data-ica-action="unpublish-response">Unpublish</a>
<a data-ica-action="discard-edit-response">Discard Changes</a>
</div>
</section>
<section class="text response-message"></section>
<section class="response-extra">
<div class="response-extra-hint-container">
<h4 class="response-extra-hint">Type # or paste a link to mention an article... Try #22 for <q>Launching Many-to-Many</q></h4>
</div>
<div class="response-referees-container">
<div class="response-extra-header">
<h4>Found in this post</h4>
</div>
<div class="explore mini response-referees"></div>
</div>
<div class="response-referees-suggestions-container">
<div class="response-extra-header">
<h4>Hidden</h4>
</div>
<div class="explore mini response-referees-suggestions"></div>
</div>
</section>
</article>
</template>
<template id="template-map-textsource">
<div class="card source textsource">
<section class="text"></section>
</div>
</template>
<template id="template-map-imagesource">
<div class="card source imagesource">
<section class="source-image">
<img data-ica-content>
</section>
</div>
</template>
<template id="template-map-audiosource">
<div class="card source audiosource">
<audio class="player" controls>
<source data-ica-content="0"></source>
</audio>
<section class="text" data-ica-content="1"></section>
<section class="source-control">
<div class="flex-space"></div>
<a data-ica-content="0" target="_blank"></a>
</section>
</div>
</template>
<template id="template-map-videosource">
<div class="card source videosource">
<video class="player" controls>
<source data-ica-content="0"></source>
</video>
<section class="source-control">
<div class="flex-space"></div>
<a data-ica-content="0" target="_blank"></a>
</section>
</div>
</template>
<!-- Template: Tokens -->
<template id="template-tokens">
<div class="tokens"></div>
</template>
<template id="template-token">
<div class="token">
<span data-ica-token></span>
</div>
</template>
<template id="template-tokens-editable">
<div class="tokens input"></div>
</template>
<template id="template-token-editable">
<div class="token">
<span data-ica-token></span>
<a class="token-control" data-ica-action="remove-token">-</a>
</div>
</template>
<template id="template-token-suggestion">
<div class="token">
<span data-ica-token></span>
<a class="token-control" data-ica-action="add-token">+</a>
</div>
</template>
<!-- Template: Image -->
<template id="template-image">
<div class="image">
<img class="image-view">
</div>
</template>
<!-- Template: Notifications -->
<template id="template-notification-basic">
<div class="notification">
<h2 data-ica-notification="title"></h2>
<p data-ica-notification="message"></p>
</div>
</template>
<template id="template-notification-progress">
<div class="notification">
<h2 data-ica-notification="title"></h2>
<div class="meter"><div class="meter-bar" style="width: 0%;"></div></div>
</div>
</template>
<!-- Template: Prompts -->
<template id="template-prompt-action">
<input class="action" type="button">
</template>
<template id="template-prompt-basic">
<div class="prompt">
<div class="prompt-card">
<section class="prompt-container">
<h2 data-ica-prompt="title"></h2>
<p data-ica-prompt="message"></p>
<section class="actions">
</section>
</section>
</div>
</div>
</template>
</div>
<!-- Begin main -->
<header class="topbar-container app-header">
<div class="topbar" data-ica-width-multiple="300">
<div class="topbar-title-complex">
<h1 class="title">Many-to-Many</h1>
<p class="subtitle">Rethinking the Ethnographic Archive</p>
</div>
<nav>
<ul>
<li><a href="/conversations" data-ica-for-view="conversations">Explore Conversations</a></li>
<li><a href="/discussions" data-ica-for-view="discussions">Meta-Conversation</a></li>
<li><a href="/search" data-ica-for-view="search">Search</a></li>
<li><a href="/conversations/new" data-ica-for-view="publisher">Share (a) Conversation</a></li>
<li><a href="/discussions/new" data-ica-for-view="publisher-discussion">Start a Meta-Conversation</a></li>
<li><a href="/account" data-ica-for-view="account">Log in</a></li>
<li><a href="/about" data-ica-for-view="about">About</a></li>
</ul>
</nav>
</div>
</header>
<section class="app-view">
<div class="conversations" data-ica-view="conversations" data-ica-width-multiple="300" hidden>
<div class="explore"></div>
<div class="spinner"></div>
</div>
<div class="discussions" data-ica-view="discussions" data-ica-width-multiple="300" hidden>
<div class="explore"></div>
<div class="spinner"></div>
</div>
<div class="search" data-ica-view="search" data-ica-width-multiple="300" hidden>
<div class="search-control form">
<section>
<label>Search by Keyword</label>
<input data-ica-conversation-query-meta="title" type="text" placeholder="Keywords">
</section>
<section>
<label>Search by Themes (under construction)</label>
<input data-ica-conversation-query-meta="themes" type="text" placeholder="Themes" data-ica-format="tokens">
</section>
<section>
<label>Search by Locations (under construction)</label>
<input data-ica-conversation-query-meta="locations" type="text" placeholder="Locations">
</section>
</div>
<div class="explore"></div>
<div class="spinner"></div>
<div class="search-by-algolia"></div>
</div>
<div class="account" data-ica-view="account" data-ica-width-multiple="300" hidden>
<h2>You're logged in</h2>
<p>This section is still under implementation... To update your info, please navigate to <a href="https://accounts.mintkit.net" target="_blank"><em>accounts.mintkit.net</em></a></p>
</div>
<div class="about-container" data-ica-view="about" hidden>
<div class="about" data-ica-width-multiple="300">
<h2>About Many-to-Many</h2>
<p>Many-to-Many is an interactive archive of conversations recorded around the world. We invite ethnographers, their interlocutors, and the general public to share conversations in any form and medium: from disputes, to conversations with non-human participants, to monologues, to conversations grounded in silence, not speech. In doing so we ask, what is a conversation in the first place?</p>
<p>Today the ethics of digital conversation are uncertain. Digital <q>security</q> and <q>freedom of speech</q> are contested concepts whose deployment can lead to violation or violence. By interrogating assumptions about what kinds of material can and should be archived, when, where, and by whom, we hope to collectively forge an ethics of digital circulation and collaboration.</p>
<p>On the <q>Meta-Conversation</q> page, we discuss questions of shared concern — about fieldwork, ethics, mistakes, failures. We can reflect on how we decide whether or not to share those mistakes, failures, unfinished fragments with others on digital spaces such as this one. Finally, we can interrogate the theoretical commitments that get coded into digital infrastructures, including this one, and what, if anything, to do about them.</p>
<p>What you (anyone!) can do on Many-to-Many:</p>
<ul>
<li>Share conversations (e.g. recordings, images, fragments, interviews, calls to action, complete projects) to get feedback and start meta-conversation.</li>
<li>Remediate your work that exists elsewhere.</li>
<li>Discuss the messiness that is fieldwork and its mediation.</li>
<li>Find collaborators and interlocutors you might not otherwise have met.</li>
</ul>
<p>For another kind of introduction, watch <a href="https://drive.google.com/file/d/1moYSk-m1yOsym6VUM-0K9bjBblFdBKdg/view">this global meta-conversation</a>.</p>
<p>Many-to-Many is supported by the <a href="http://bcnm.berkeley.edu" target="_blank">Berkeley Center for New Media (BCNM)</a> and <a href="http://digitalhumanities.berkeley.edu" target="_blank">Digital Humanities at Berkeley</a>.</p>
<h2>Meet the Team</h2>
<div class="team">
<div class="team-member">
<img class="member-img" src="/assets/juliana.jpg">
<h3>Juliana Friend</h3>
<p class="member-role">Creator and Conversation Analyst</p>
<p>Juliana is a doctoral student in anthropology at UC Berkeley. Her dissertation explores how new media transform sex-education and postcolonial statecraft in Senegal. She draws on her experiences in radio and print journalism to explore modes of dialogic storytelling in ethnographic practice.</p>
</div>
<div class="team-member">
<img class="member-img" src="/assets/seth.jpg">
<h3><a href="https://mintkit.net" target="_blank">Seth Lu</a></h3>
<p class="member-role">Programmer</p>
<p>Seth is a student from the College of Letters & Science at University of California, Berkeley. He currently freelances in coding and design, with an interest in creating interactive experiences. He is responsible for the Many-to-Many website programming.</p>
</div>
<div class="team-member">
<img class="member-img" src="/assets/nicholas.jpg">
<h3><a href="http://demonchaux.com" target="_blank">Nicholas de Monchaux</a></h3>
<p class="member-role">Advisor</p>
<p>Nicholas is Associate Professor of Architecture and Urban Design and Director of the Berkeley Center for New Media. The work of his Oakland-based design practice has been exhibited widely, including at the Venice Architecture Biennale, the Lisbon Architecture Triennial, SFMOMA, and the Chicago MCA.</p>
</div>
</div>
<p style="text-align: center;">For inquiries, please contact us at <a href="mailto:jgfriend@berkeley.edu">jgfriend@berkeley.edu</a>.</p>
<h2>Contributors’ Rights & Terms of Use</h2>
<h3>Licenses</h3>
<p>Contributors to this site (including, users, authors, and commenters) contribute and post content under a <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">Creative Commons BY-NC-ND 4.0</a> license. This allows others to download this content and share it for non-commercial purposes as long as they make attribution to the content’s author(s). Others are prohibited from making derivatives of the content (e.g. remixing, excerpting, separating audio from transcript, etc) or using it for commercial purposes.</p>
<h3>Code of Conduct</h3>
<p>This interactive archive flourishes when readers and contributors feel welcome and safe. You agree not to use language that abuses or discriminates on the basis of race, religion, nationality, gender, sexual preference, age, region, disability, etc.</p>
<p>This community respects rights to privacy and publicity, and is sensitive to variations in cultural standards and norms. If you feel that any User-posted Content violates your rights in this or other regards, please contact us at <a href="mailto:jgfriend@berkeley.edu">jgfriend@berkeley.edu</a>.</p>
<h3>Non-Infringement</h3>
<p>Contributors acknowledge and agree that you are solely responsible for all User-posted Content that you make available through Many-to-Many. Accordingly, you represent that: (i) you have any rights, licenses, consents and releases that are necessary to grant to Many-to-Many the license set forth above; and (ii) that the User-posted Content you contribute does not infringe, misappropriate or violate a third party’s patent, copyright, trademark, trade secret, moral rights or other intellectual property rights, or rights of publicity or privacy, or result in the violation of any applicable law or regulation.</p>
<h2>Open Source</h2>
<p>This website is also an open source project! If you are interested in contributing to enhance the experience of our community, or if you may have encountered issues with the website, please visit <a href="https://github.com/many-to-many">https://github.com/many-to-many</a>.</p>
</div>
</div>
</section>
</body>
</html>
|
many-to-many/ica
|
app/index.html
|
HTML
|
mit
| 28,050
|
var mongo = require('mongodb');
var fs = require('fs');
var path = require("path");
var Server = mongo.Server,
Db = mongo.Db,
BSON = mongo.BSONPure;
var server = new Server('localhost', 27017, {auto_reconnect: true});
db = new Db('vivudb', server);
function getExtPart(str){
var n=str.split(".");
return n[n.length - 1];
}
function getNamePart(str){
var n=str.split(".");
return n[0];
}
function removeSubstring(str,strrm){
var newstr = str.replace(strrm,"");
return newstr;
}
exports.uploadAudio = function(req, res){
var addInbox = function(inbox) {
console.log("Starting add Inbox: ");
console.log(inbox);
console.log(inbox.UserID);
var gcm = new GLOBAL.GCMessage;
var saveInbox = function( ){
db.collection('inboxs', function(err, collection) {
collection.insert(inbox, {safe:true}, function(err, result) {
if (err) {
res.send({'error':'An error has occurred'});
}
else{
console.log('Success: ' + JSON.stringify(result[0]));
res.send(result[0]);
}
});
}); // end Inbox collection
}
var findDeviceByUserIdAndSend = function (id) {
console.log("findDeviceByUserIdAndSend");
console.log('Retrieving all devices by user id: ' + id);
// get all device by userId
db.collection('devices', function(err, collection) {
collection.find({'UserID':id.toString()}).toArray(function(err, items) {
var ltsDevicesIds = [];
for(var i = 0;i <items.length;i++){
ltsDevicesIds.push(items[i].DeviceID);
}
gcm.addRegIdList(ltsDevicesIds);
gcm.addMessageData("inbox",inbox);
gcm.send( );
saveInbox( );
}); // end device collection
});
}
// step 2.1
var increaseNoInbox = function (noCfs) {
// increase Inbox Id
console.log("increaseNoInbox");
inbox.InboxID = ++noCfs;
findDeviceByUserIdAndSend(inbox.UserID);
}
// step 2.2
var userUnknown = function( ) {
console.log("userUnknown");
res.send({'unknown':'There are no user in this system'});
}
// step 1
var getNoCfsByUserId = function(userid){
try{
console.log("getNoCfsByUserId: "+ userid);
db.collection('users', function(err, users) {
users.findOne({'UserID':userid}, function(err, item) {
if(item != null){
item.noCfs++;
users.save(item);
increaseNoInbox(item.noCfs);
}
else{
userUnknown();
}
});
});
}
catch(e){
console.log("Error at getNoCfsByUserId");
}
}
getNoCfsByUserId(inbox.UserID);
}// end add inbox function
var inbox = JSON.parse(req.body.json);
console.log("json: ");
console.log(inbox);
//update Inbox
var updateInbox = function(seqNo){
try{
var link = GLOBAL.HOSTNAME + "/cfs/audio/"+seqNo;
inbox.ContentVoice = link;
addInbox(inbox);
}
catch(e){
console.log("error in updateInbox in uploadAudio ");
res.send({error:"Error from server"});
}
}
var saveAudio = function(seqNo){
console.log('Adding New Audio');
staticDir = removeSubstring(GLOBAL.__dirname,"/vivuserver/trunk");
//var audioDir = GLOBAL.__dirname + "/public/audio/";
var audioDir = staticDir + "/staticserver/public/audio/";
console.log("audio Dir: "+audioDir);
//var fileName = req.files.source.name;
var fileName = seqNo+"."+getExtPart(req.files.source.name);
console.log("source: "+req.files.source.path);
console.log("dest: "+audioDir + fileName);
fs.rename(req.files.source.path,
audioDir + fileName,
function(err){
if(err != null){
console.log("Server cant rename");
console.log(err);
res.send({error:"Error from server"});
}
else{
console.log("Success rename");
var soundlib = new GLOBAL.Sound;
var sourcepart = getNamePart(fileName);
soundlib.convertWavToMp3(audioDir + fileName,audioDir + sourcepart+".mp3",function( ){
fs.unlink(audioDir + fileName,function(err){
console.log("Error delete file: " + err);
});
});
updateInbox(seqNo);
res.send("Ok");
}
}
);
}
var insertSequence = function( ){
var sequences = {sequenceNo:1};
db.collection('sequences', function(err, collection) {
collection.insert(sequences, {safe:true}, function(err, result) {
if (err) {
console.log("Error when insert first sequence");
res.send({'error':'An error has occurred'});
}
else {
console.log('Success: ' + JSON.stringify(result[0]));
saveAudio(result[0].sequenceNo);
}
});
});
}
var updateSequence = function( ){
db.collection('sequences', function(err, sequences) {
sequences.findOne({}, function(err, item) {
item.sequenceNo++;
sequences.save(item);
saveAudio(item.sequenceNo);
});
});
}
db.collection('sequences', function(err, sequences) {
sequences.find().toArray(function(err, items) {
if(items.length == 0){
insertSequence( );
}
else{
updateSequence( );
}
});
});
}
|
tonycaovn/vivuserver
|
services/audio.js
|
JavaScript
|
mit
| 5,449
|
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
/* Body style, for the entire document */
body {
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1 {
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2 {
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3 {
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
h4 {
font-weight: normal;
font-size: 12pt;
margin: 0;
padding: 0 0 0 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a {
color: #1382CE;
}
/* Paragraph text (for longer informational messages) */
p {
font-size: 10pt;
}
/* Table styles */
table {
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th {
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td {
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
.NoBreakingChanges {
color: darkgreen;
font-weight:bold;
}
.FewBreakingChanges {
color: orange;
font-weight:bold;
}
.ManyBreakingChanges {
color: red;
font-weight:bold;
}
.BreakDetails {
margin-left: 30px;
}
.CompatMessage {
font-style: italic;
font-size: 10pt;
}
.GoodMessage {
color: darkgreen;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink {
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover {
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered {
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell {
width: 100%;
}
/* Padding around the content after the h1 */
#content {
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table {
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table {
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded {
min-width: 18px;
min-height: 18px;
background-repeat: no-repeat;
background-position: center;
}
/* Success icon encoded */
.IconSuccessEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+eMgQ77v3Xf3Pe51YKGqqisAEwCR1TIAsiAIblSo6xrdHeJR85Xle3mdmCQKb0PsfqyxxzM8K15HZADl/H5+sHpZwYfxyRjTs+kWwKBx8yoHd2mRiuzF8mkJniWH/13u3Fjrs/EdhsdDFHGB/DLXEJBDLh1MWPAhPo1BLB4WX5yQywHR+m3tVe/t97D52CB/ziG0nIgD/qDuYg8WuCcVZ2YGwlJ3YDugkpR/VNcAEx6GEKhERSr71FuO4YCM4XBdwKvecjIlkSnsO0Hyp/GxSeJAdzBKzpOtnPwyyiPdAZhpZptT04tU+zk7s8czeges//s5C5+CwqrR4/gw+AAAAABJRU5ErkJggg==);
}
/* Information icon encoded */
.IconInfoEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style>
</head>
<body>
<h1 _locid="PortabilityReport">.NET Portability Report</h1>
<div id="content">
<div id="submissionId" style="font-size:8pt;">
<p>
<i>
Submission Id
ee12e6f8-fd3b-4cbc-b7b6-47377785fad4
</i>
</p>
</div>
<h2 _locid="SummaryTitle">
<a name="Portability Summary"></a>Portability Summary
</h2>
<div id="summary">
<table>
<tbody>
<tr>
<th>Assembly</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
</tr>
<tr>
<td><strong><a href="#Tavisca.TravelNxt.Caching.Client">Tavisca.TravelNxt.Caching.Client</a></strong></td>
<td class="text-center">100.00 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">100.00 %</td>
</tr>
</tbody>
</table>
</div>
<div id="details">
</div>
</div>
</body>
</html>
|
kuhlenh/port-to-core
|
Reports/ta/tavisca.travelnxt.activity.lib.1.4.15.55/Tavisca.TravelNxt.Caching.Client-net40.html
|
HTML
|
mit
| 9,679
|
# Guardia
Javascript library for the Specification and Enforcement of Security Policies at application level.
## Description
- TODO
## Install
GUARDIA depends on some external libraries. Make sure you include these libraries before guardia:
- trait.js @ npm
## Usage
Guardia is an internal DSL as such you need an entry point to the features offered by the language. The next code snippet shows how to do it.
```javascript
'use strict';
const G = require('./guardia');
```
Guardia's API comprises a set of properties and a set of combinators that allows to compose those properties in more complex ones.
Construct | Description
-----------------------------------------|-----------------------------------------------------
Allow(arr : Array<String>) => TBase | Allow the execution of the supplied properties
Deny(arr : Array<String>) => TBase | Deny the execution of the supplied properties
Not(p: TBase) => TBase | Negates the result of the policy given as parameter
And(pArr: Array<TBase>) => TBase | Perform logical AND using policies given as parameters
Or(pArr: Array<TBase>) => TBase | Perform logical OR using policies given as parameters
ParamAt((...ps)=> Boolean, pIdx: Number, arr : Array<Any>) => TBase | Apply a function to one parameter of the actual execution
StateFnParam((...ps)=> Boolean,s: String, arr : Array<Any>) => TBase | Apply a function to one state during an execution step
getVType(idx: Number, fn : Function) => Object | Returns an object in the following way ```fn(params[idx])```, where params is injected by the enforcement mechanism.
### Policy Specification
To declare a policy you should make a property using the constructs provided by Guardia. For example, let say that the execution of **alert()** is forbidden in or application. For this we can use **Deny** or a combination of **Not(Allow(...))**.
```javascript
const denyAlert = G.Deny(['alert']);
const denyAlert2 = G.Not(G.Allow(['alert']));
```
Declaring a property is not enough, you need to deploy in the object that you want to protect. To do that you need to use `installPolicy(policyObj)` method. This method receive a policy configuration object that contains four fields. `installPolicy(policyObj)` returns an object that contains `on(target)` method that receive the object that you want to protect.
```javascript
const policyObj = {
whenRead : [denyAlert]
//whenWrite : [..]
//readListeners : [..]
//writeListeners : [..]
}
protectedTarget = G.installPolicy(policyObject).on(target);
```
### Allow
```javascript
const allowedProperties = G.Allow(['prop1', 'prop2', 'method1']);
```
### Deny
```javascript
const forbiddenProperties = G.Deny(['private1', 'private2', 'privateMethod1']);
```
### Not
```javascript
const forbiddenProperties = G.Not(G.Allow((['private1', 'private2', 'privateMethod1']));
```
### ParamAt
```javascript
const noIframeCreation = G.Not(G.And(G.Allow(['createElement']),G.ParamAt(equals, G.getVType(0, String),'iframe')));
```
### Example # 1
Te first example aims to prevent the creation of boxes like ```alert()```.
```javascript
const noAlert = G.Deny(['alert','prompt', 'confirm']);
G.installPolicy({
whenRead:[noAlert]
}).on(window);
//then try to use alert method
window.alert('UPS!');
```
```Deny([...])``` have the same behavior as ```Not(Allow([...]))```. The next example how to use ```Allow([...])``` for white list access to properties or methods of the target object.
```javascript
let account = {
amount: 1000,
balance(){
return this.amount;
},
deposit(x){
this.amount = this.amount + x;
}
}
const justAllow = G.Allow(['balance','deposit']);
const noOverride = G.Not(G.Allow(['amount','balance','deposit']));
account = G.installPolicy({
whenRead: [justAllow],
whenWrite:[noOverride]
}).on(account);
protectedAccount.deposit(120);
protectedAccount.balance();
protectedAccount.amount = 1234; // throws an exception
console.log(protectedAccount.amount); // throws exception
```
In the previous example we are able to protect the ```account``` object. But we desire to prevent negative values flowing to ```deposit()```. For this knd of behavior GUARDIA provide us with ```ParamAt()```.
```javascript
const ge = (a,b) => { return a > b };
const justAllow = G.Or(G.Allow(['balance']),
G.And(G.Allow(['deposit']),G.ParamAt(ge,G.getVType(0,Number),0)));
const noOverride = G.Not(G.Allow(['amount','balance','deposit']));
account = G.installPolicy({
whenRead: [justAllow],
whenWrite:[noOverride]
}).on(account);
account.deposit(-12); // throws an execption
```
|
scull06/guardia
|
README.md
|
Markdown
|
mit
| 4,668
|
var gulp = require('gulp');
var connect = require('gulp-connect');
var wiredep = require('wiredep').stream;
var $ = require('gulp-load-plugins')();
var del = require('del');
var jsReporter = require('jshint-stylish');
var annotateAdfPlugin = require('ng-annotate-adf-plugin');
var pkg = require('./package.json');
var annotateOptions = {
plugin: [
annotateAdfPlugin
]
};
var templateOptions = {
root: '{widgetsPath}/deviceInventory/src',
module: 'adf.widget.deviceInventory'
};
/** lint **/
gulp.task('csslint', function(){
gulp.src('src/**/*.css')
.pipe($.csslint())
.pipe($.csslint.reporter());
});
gulp.task('jslint', function(){
gulp.src('src/**/*.js')
.pipe($.jshint())
.pipe($.jshint.reporter(jsReporter));
});
gulp.task('lint', ['csslint', 'jslint']);
/** serve **/
gulp.task('templates', function(){
return gulp.src('src/**/*.html')
.pipe($.angularTemplatecache('templates.tpl.js', templateOptions))
.pipe(gulp.dest('.tmp/dist'));
});
gulp.task('sample', ['templates'], function(){
var files = gulp.src(['src/**/*.js', 'src/**/*.css', 'src/**/*.less', '.tmp/dist/*.js'])
.pipe($.if('*.js', $.angularFilesort()));
gulp.src('sample/index.html')
.pipe(wiredep({
directory: './components/',
bowerJson: require('./bower.json'),
devDependencies: true,
dependencies: true
}))
.pipe($.inject(files))
.pipe(gulp.dest('.tmp/dist'))
.pipe(connect.reload());
});
gulp.task('watch', function(){
gulp.watch(['src/**'], ['sample']);
});
gulp.task('serve', ['watch', 'sample'], function(){
connect.server({
root: ['.tmp/dist', '.'],
livereload: true,
port: 9002
});
});
/** build **/
gulp.task('css', function(){
gulp.src(['src/**/*.css', 'src/**/*.less'])
.pipe($.if('*.less', $.less()))
.pipe($.concat(pkg.name + '.css'))
.pipe(gulp.dest('dist'))
.pipe($.rename(pkg.name + '.min.css'))
.pipe($.minifyCss())
.pipe(gulp.dest('dist'));
});
gulp.task('js', function() {
gulp.src(['src/**/*.js', 'src/**/*.html'])
.pipe($.if('*.html', $.minifyHtml()))
.pipe($.if('*.html', $.angularTemplatecache(pkg.name + '.tpl.js', templateOptions)))
.pipe($.angularFilesort())
.pipe($.if('*.js', $.replace(/'use strict';/g, '')))
.pipe($.concat(pkg.name + '.js'))
.pipe($.headerfooter('(function(window, undefined) {\'use strict\';\n', '})(window);'))
.pipe($.ngAnnotate(annotateOptions))
.pipe(gulp.dest('dist'))
.pipe($.rename(pkg.name + '.min.js'))
.pipe($.uglify())
.pipe(gulp.dest('dist'));
});
/** clean **/
gulp.task('clean', function(cb){
del(['dist', '.tmp'], cb);
});
gulp.task('default', ['css', 'js']);
|
reshak/angular-dashboard-framework
|
sample/widgets/deviceInventory/gulpfile.js
|
JavaScript
|
mit
| 2,787
|
from rest_framework import serializers
from rest_auth.serializers import UserDetailsSerializer
class UserSerializer(UserDetailsSerializer):
website = serializers.URLField(source="userprofile.website", allow_blank=True, required=False)
about = serializers.CharField(source="userprofile.about", allow_blank=True, required=False)
class Meta(UserDetailsSerializer.Meta):
fields = UserDetailsSerializer.Meta.fields + ('website', 'about')
def update(self, instance, validated_data):
profile_data = validated_data.pop('userprofile', {})
website = profile_data.get('website')
about = profile_data.get('about')
instance = super(UserSerializer, self).update(instance, validated_data)
# get and update user profile
profile = instance.userprofile
if profile_data:
if website:
profile.website = website
if about:
profile.about = about
profile.save()
return instance
|
ZachLiuGIS/reactjs-auth-django-rest
|
django_backend/user_profile/serializers.py
|
Python
|
mit
| 1,016
|
/** @license React vundefined
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.React = {}));
}(this, (function (exports) { 'use strict';
var ReactVersion = '18.0.0-bdd6d5064-20211001';
// ATTENTION
// When adding new symbols to this file,
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
// nor polyfill, then a plain number is used for performance.
var REACT_ELEMENT_TYPE = 0xeac7;
var REACT_PORTAL_TYPE = 0xeaca;
exports.Fragment = 0xeacb;
exports.StrictMode = 0xeacc;
exports.Profiler = 0xead2;
var REACT_PROVIDER_TYPE = 0xeacd;
var REACT_CONTEXT_TYPE = 0xeace;
var REACT_FORWARD_REF_TYPE = 0xead0;
exports.Suspense = 0xead1;
exports.SuspenseList = 0xead8;
var REACT_MEMO_TYPE = 0xead3;
var REACT_LAZY_TYPE = 0xead4;
var REACT_SCOPE_TYPE = 0xead7;
var REACT_OPAQUE_ID_TYPE = 0xeae0;
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
var REACT_OFFSCREEN_TYPE = 0xeae2;
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
var REACT_CACHE_TYPE = 0xeae4;
if (typeof Symbol === 'function' && Symbol.for) {
var symbolFor = Symbol.for;
REACT_ELEMENT_TYPE = symbolFor('react.element');
REACT_PORTAL_TYPE = symbolFor('react.portal');
exports.Fragment = symbolFor('react.fragment');
exports.StrictMode = symbolFor('react.strict_mode');
exports.Profiler = symbolFor('react.profiler');
REACT_PROVIDER_TYPE = symbolFor('react.provider');
REACT_CONTEXT_TYPE = symbolFor('react.context');
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
exports.Suspense = symbolFor('react.suspense');
exports.SuspenseList = symbolFor('react.suspense_list');
REACT_MEMO_TYPE = symbolFor('react.memo');
REACT_LAZY_TYPE = symbolFor('react.lazy');
REACT_SCOPE_TYPE = symbolFor('react.scope');
REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
REACT_CACHE_TYPE = symbolFor('react.cache');
}
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator';
function getIteratorFn(maybeIterable) {
if (maybeIterable === null || typeof maybeIterable !== 'object') {
return null;
}
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
if (typeof maybeIterator === 'function') {
return maybeIterator;
}
return null;
}
var hasOwnProperty = Object.prototype.hasOwnProperty;
var _assign = function (to, from) {
for (var key in from) {
if (hasOwnProperty.call(from, key)) {
to[key] = from[key];
}
}
};
var assign = Object.assign || function (target, sources) {
if (target == null) {
throw new TypeError('Object.assign target cannot be null or undefined');
}
var to = Object(target);
for (var nextIndex = 1; nextIndex < arguments.length; nextIndex++) {
var nextSource = arguments[nextIndex];
if (nextSource != null) {
_assign(to, Object(nextSource));
}
}
return to;
};
/**
* Keeps track of the current dispatcher.
*/
var ReactCurrentDispatcher = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
};
/**
* Keeps track of the current batch's configuration such as how long an update
* should suspend for if it needs to.
*/
var ReactCurrentBatchConfig = {
transition: 0
};
{
ReactCurrentBatchConfig._updatedFibers = new Set();
}
var ReactCurrentActQueue = {
current: null,
// Our internal tests use a custom implementation of `act` that works by
// mocking the Scheduler package. Use this field to disable the `act` warning.
// TODO: Maybe the warning should be disabled by default, and then turned
// on at the testing frameworks layer? Instead of what we do now, which
// is check if a `jest` global is defined.
disableActWarning: false,
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
isBatchingLegacy: false,
didScheduleLegacyUpdate: false
};
/**
* Keeps track of the current owner.
*
* The current owner is the component who should own any components that are
* currently being constructed.
*/
var ReactCurrentOwner = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
};
var ReactDebugCurrentFrame = {};
var currentExtraStackFrame = null;
function setExtraStackFrame(stack) {
{
currentExtraStackFrame = stack;
}
}
{
ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {
{
currentExtraStackFrame = stack;
}
}; // Stack implementation injected by the current renderer.
ReactDebugCurrentFrame.getCurrentStack = null;
ReactDebugCurrentFrame.getStackAddendum = function () {
var stack = ''; // Add an extra top frame while an element is being validated
if (currentExtraStackFrame) {
stack += currentExtraStackFrame;
} // Delegate to the injected renderer-specific implementation
var impl = ReactDebugCurrentFrame.getCurrentStack;
if (impl) {
stack += impl() || '';
}
return stack;
};
}
var ReactSharedInternals = {
ReactCurrentDispatcher: ReactCurrentDispatcher,
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
ReactCurrentOwner: ReactCurrentOwner,
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
assign: assign
};
{
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
}
// by calls to these methods by a Babel plugin.
//
// In PROD (or in packages without access to React internals),
// they are left as they are instead.
function warn(format) {
{
{
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
printWarning('warn', format, args);
}
}
}
function error(format) {
{
{
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
args[_key2 - 1] = arguments[_key2];
}
printWarning('error', format, args);
}
}
}
function printWarning(level, format, args) {
// When changing this logic, you might want to also
// update consoleWithStackDev.www.js as well.
{
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
var stack = ReactDebugCurrentFrame.getStackAddendum();
if (stack !== '') {
format += '%s';
args = args.concat([stack]);
} // eslint-disable-next-line react-internal/safe-string-coercion
var argsWithFormat = args.map(function (item) {
return String(item);
}); // Careful: RN currently depends on this prefix
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
// breaks IE9: https://github.com/facebook/react/issues/13610
// eslint-disable-next-line react-internal/no-production-logging
Function.prototype.apply.call(console[level], console, argsWithFormat);
}
}
var didWarnStateUpdateForUnmountedComponent = {};
function warnNoop(publicInstance, callerName) {
{
var _constructor = publicInstance.constructor;
var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
var warningKey = componentName + "." + callerName;
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
return;
}
error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
}
}
/**
* This is the abstract API for an update queue.
*/
var ReactNoopUpdateQueue = {
/**
* Checks whether or not this composite component is mounted.
* @param {ReactClass} publicInstance The instance we want to test.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/
isMounted: function (publicInstance) {
return false;
},
/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate: function (publicInstance, callback, callerName) {
warnNoop(publicInstance, 'forceUpdate');
},
/**
* Replaces all of the state. Always use this or `setState` to mutate state.
* You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
warnNoop(publicInstance, 'replaceState');
},
/**
* Sets a subset of the state. This only exists because _pendingState is
* internal. This provides a merging strategy that is not available to deep
* properties which is confusing. TODO: Expose pendingState or don't use it
* during the merge.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialState Next partial state to be merged with state.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @internal
*/
enqueueSetState: function (publicInstance, partialState, callback, callerName) {
warnNoop(publicInstance, 'setState');
}
};
var emptyObject = {};
{
Object.freeze(emptyObject);
}
/**
* Base class helpers for the updating state of a component.
*/
function Component(props, context, updater) {
this.props = props;
this.context = context; // If a component has string refs, we will assign a different object later.
this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the
// renderer.
this.updater = updater || ReactNoopUpdateQueue;
}
Component.prototype.isReactComponent = {};
/**
* Sets a subset of the state. Always use this to mutate
* state. You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* There is no guarantee that calls to `setState` will run synchronously,
* as they may eventually be batched together. You can provide an optional
* callback that will be executed when the call to setState is actually
* completed.
*
* When a function is provided to setState, it will be called at some point in
* the future (not synchronously). It will be called with the up to date
* component arguments (state, props, context). These values can be different
* from this.* because your function may be called after receiveProps but before
* shouldComponentUpdate, and this new state, props, and context will not yet be
* assigned to this.
*
* @param {object|function} partialState Next partial state or function to
* produce next partial state to be merged with current state.
* @param {?function} callback Called after state is updated.
* @final
* @protected
*/
Component.prototype.setState = function (partialState, callback) {
if (typeof partialState !== 'object' && typeof partialState !== 'function' && partialState != null) {
throw Error( 'setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.' );
}
this.updater.enqueueSetState(this, partialState, callback, 'setState');
};
/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {?function} callback Called after update is complete.
* @final
* @protected
*/
Component.prototype.forceUpdate = function (callback) {
this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
};
/**
* Deprecated APIs. These APIs used to exist on classic React classes but since
* we would like to deprecate them, we're not going to move them over to this
* modern base class. Instead, we define a getter that warns if it's accessed.
*/
{
var deprecatedAPIs = {
isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
};
var defineDeprecationWarning = function (methodName, info) {
Object.defineProperty(Component.prototype, methodName, {
get: function () {
warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
return undefined;
}
});
};
for (var fnName in deprecatedAPIs) {
if (deprecatedAPIs.hasOwnProperty(fnName)) {
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
}
}
}
function ComponentDummy() {}
ComponentDummy.prototype = Component.prototype;
/**
* Convenience component with default shallow equality check for sCU.
*/
function PureComponent(props, context, updater) {
this.props = props;
this.context = context; // If a component has string refs, we will assign a different object later.
this.refs = emptyObject;
this.updater = updater || ReactNoopUpdateQueue;
}
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.
assign(pureComponentPrototype, Component.prototype);
pureComponentPrototype.isPureReactComponent = true;
// an immutable object with a single mutable value
function createRef() {
var refObject = {
current: null
};
{
Object.seal(refObject);
}
return refObject;
}
var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
function isArray(a) {
return isArrayImpl(a);
}
/*
* The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
* and Temporal.* types. See https://github.com/facebook/react/pull/22064.
*
* The functions in this module will throw an easier-to-understand,
* easier-to-debug exception with a clear errors message message explaining the
* problem. (Instead of a confusing exception thrown inside the implementation
* of the `value` object).
*/
// $FlowFixMe only called in DEV, so void return is not possible.
function typeName(value) {
{
// toStringTag is needed for namespaced types like Temporal.Instant
var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
return type;
}
} // $FlowFixMe only called in DEV, so void return is not possible.
function willCoercionThrow(value) {
{
if (value !== null && typeof value === 'object' && value.$$typeof === REACT_OPAQUE_ID_TYPE) {
// OpaqueID type is expected to throw, so React will handle it. Not sure if
// it's expected that string coercion will throw, but we'll assume it's OK.
// See https://github.com/facebook/react/issues/20127.
return;
}
try {
testStringCoercion(value);
return false;
} catch (e) {
return true;
}
}
}
function testStringCoercion(value) {
// If you ended up here by following an exception call stack, here's what's
// happened: you supplied an object or symbol value to React (as a prop, key,
// DOM attribute, CSS property, string ref, etc.) and when React tried to
// coerce it to a string using `'' + value`, an exception was thrown.
//
// The most common types that will cause this exception are `Symbol` instances
// and Temporal objects like `Temporal.Instant`. But any object that has a
// `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this
// exception. (Library authors do this to prevent users from using built-in
// numeric operators like `+` or comparison operators like `>=` because custom
// methods are needed to perform accurate arithmetic or comparison.)
//
// To fix the problem, coerce this object or symbol value to a string before
// passing it to React. The most reliable way is usually `String(value)`.
//
// To find which value is throwing, check the browser or debugger console.
// Before this exception was thrown, there should be `console.error` output
// that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the
// problem and how that type was used: key, atrribute, input value prop, etc.
// In most cases, this console output also shows the component and its
// ancestor components where the exception happened.
//
// eslint-disable-next-line react-internal/safe-string-coercion
return '' + value;
}
function checkKeyStringCoercion(value) {
{
if (willCoercionThrow(value)) {
error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
}
}
}
function getWrappedName(outerType, innerType, wrapperName) {
var displayName = outerType.displayName;
if (displayName) {
return displayName;
}
var functionName = innerType.displayName || innerType.name || '';
return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
} // Keep in sync with react-reconciler/getComponentNameFromFiber
function getContextName(type) {
return type.displayName || 'Context';
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.
function getComponentNameFromType(type) {
if (type == null) {
// Host root, text node or just invalid type.
return null;
}
{
if (typeof type.tag === 'number') {
error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
}
}
if (typeof type === 'function') {
return type.displayName || type.name || null;
}
if (typeof type === 'string') {
return type;
}
switch (type) {
case exports.Fragment:
return 'Fragment';
case REACT_PORTAL_TYPE:
return 'Portal';
case exports.Profiler:
return 'Profiler';
case exports.StrictMode:
return 'StrictMode';
case exports.Suspense:
return 'Suspense';
case exports.SuspenseList:
return 'SuspenseList';
case REACT_CACHE_TYPE:
return 'Cache';
}
if (typeof type === 'object') {
switch (type.$$typeof) {
case REACT_CONTEXT_TYPE:
var context = type;
return getContextName(context) + '.Consumer';
case REACT_PROVIDER_TYPE:
var provider = type;
return getContextName(provider._context) + '.Provider';
case REACT_FORWARD_REF_TYPE:
return getWrappedName(type, type.render, 'ForwardRef');
case REACT_MEMO_TYPE:
var outerName = type.displayName || null;
if (outerName !== null) {
return outerName;
}
return getComponentNameFromType(type.type) || 'Memo';
case REACT_LAZY_TYPE:
{
var lazyComponent = type;
var payload = lazyComponent._payload;
var init = lazyComponent._init;
try {
return getComponentNameFromType(init(payload));
} catch (x) {
return null;
}
}
}
}
return null;
}
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
var RESERVED_PROPS = {
key: true,
ref: true,
__self: true,
__source: true
};
var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
{
didWarnAboutStringRefs = {};
}
function hasValidRef(config) {
{
if (hasOwnProperty$1.call(config, 'ref')) {
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
if (getter && getter.isReactWarning) {
return false;
}
}
}
return config.ref !== undefined;
}
function hasValidKey(config) {
{
if (hasOwnProperty$1.call(config, 'key')) {
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
if (getter && getter.isReactWarning) {
return false;
}
}
}
return config.key !== undefined;
}
function defineKeyPropWarningGetter(props, displayName) {
var warnAboutAccessingKey = function () {
{
if (!specialPropKeyWarningShown) {
specialPropKeyWarningShown = true;
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
}
}
};
warnAboutAccessingKey.isReactWarning = true;
Object.defineProperty(props, 'key', {
get: warnAboutAccessingKey,
configurable: true
});
}
function defineRefPropWarningGetter(props, displayName) {
var warnAboutAccessingRef = function () {
{
if (!specialPropRefWarningShown) {
specialPropRefWarningShown = true;
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
}
}
};
warnAboutAccessingRef.isReactWarning = true;
Object.defineProperty(props, 'ref', {
get: warnAboutAccessingRef,
configurable: true
});
}
function warnIfStringRefCannotBeAutoConverted(config) {
{
if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
if (!didWarnAboutStringRefs[componentName]) {
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
didWarnAboutStringRefs[componentName] = true;
}
}
}
}
/**
* Factory method to create a new React element. This no longer adheres to
* the class pattern, so do not use new to call it. Also, instanceof check
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
* if something is a React Element.
*
* @param {*} type
* @param {*} props
* @param {*} key
* @param {string|object} ref
* @param {*} owner
* @param {*} self A *temporary* helper to detect places where `this` is
* different from the `owner` when React.createElement is called, so that we
* can warn. We want to get rid of owner and replace string `ref`s with arrow
* functions, and as long as `this` and owner are the same, there will be no
* change in behavior.
* @param {*} source An annotation object (added by a transpiler or otherwise)
* indicating filename, line number, and/or other information.
* @internal
*/
var ReactElement = function (type, key, ref, self, source, owner, props) {
var element = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: REACT_ELEMENT_TYPE,
// Built-in properties that belong on the element
type: type,
key: key,
ref: ref,
props: props,
// Record the component responsible for creating this element.
_owner: owner
};
{
// The validation flag is currently mutative. We put it on
// an external backing store so that we can freeze the whole object.
// This can be replaced with a WeakMap once they are implemented in
// commonly used development environments.
element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
// the validation flag non-enumerable (where possible, which should
// include every environment we run tests in), so the test framework
// ignores it.
Object.defineProperty(element._store, 'validated', {
configurable: false,
enumerable: false,
writable: true,
value: false
}); // self and source are DEV only properties.
Object.defineProperty(element, '_self', {
configurable: false,
enumerable: false,
writable: false,
value: self
}); // Two elements created in two different places should be considered
// equal for testing purposes and therefore we hide it from enumeration.
Object.defineProperty(element, '_source', {
configurable: false,
enumerable: false,
writable: false,
value: source
});
if (Object.freeze) {
Object.freeze(element.props);
Object.freeze(element);
}
}
return element;
};
/**
* Create and return a new ReactElement of the given type.
* See https://reactjs.org/docs/react-api.html#createelement
*/
function createElement(type, config, children) {
var propName; // Reserved names are extracted
var props = {};
var key = null;
var ref = null;
var self = null;
var source = null;
if (config != null) {
if (hasValidRef(config)) {
ref = config.ref;
{
warnIfStringRefCannotBeAutoConverted(config);
}
}
if (hasValidKey(config)) {
{
checkKeyStringCoercion(config.key);
}
key = '' + config.key;
}
self = config.__self === undefined ? null : config.__self;
source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object
for (propName in config) {
if (hasOwnProperty$1.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
props[propName] = config[propName];
}
}
} // Children can be more than one argument, and those are transferred onto
// the newly allocated props object.
var childrenLength = arguments.length - 2;
if (childrenLength === 1) {
props.children = children;
} else if (childrenLength > 1) {
var childArray = Array(childrenLength);
for (var i = 0; i < childrenLength; i++) {
childArray[i] = arguments[i + 2];
}
{
if (Object.freeze) {
Object.freeze(childArray);
}
}
props.children = childArray;
} // Resolve default props
if (type && type.defaultProps) {
var defaultProps = type.defaultProps;
for (propName in defaultProps) {
if (props[propName] === undefined) {
props[propName] = defaultProps[propName];
}
}
}
{
if (key || ref) {
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
if (key) {
defineKeyPropWarningGetter(props, displayName);
}
if (ref) {
defineRefPropWarningGetter(props, displayName);
}
}
}
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
}
function cloneAndReplaceKey(oldElement, newKey) {
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
return newElement;
}
/**
* Clone and return a new ReactElement using element as the starting point.
* See https://reactjs.org/docs/react-api.html#cloneelement
*/
function cloneElement(element, config, children) {
if (element === null || element === undefined) {
throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." );
}
var propName; // Original props are copied
var props = assign({}, element.props); // Reserved names are extracted
var key = element.key;
var ref = element.ref; // Self is preserved since the owner is preserved.
var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a
// transpiler, and the original source is probably a better indicator of the
// true owner.
var source = element._source; // Owner will be preserved, unless ref is overridden
var owner = element._owner;
if (config != null) {
if (hasValidRef(config)) {
// Silently steal the ref from the parent.
ref = config.ref;
owner = ReactCurrentOwner.current;
}
if (hasValidKey(config)) {
{
checkKeyStringCoercion(config.key);
}
key = '' + config.key;
} // Remaining properties override existing props
var defaultProps;
if (element.type && element.type.defaultProps) {
defaultProps = element.type.defaultProps;
}
for (propName in config) {
if (hasOwnProperty$1.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
if (config[propName] === undefined && defaultProps !== undefined) {
// Resolve default props
props[propName] = defaultProps[propName];
} else {
props[propName] = config[propName];
}
}
}
} // Children can be more than one argument, and those are transferred onto
// the newly allocated props object.
var childrenLength = arguments.length - 2;
if (childrenLength === 1) {
props.children = children;
} else if (childrenLength > 1) {
var childArray = Array(childrenLength);
for (var i = 0; i < childrenLength; i++) {
childArray[i] = arguments[i + 2];
}
props.children = childArray;
}
return ReactElement(element.type, key, ref, self, source, owner, props);
}
/**
* Verifies the object is a ReactElement.
* See https://reactjs.org/docs/react-api.html#isvalidelement
* @param {?object} object
* @return {boolean} True if `object` is a ReactElement.
* @final
*/
function isValidElement(object) {
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
}
var SEPARATOR = '.';
var SUBSEPARATOR = ':';
/**
* Escape and wrap key so it is safe to use as a reactid
*
* @param {string} key to be escaped.
* @return {string} the escaped key.
*/
function escape(key) {
var escapeRegex = /[=:]/g;
var escaperLookup = {
'=': '=0',
':': '=2'
};
var escapedString = key.replace(escapeRegex, function (match) {
return escaperLookup[match];
});
return '$' + escapedString;
}
/**
* TODO: Test that a single child and an array with one item have the same key
* pattern.
*/
var didWarnAboutMaps = false;
var userProvidedKeyEscapeRegex = /\/+/g;
function escapeUserProvidedKey(text) {
return text.replace(userProvidedKeyEscapeRegex, '$&/');
}
/**
* Generate a key string that identifies a element within a set.
*
* @param {*} element A element that could contain a manual key.
* @param {number} index Index that is used if a manual key is not provided.
* @return {string}
*/
function getElementKey(element, index) {
// Do some typechecking here since we call this blindly. We want to ensure
// that we don't block potential future ES APIs.
if (typeof element === 'object' && element !== null && element.key != null) {
// Explicit key
{
checkKeyStringCoercion(element.key);
}
return escape('' + element.key);
} // Implicit key determined by the index in the set
return index.toString(36);
}
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
var type = typeof children;
if (type === 'undefined' || type === 'boolean') {
// All of the above are perceived as null.
children = null;
}
var invokeCallback = false;
if (children === null) {
invokeCallback = true;
} else {
switch (type) {
case 'string':
case 'number':
invokeCallback = true;
break;
case 'object':
switch (children.$$typeof) {
case REACT_ELEMENT_TYPE:
case REACT_PORTAL_TYPE:
invokeCallback = true;
}
}
}
if (invokeCallback) {
var _child = children;
var mappedChild = callback(_child); // If it's the only child, treat the name as if it was wrapped in an array
// so that it's consistent if the number of children grows:
var childKey = nameSoFar === '' ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
if (isArray(mappedChild)) {
var escapedChildKey = '';
if (childKey != null) {
escapedChildKey = escapeUserProvidedKey(childKey) + '/';
}
mapIntoArray(mappedChild, array, escapedChildKey, '', function (c) {
return c;
});
} else if (mappedChild != null) {
if (isValidElement(mappedChild)) {
{
// The `if` statement here prevents auto-disabling of the safe
// coercion ESLint rule, so we must manually disable it below.
// $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
checkKeyStringCoercion(mappedChild.key);
}
}
mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
// traverseAllChildren used to do for objects as children
escapedPrefix + ( // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
mappedChild.key && (!_child || _child.key !== mappedChild.key) ? // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
// eslint-disable-next-line react-internal/safe-string-coercion
escapeUserProvidedKey('' + mappedChild.key) + '/' : '') + childKey);
}
array.push(mappedChild);
}
return 1;
}
var child;
var nextName;
var subtreeCount = 0; // Count of children found in the current subtree.
var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
if (isArray(children)) {
for (var i = 0; i < children.length; i++) {
child = children[i];
nextName = nextNamePrefix + getElementKey(child, i);
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
}
} else {
var iteratorFn = getIteratorFn(children);
if (typeof iteratorFn === 'function') {
var iterableChildren = children;
{
// Warn about using Maps as children
if (iteratorFn === iterableChildren.entries) {
if (!didWarnAboutMaps) {
warn('Using Maps as children is not supported. ' + 'Use an array of keyed ReactElements instead.');
}
didWarnAboutMaps = true;
}
}
var iterator = iteratorFn.call(iterableChildren);
var step;
var ii = 0;
while (!(step = iterator.next()).done) {
child = step.value;
nextName = nextNamePrefix + getElementKey(child, ii++);
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
}
} else if (type === 'object') {
// eslint-disable-next-line react-internal/safe-string-coercion
var childrenString = String(children);
throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + "). " + 'If you meant to render a collection of children, use an array ' + 'instead.' );
}
}
return subtreeCount;
}
/**
* Maps children that are typically specified as `props.children`.
*
* See https://reactjs.org/docs/react-api.html#reactchildrenmap
*
* The provided mapFunction(child, index) will be called for each
* leaf child.
*
* @param {?*} children Children tree container.
* @param {function(*, int)} func The map function.
* @param {*} context Context for mapFunction.
* @return {object} Object containing the ordered map of results.
*/
function mapChildren(children, func, context) {
if (children == null) {
return children;
}
var result = [];
var count = 0;
mapIntoArray(children, result, '', '', function (child) {
return func.call(context, child, count++);
});
return result;
}
/**
* Count the number of children that are typically specified as
* `props.children`.
*
* See https://reactjs.org/docs/react-api.html#reactchildrencount
*
* @param {?*} children Children tree container.
* @return {number} The number of children.
*/
function countChildren(children) {
var n = 0;
mapChildren(children, function () {
n++; // Don't return anything
});
return n;
}
/**
* Iterates through children that are typically specified as `props.children`.
*
* See https://reactjs.org/docs/react-api.html#reactchildrenforeach
*
* The provided forEachFunc(child, index) will be called for each
* leaf child.
*
* @param {?*} children Children tree container.
* @param {function(*, int)} forEachFunc
* @param {*} forEachContext Context for forEachContext.
*/
function forEachChildren(children, forEachFunc, forEachContext) {
mapChildren(children, function () {
forEachFunc.apply(this, arguments); // Don't return anything.
}, forEachContext);
}
/**
* Flatten a children object (typically specified as `props.children`) and
* return an array with appropriately re-keyed children.
*
* See https://reactjs.org/docs/react-api.html#reactchildrentoarray
*/
function toArray(children) {
return mapChildren(children, function (child) {
return child;
}) || [];
}
/**
* Returns the first child in a collection of children and verifies that there
* is only one child in the collection.
*
* See https://reactjs.org/docs/react-api.html#reactchildrenonly
*
* The current implementation of this function assumes that a single child gets
* passed without a wrapper, but the purpose of this helper function is to
* abstract away the particular structure of children.
*
* @param {?object} children Child collection structure.
* @return {ReactElement} The first and only `ReactElement` contained in the
* structure.
*/
function onlyChild(children) {
if (!isValidElement(children)) {
throw Error( 'React.Children.only expected to receive a single React element child.' );
}
return children;
}
function createContext(defaultValue) {
// TODO: Second argument used to be an optional `calculateChangedBits`
// function. Warn to reserve for future use?
var context = {
$$typeof: REACT_CONTEXT_TYPE,
// As a workaround to support multiple concurrent renderers, we categorize
// some renderers as primary and others as secondary. We only expect
// there to be two concurrent renderers at most: React Native (primary) and
// Fabric (secondary); React DOM (primary) and React ART (secondary).
// Secondary renderers store their context values on separate fields.
_currentValue: defaultValue,
_currentValue2: defaultValue,
// Used to track how many concurrent renderers this context currently
// supports within in a single renderer. Such as parallel server rendering.
_threadCount: 0,
// These are circular
Provider: null,
Consumer: null
};
context.Provider = {
$$typeof: REACT_PROVIDER_TYPE,
_context: context
};
var hasWarnedAboutUsingNestedContextConsumers = false;
var hasWarnedAboutUsingConsumerProvider = false;
var hasWarnedAboutDisplayNameOnConsumer = false;
{
// A separate object, but proxies back to the original context object for
// backwards compatibility. It has a different $$typeof, so we can properly
// warn for the incorrect usage of Context as a Consumer.
var Consumer = {
$$typeof: REACT_CONTEXT_TYPE,
_context: context
}; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
Object.defineProperties(Consumer, {
Provider: {
get: function () {
if (!hasWarnedAboutUsingConsumerProvider) {
hasWarnedAboutUsingConsumerProvider = true;
error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
}
return context.Provider;
},
set: function (_Provider) {
context.Provider = _Provider;
}
},
_currentValue: {
get: function () {
return context._currentValue;
},
set: function (_currentValue) {
context._currentValue = _currentValue;
}
},
_currentValue2: {
get: function () {
return context._currentValue2;
},
set: function (_currentValue2) {
context._currentValue2 = _currentValue2;
}
},
_threadCount: {
get: function () {
return context._threadCount;
},
set: function (_threadCount) {
context._threadCount = _threadCount;
}
},
Consumer: {
get: function () {
if (!hasWarnedAboutUsingNestedContextConsumers) {
hasWarnedAboutUsingNestedContextConsumers = true;
error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
}
return context.Consumer;
}
},
displayName: {
get: function () {
return context.displayName;
},
set: function (displayName) {
if (!hasWarnedAboutDisplayNameOnConsumer) {
warn('Setting `displayName` on Context.Consumer has no effect. ' + "You should set it directly on the context with Context.displayName = '%s'.", displayName);
hasWarnedAboutDisplayNameOnConsumer = true;
}
}
}
}); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
context.Consumer = Consumer;
}
{
context._currentRenderer = null;
context._currentRenderer2 = null;
}
return context;
}
var Uninitialized = -1;
var Pending = 0;
var Resolved = 1;
var Rejected = 2;
function lazyInitializer(payload) {
if (payload._status === Uninitialized) {
var ctor = payload._result;
var thenable = ctor(); // Transition to the next state.
// This might throw either because it's missing or throws. If so, we treat it
// as still uninitialized and try again next time. Which is the same as what
// happens if the ctor or any wrappers processing the ctor throws. This might
// end up fixing it if the resolution was a concurrency bug.
thenable.then(function (moduleObject) {
if (payload._status === Pending || payload._status === Uninitialized) {
// Transition to the next state.
var resolved = payload;
resolved._status = Resolved;
resolved._result = moduleObject;
}
}, function (error) {
if (payload._status === Pending || payload._status === Uninitialized) {
// Transition to the next state.
var rejected = payload;
rejected._status = Rejected;
rejected._result = error;
}
});
if (payload._status === Uninitialized) {
// In case, we're still uninitialized, then we're waiting for the thenable
// to resolve. Set it as pending in the meantime.
var pending = payload;
pending._status = Pending;
pending._result = thenable;
}
}
if (payload._status === Resolved) {
var moduleObject = payload._result;
{
if (moduleObject === undefined) {
error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
}
}
{
if (!('default' in moduleObject)) {
error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
}
}
return moduleObject.default;
} else {
throw payload._result;
}
}
function lazy(ctor) {
var payload = {
// We use these fields to store the result.
_status: Uninitialized,
_result: ctor
};
var lazyType = {
$$typeof: REACT_LAZY_TYPE,
_payload: payload,
_init: lazyInitializer
};
{
// In production, this would just set it on the object.
var defaultProps;
var propTypes; // $FlowFixMe
Object.defineProperties(lazyType, {
defaultProps: {
configurable: true,
get: function () {
return defaultProps;
},
set: function (newDefaultProps) {
error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
defaultProps = newDefaultProps; // Match production behavior more closely:
// $FlowFixMe
Object.defineProperty(lazyType, 'defaultProps', {
enumerable: true
});
}
},
propTypes: {
configurable: true,
get: function () {
return propTypes;
},
set: function (newPropTypes) {
error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
propTypes = newPropTypes; // Match production behavior more closely:
// $FlowFixMe
Object.defineProperty(lazyType, 'propTypes', {
enumerable: true
});
}
}
});
}
return lazyType;
}
function forwardRef(render) {
{
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
} else if (typeof render !== 'function') {
error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
} else {
if (render.length !== 0 && render.length !== 2) {
error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
}
}
if (render != null) {
if (render.defaultProps != null || render.propTypes != null) {
error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
}
}
}
var elementType = {
$$typeof: REACT_FORWARD_REF_TYPE,
render: render
};
{
var ownName;
Object.defineProperty(elementType, 'displayName', {
enumerable: false,
configurable: true,
get: function () {
return ownName;
},
set: function (name) {
ownName = name; // The inner component shouldn't inherit this display name in most cases,
// because the component may be used elsewhere.
// But it's nice for anonymous functions to inherit the name,
// so that our component-stack generation logic will display their frames.
// An anonymous function generally suggests a pattern like:
// React.forwardRef((props, ref) => {...});
// This kind of inner function is not used elsewhere so the side effect is okay.
if (!render.name && !render.displayName) {
render.displayName = name;
}
}
});
}
return elementType;
}
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
var enableCache = false; // Only used in www builds.
var enableScopeAPI = false; // Experimental Create Event Handle API.
var warnOnSubscriptionInsideStartTransition = false;
var REACT_MODULE_REFERENCE = 0;
if (typeof Symbol === 'function') {
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
}
function isValidElementType(type) {
if (typeof type === 'string' || typeof type === 'function') {
return true;
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
if (type === exports.Fragment || type === exports.Profiler || type === REACT_DEBUG_TRACING_MODE_TYPE || type === exports.StrictMode || type === exports.Suspense || type === exports.SuspenseList || type === REACT_LEGACY_HIDDEN_TYPE || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCache ) {
return true;
}
if (typeof type === 'object' && type !== null) {
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
return true;
}
}
return false;
}
function memo(type, compare) {
{
if (!isValidElementType(type)) {
error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
}
}
var elementType = {
$$typeof: REACT_MEMO_TYPE,
type: type,
compare: compare === undefined ? null : compare
};
{
var ownName;
Object.defineProperty(elementType, 'displayName', {
enumerable: false,
configurable: true,
get: function () {
return ownName;
},
set: function (name) {
ownName = name; // The inner component shouldn't inherit this display name in most cases,
// because the component may be used elsewhere.
// But it's nice for anonymous functions to inherit the name,
// so that our component-stack generation logic will display their frames.
// An anonymous function generally suggests a pattern like:
// React.memo((props) => {...});
// This kind of inner function is not used elsewhere so the side effect is okay.
if (!type.name && !type.displayName) {
type.displayName = name;
}
}
});
}
return elementType;
}
function resolveDispatcher() {
var dispatcher = ReactCurrentDispatcher.current;
{
if (dispatcher === null) {
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
}
} // Will result in a null access error if accessed outside render phase. We
// intentionally don't throw our own error because this is in a hot path.
// Also helps ensure this is inlined.
return dispatcher;
}
function useContext(Context) {
var dispatcher = resolveDispatcher();
{
// TODO: add a more generic warning for invalid values.
if (Context._context !== undefined) {
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
// and nobody should be using this in existing code.
if (realContext.Consumer === Context) {
error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
} else if (realContext.Provider === Context) {
error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
}
}
}
return dispatcher.useContext(Context);
}
function useState(initialState) {
var dispatcher = resolveDispatcher();
return dispatcher.useState(initialState);
}
function useReducer(reducer, initialArg, init) {
var dispatcher = resolveDispatcher();
return dispatcher.useReducer(reducer, initialArg, init);
}
function useRef(initialValue) {
var dispatcher = resolveDispatcher();
return dispatcher.useRef(initialValue);
}
function useEffect(create, deps) {
var dispatcher = resolveDispatcher();
return dispatcher.useEffect(create, deps);
}
function useLayoutEffect(create, deps) {
var dispatcher = resolveDispatcher();
return dispatcher.useLayoutEffect(create, deps);
}
function useCallback(callback, deps) {
var dispatcher = resolveDispatcher();
return dispatcher.useCallback(callback, deps);
}
function useMemo(create, deps) {
var dispatcher = resolveDispatcher();
return dispatcher.useMemo(create, deps);
}
function useImperativeHandle(ref, create, deps) {
var dispatcher = resolveDispatcher();
return dispatcher.useImperativeHandle(ref, create, deps);
}
function useDebugValue(value, formatterFn) {
{
var dispatcher = resolveDispatcher();
return dispatcher.useDebugValue(value, formatterFn);
}
}
function useTransition() {
var dispatcher = resolveDispatcher();
return dispatcher.useTransition();
}
function useDeferredValue(value) {
var dispatcher = resolveDispatcher();
return dispatcher.useDeferredValue(value);
}
function useOpaqueIdentifier() {
var dispatcher = resolveDispatcher();
return dispatcher.useOpaqueIdentifier();
}
function useMutableSource(source, getSnapshot, subscribe) {
var dispatcher = resolveDispatcher();
return dispatcher.useMutableSource(source, getSnapshot, subscribe);
}
// Helpers to patch console.logs to avoid logging during side-effect free
// replaying on render function. This currently only patches the object
// lazily which won't cover if the log function was extracted eagerly.
// We could also eagerly patch the method.
var disabledDepth = 0;
var prevLog;
var prevInfo;
var prevWarn;
var prevError;
var prevGroup;
var prevGroupCollapsed;
var prevGroupEnd;
function disabledLog() {}
disabledLog.__reactDisabledLog = true;
function disableLogs() {
{
if (disabledDepth === 0) {
/* eslint-disable react-internal/no-production-logging */
prevLog = console.log;
prevInfo = console.info;
prevWarn = console.warn;
prevError = console.error;
prevGroup = console.group;
prevGroupCollapsed = console.groupCollapsed;
prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099
var props = {
configurable: true,
enumerable: true,
value: disabledLog,
writable: true
}; // $FlowFixMe Flow thinks console is immutable.
Object.defineProperties(console, {
info: props,
log: props,
warn: props,
error: props,
group: props,
groupCollapsed: props,
groupEnd: props
});
/* eslint-enable react-internal/no-production-logging */
}
disabledDepth++;
}
}
function reenableLogs() {
{
disabledDepth--;
if (disabledDepth === 0) {
/* eslint-disable react-internal/no-production-logging */
var props = {
configurable: true,
enumerable: true,
writable: true
}; // $FlowFixMe Flow thinks console is immutable.
Object.defineProperties(console, {
log: assign({}, props, {
value: prevLog
}),
info: assign({}, props, {
value: prevInfo
}),
warn: assign({}, props, {
value: prevWarn
}),
error: assign({}, props, {
value: prevError
}),
group: assign({}, props, {
value: prevGroup
}),
groupCollapsed: assign({}, props, {
value: prevGroupCollapsed
}),
groupEnd: assign({}, props, {
value: prevGroupEnd
})
});
/* eslint-enable react-internal/no-production-logging */
}
if (disabledDepth < 0) {
error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
}
}
}
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
var prefix;
function describeBuiltInComponentFrame(name, source, ownerFn) {
{
if (prefix === undefined) {
// Extract the VM specific prefix used by each line.
try {
throw Error();
} catch (x) {
var match = x.stack.trim().match(/\n( *(at )?)/);
prefix = match && match[1] || '';
}
} // We use the prefix to ensure our stacks line up with native stack frames.
return '\n' + prefix + name;
}
}
var reentry = false;
var componentFrameCache;
{
var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
componentFrameCache = new PossiblyWeakMap();
}
function describeNativeComponentFrame(fn, construct) {
// If something asked for a stack inside a fake render, it should get ignored.
if ( !fn || reentry) {
return '';
}
{
var frame = componentFrameCache.get(fn);
if (frame !== undefined) {
return frame;
}
}
var control;
reentry = true;
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.
Error.prepareStackTrace = undefined;
var previousDispatcher;
{
previousDispatcher = ReactCurrentDispatcher$1.current; // Set the dispatcher in DEV because this might be call in the render function
// for warnings.
ReactCurrentDispatcher$1.current = null;
disableLogs();
}
try {
// This should throw.
if (construct) {
// Something should be setting the props in the constructor.
var Fake = function () {
throw Error();
}; // $FlowFixMe
Object.defineProperty(Fake.prototype, 'props', {
set: function () {
// We use a throwing setter instead of frozen or non-writable props
// because that won't throw in a non-strict mode function.
throw Error();
}
});
if (typeof Reflect === 'object' && Reflect.construct) {
// We construct a different control for this case to include any extra
// frames added by the construct call.
try {
Reflect.construct(Fake, []);
} catch (x) {
control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x) {
control = x;
}
fn.call(Fake.prototype);
}
} else {
try {
throw Error();
} catch (x) {
control = x;
}
fn();
}
} catch (sample) {
// This is inlined manually because closure doesn't do it for us.
if (sample && control && typeof sample.stack === 'string') {
// This extracts the first frame from the sample that isn't also in the control.
// Skipping one frame that we assume is the frame that calls the two.
var sampleLines = sample.stack.split('\n');
var controlLines = control.stack.split('\n');
var s = sampleLines.length - 1;
var c = controlLines.length - 1;
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
// We expect at least one stack frame to be shared.
// Typically this will be the root most one. However, stack frames may be
// cut off due to maximum stack limits. In this case, one maybe cut off
// earlier than the other. We assume that the sample is longer or the same
// and there for cut off earlier. So we should find the root most frame in
// the sample somewhere in the control.
c--;
}
for (; s >= 1 && c >= 0; s--, c--) {
// Next we find the first one that isn't the same which should be the
// frame that called our sample function and the control.
if (sampleLines[s] !== controlLines[c]) {
// In V8, the first line is describing the message but other VMs don't.
// If we're about to return the first line, and the control is also on the same
// line, that's a pretty good indicator that our sample threw at same line as
// the control. I.e. before we entered the sample frame. So we ignore this result.
// This can happen if you passed a class to function component, or non-function.
if (s !== 1 || c !== 1) {
do {
s--;
c--; // We may still have similar intermediate frames from the construct call.
// The next one that isn't the same should be our match though.
if (c < 0 || sampleLines[s] !== controlLines[c]) {
// V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
{
if (typeof fn === 'function') {
componentFrameCache.set(fn, _frame);
}
} // Return the line we found.
return _frame;
}
} while (s >= 1 && c >= 0);
}
break;
}
}
}
} finally {
reentry = false;
{
ReactCurrentDispatcher$1.current = previousDispatcher;
reenableLogs();
}
Error.prepareStackTrace = previousPrepareStackTrace;
} // Fallback to just using the name if we couldn't make it throw.
var name = fn ? fn.displayName || fn.name : '';
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
{
if (typeof fn === 'function') {
componentFrameCache.set(fn, syntheticFrame);
}
}
return syntheticFrame;
}
function describeFunctionComponentFrame(fn, source, ownerFn) {
{
return describeNativeComponentFrame(fn, false);
}
}
function shouldConstruct(Component) {
var prototype = Component.prototype;
return !!(prototype && prototype.isReactComponent);
}
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
if (type == null) {
return '';
}
if (typeof type === 'function') {
{
return describeNativeComponentFrame(type, shouldConstruct(type));
}
}
if (typeof type === 'string') {
return describeBuiltInComponentFrame(type);
}
switch (type) {
case exports.Suspense:
return describeBuiltInComponentFrame('Suspense');
case exports.SuspenseList:
return describeBuiltInComponentFrame('SuspenseList');
}
if (typeof type === 'object') {
switch (type.$$typeof) {
case REACT_FORWARD_REF_TYPE:
return describeFunctionComponentFrame(type.render);
case REACT_MEMO_TYPE:
// Memo may contain any component type so we recursively resolve it.
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
case REACT_LAZY_TYPE:
{
var lazyComponent = type;
var payload = lazyComponent._payload;
var init = lazyComponent._init;
try {
// Lazy may contain any component type so we recursively resolve it.
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
} catch (x) {}
}
}
}
return '';
}
var loggedTypeFailures = {};
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
function setCurrentlyValidatingElement(element) {
{
if (element) {
var owner = element._owner;
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
} else {
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
}
}
}
function checkPropTypes(typeSpecs, values, location, componentName, element) {
{
// $FlowFixMe This is okay but Flow doesn't know it.
var has = Function.call.bind(hasOwnProperty$1);
for (var typeSpecName in typeSpecs) {
if (has(typeSpecs, typeSpecName)) {
var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
// fail the render phase where it didn't fail before. So we log it.
// After these have been cleaned up, we'll let them throw.
try {
// This is intentionally an invariant that gets caught. It's the same
// behavior as without this statement except with a better message.
if (typeof typeSpecs[typeSpecName] !== 'function') {
// eslint-disable-next-line react-internal/prod-error-codes
var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
err.name = 'Invariant Violation';
throw err;
}
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
} catch (ex) {
error$1 = ex;
}
if (error$1 && !(error$1 instanceof Error)) {
setCurrentlyValidatingElement(element);
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
setCurrentlyValidatingElement(null);
}
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
// Only monitor this failure once because there tends to be a lot of the
// same error.
loggedTypeFailures[error$1.message] = true;
setCurrentlyValidatingElement(element);
error('Failed %s type: %s', location, error$1.message);
setCurrentlyValidatingElement(null);
}
}
}
}
}
function setCurrentlyValidatingElement$1(element) {
{
if (element) {
var owner = element._owner;
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
setExtraStackFrame(stack);
} else {
setExtraStackFrame(null);
}
}
}
var propTypesMisspellWarningShown;
{
propTypesMisspellWarningShown = false;
}
function getDeclarationErrorAddendum() {
if (ReactCurrentOwner.current) {
var name = getComponentNameFromType(ReactCurrentOwner.current.type);
if (name) {
return '\n\nCheck the render method of `' + name + '`.';
}
}
return '';
}
function getSourceInfoErrorAddendum(source) {
if (source !== undefined) {
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
var lineNumber = source.lineNumber;
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
}
return '';
}
function getSourceInfoErrorAddendumForProps(elementProps) {
if (elementProps !== null && elementProps !== undefined) {
return getSourceInfoErrorAddendum(elementProps.__source);
}
return '';
}
/**
* Warn if there's no key explicitly set on dynamic arrays of children or
* object keys are not valid. This allows us to keep track of children between
* updates.
*/
var ownerHasKeyUseWarning = {};
function getCurrentComponentErrorInfo(parentType) {
var info = getDeclarationErrorAddendum();
if (!info) {
var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
if (parentName) {
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
}
}
return info;
}
/**
* Warn if the element doesn't have an explicit key assigned to it.
* This element is in an array. The array could grow and shrink or be
* reordered. All children that haven't already been validated are required to
* have a "key" property assigned to it. Error statuses are cached so a warning
* will only be shown once.
*
* @internal
* @param {ReactElement} element Element that requires a key.
* @param {*} parentType element's parent's type.
*/
function validateExplicitKey(element, parentType) {
if (!element._store || element._store.validated || element.key != null) {
return;
}
element._store.validated = true;
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
return;
}
ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
// property, it may be the creator of the child that's responsible for
// assigning it a key.
var childOwner = '';
if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
// Give the component that originally created this child.
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
}
{
setCurrentlyValidatingElement$1(element);
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
setCurrentlyValidatingElement$1(null);
}
}
/**
* Ensure that every element either is passed in a static location, in an
* array with an explicit keys property defined, or in an object literal
* with valid key property.
*
* @internal
* @param {ReactNode} node Statically passed child of any type.
* @param {*} parentType node's parent's type.
*/
function validateChildKeys(node, parentType) {
if (typeof node !== 'object') {
return;
}
if (isArray(node)) {
for (var i = 0; i < node.length; i++) {
var child = node[i];
if (isValidElement(child)) {
validateExplicitKey(child, parentType);
}
}
} else if (isValidElement(node)) {
// This element was passed in a valid location.
if (node._store) {
node._store.validated = true;
}
} else if (node) {
var iteratorFn = getIteratorFn(node);
if (typeof iteratorFn === 'function') {
// Entry iterators used to provide implicit keys,
// but now we print a separate warning for them later.
if (iteratorFn !== node.entries) {
var iterator = iteratorFn.call(node);
var step;
while (!(step = iterator.next()).done) {
if (isValidElement(step.value)) {
validateExplicitKey(step.value, parentType);
}
}
}
}
}
}
/**
* Given an element, validate that its props follow the propTypes definition,
* provided by the type.
*
* @param {ReactElement} element
*/
function validatePropTypes(element) {
{
var type = element.type;
if (type === null || type === undefined || typeof type === 'string') {
return;
}
var propTypes;
if (typeof type === 'function') {
propTypes = type.propTypes;
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
type.$$typeof === REACT_MEMO_TYPE)) {
propTypes = type.propTypes;
} else {
return;
}
if (propTypes) {
// Intentionally inside to avoid triggering lazy initializers:
var name = getComponentNameFromType(type);
checkPropTypes(propTypes, element.props, 'prop', name, element);
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
var _name = getComponentNameFromType(type);
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
}
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
}
}
}
/**
* Given a fragment, validate that it can only be provided with fragment props
* @param {ReactElement} fragment
*/
function validateFragmentProps(fragment) {
{
var keys = Object.keys(fragment.props);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (key !== 'children' && key !== 'key') {
setCurrentlyValidatingElement$1(fragment);
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
setCurrentlyValidatingElement$1(null);
break;
}
}
if (fragment.ref !== null) {
setCurrentlyValidatingElement$1(fragment);
error('Invalid attribute `ref` supplied to `React.Fragment`.');
setCurrentlyValidatingElement$1(null);
}
}
}
function createElementWithValidation(type, props, children) {
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
// succeed and there will likely be errors in render.
if (!validType) {
var info = '';
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
}
var sourceInfo = getSourceInfoErrorAddendumForProps(props);
if (sourceInfo) {
info += sourceInfo;
} else {
info += getDeclarationErrorAddendum();
}
var typeString;
if (type === null) {
typeString = 'null';
} else if (isArray(type)) {
typeString = 'array';
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
info = ' Did you accidentally export a JSX literal instead of a component?';
} else {
typeString = typeof type;
}
{
error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
}
}
var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
// TODO: Drop this when these are no longer allowed as the type argument.
if (element == null) {
return element;
} // Skip key warning if the type isn't valid since our key validation logic
// doesn't expect a non-string/function type and can throw confusing errors.
// We don't want exception behavior to differ between dev and prod.
// (Rendering will throw with a helpful message and as soon as the type is
// fixed, the key warnings will appear.)
if (validType) {
for (var i = 2; i < arguments.length; i++) {
validateChildKeys(arguments[i], type);
}
}
if (type === exports.Fragment) {
validateFragmentProps(element);
} else {
validatePropTypes(element);
}
return element;
}
var didWarnAboutDeprecatedCreateFactory = false;
function createFactoryWithValidation(type) {
var validatedFactory = createElementWithValidation.bind(null, type);
validatedFactory.type = type;
{
if (!didWarnAboutDeprecatedCreateFactory) {
didWarnAboutDeprecatedCreateFactory = true;
warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');
} // Legacy hook: remove it
Object.defineProperty(validatedFactory, 'type', {
enumerable: false,
get: function () {
warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
Object.defineProperty(this, 'type', {
value: type
});
return type;
}
});
}
return validatedFactory;
}
function cloneElementWithValidation(element, props, children) {
var newElement = cloneElement.apply(this, arguments);
for (var i = 2; i < arguments.length; i++) {
validateChildKeys(arguments[i], newElement.type);
}
validatePropTypes(newElement);
return newElement;
}
function createMutableSource(source, getVersion) {
var mutableSource = {
_getVersion: getVersion,
_source: source,
_workInProgressVersionPrimary: null,
_workInProgressVersionSecondary: null
};
{
mutableSource._currentPrimaryRenderer = null;
mutableSource._currentSecondaryRenderer = null; // Used to detect side effects that update a mutable source during render.
// See https://github.com/facebook/react/issues/19948
mutableSource._currentlyRenderingFiber = null;
mutableSource._initialVersionAsOfFirstRender = null;
}
return mutableSource;
}
var enableSchedulerDebugging = false;
var enableProfiling = false;
var frameYieldMs = 5;
function push(heap, node) {
var index = heap.length;
heap.push(node);
siftUp(heap, node, index);
}
function peek(heap) {
return heap.length === 0 ? null : heap[0];
}
function pop(heap) {
if (heap.length === 0) {
return null;
}
var first = heap[0];
var last = heap.pop();
if (last !== first) {
heap[0] = last;
siftDown(heap, last, 0);
}
return first;
}
function siftUp(heap, node, i) {
var index = i;
while (index > 0) {
var parentIndex = index - 1 >>> 1;
var parent = heap[parentIndex];
if (compare(parent, node) > 0) {
// The parent is larger. Swap positions.
heap[parentIndex] = node;
heap[index] = parent;
index = parentIndex;
} else {
// The parent is smaller. Exit.
return;
}
}
}
function siftDown(heap, node, i) {
var index = i;
var length = heap.length;
var halfLength = length >>> 1;
while (index < halfLength) {
var leftIndex = (index + 1) * 2 - 1;
var left = heap[leftIndex];
var rightIndex = leftIndex + 1;
var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
if (compare(left, node) < 0) {
if (rightIndex < length && compare(right, left) < 0) {
heap[index] = right;
heap[rightIndex] = node;
index = rightIndex;
} else {
heap[index] = left;
heap[leftIndex] = node;
index = leftIndex;
}
} else if (rightIndex < length && compare(right, node) < 0) {
heap[index] = right;
heap[rightIndex] = node;
index = rightIndex;
} else {
// Neither child is smaller. Exit.
return;
}
}
}
function compare(a, b) {
// Compare sort index first, then task id.
var diff = a.sortIndex - b.sortIndex;
return diff !== 0 ? diff : a.id - b.id;
}
// TODO: Use symbols?
var ImmediatePriority = 1;
var UserBlockingPriority = 2;
var NormalPriority = 3;
var LowPriority = 4;
var IdlePriority = 5;
function markTaskErrored(task, ms) {
}
/* eslint-disable no-var */
var getCurrentTime;
var hasPerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
if (hasPerformanceNow) {
var localPerformance = performance;
getCurrentTime = function () {
return localPerformance.now();
};
} else {
var localDate = Date;
var initialTime = localDate.now();
getCurrentTime = function () {
return localDate.now() - initialTime;
};
} // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
// Math.pow(2, 30) - 1
// 0b111111111111111111111111111111
var maxSigned31BitInt = 1073741823; // Times out immediately
var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
var NORMAL_PRIORITY_TIMEOUT = 5000;
var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt; // Tasks are stored on a min heap
var taskQueue = [];
var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
var currentTask = null;
var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrance.
var isPerformingWork = false;
var isHostCallbackScheduled = false;
var isHostTimeoutScheduled = false; // Capture local references to native APIs, in case a polyfill overrides them.
var localSetTimeout = typeof setTimeout === 'function' ? setTimeout : null;
var localClearTimeout = typeof clearTimeout === 'function' ? clearTimeout : null;
var localSetImmediate = typeof setImmediate !== 'undefined' ? setImmediate : null; // IE and Node.js + jsdom
var isInputPending = typeof navigator !== 'undefined' && navigator.scheduling !== undefined && navigator.scheduling.isInputPending !== undefined ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
function advanceTimers(currentTime) {
// Check for tasks that are no longer delayed and add them to the queue.
var timer = peek(timerQueue);
while (timer !== null) {
if (timer.callback === null) {
// Timer was cancelled.
pop(timerQueue);
} else if (timer.startTime <= currentTime) {
// Timer fired. Transfer to the task queue.
pop(timerQueue);
timer.sortIndex = timer.expirationTime;
push(taskQueue, timer);
} else {
// Remaining timers are pending.
return;
}
timer = peek(timerQueue);
}
}
function handleTimeout(currentTime) {
isHostTimeoutScheduled = false;
advanceTimers(currentTime);
if (!isHostCallbackScheduled) {
if (peek(taskQueue) !== null) {
isHostCallbackScheduled = true;
requestHostCallback(flushWork);
} else {
var firstTimer = peek(timerQueue);
if (firstTimer !== null) {
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
}
}
}
}
function flushWork(hasTimeRemaining, initialTime) {
isHostCallbackScheduled = false;
if (isHostTimeoutScheduled) {
// We scheduled a timeout but it's no longer needed. Cancel it.
isHostTimeoutScheduled = false;
cancelHostTimeout();
}
isPerformingWork = true;
var previousPriorityLevel = currentPriorityLevel;
try {
if (enableProfiling) {
try {
return workLoop(hasTimeRemaining, initialTime);
} catch (error) {
if (currentTask !== null) {
var currentTime = getCurrentTime();
markTaskErrored(currentTask, currentTime);
currentTask.isQueued = false;
}
throw error;
}
} else {
// No catch in prod code path.
return workLoop(hasTimeRemaining, initialTime);
}
} finally {
currentTask = null;
currentPriorityLevel = previousPriorityLevel;
isPerformingWork = false;
}
}
function workLoop(hasTimeRemaining, initialTime) {
var currentTime = initialTime;
advanceTimers(currentTime);
currentTask = peek(taskQueue);
while (currentTask !== null && !(enableSchedulerDebugging )) {
if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
// This currentTask hasn't expired, and we've reached the deadline.
break;
}
var callback = currentTask.callback;
if (typeof callback === 'function') {
currentTask.callback = null;
currentPriorityLevel = currentTask.priorityLevel;
var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
var continuationCallback = callback(didUserCallbackTimeout);
currentTime = getCurrentTime();
if (typeof continuationCallback === 'function') {
currentTask.callback = continuationCallback;
} else {
if (currentTask === peek(taskQueue)) {
pop(taskQueue);
}
}
advanceTimers(currentTime);
} else {
pop(taskQueue);
}
currentTask = peek(taskQueue);
} // Return whether there's additional work
if (currentTask !== null) {
return true;
} else {
var firstTimer = peek(timerQueue);
if (firstTimer !== null) {
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
}
return false;
}
}
function unstable_runWithPriority(priorityLevel, eventHandler) {
switch (priorityLevel) {
case ImmediatePriority:
case UserBlockingPriority:
case NormalPriority:
case LowPriority:
case IdlePriority:
break;
default:
priorityLevel = NormalPriority;
}
var previousPriorityLevel = currentPriorityLevel;
currentPriorityLevel = priorityLevel;
try {
return eventHandler();
} finally {
currentPriorityLevel = previousPriorityLevel;
}
}
function unstable_next(eventHandler) {
var priorityLevel;
switch (currentPriorityLevel) {
case ImmediatePriority:
case UserBlockingPriority:
case NormalPriority:
// Shift down to normal priority
priorityLevel = NormalPriority;
break;
default:
// Anything lower than normal priority should remain at the current level.
priorityLevel = currentPriorityLevel;
break;
}
var previousPriorityLevel = currentPriorityLevel;
currentPriorityLevel = priorityLevel;
try {
return eventHandler();
} finally {
currentPriorityLevel = previousPriorityLevel;
}
}
function unstable_wrapCallback(callback) {
var parentPriorityLevel = currentPriorityLevel;
return function () {
// This is a fork of runWithPriority, inlined for performance.
var previousPriorityLevel = currentPriorityLevel;
currentPriorityLevel = parentPriorityLevel;
try {
return callback.apply(this, arguments);
} finally {
currentPriorityLevel = previousPriorityLevel;
}
};
}
function unstable_scheduleCallback(priorityLevel, callback, options) {
var currentTime = getCurrentTime();
var startTime;
if (typeof options === 'object' && options !== null) {
var delay = options.delay;
if (typeof delay === 'number' && delay > 0) {
startTime = currentTime + delay;
} else {
startTime = currentTime;
}
} else {
startTime = currentTime;
}
var timeout;
switch (priorityLevel) {
case ImmediatePriority:
timeout = IMMEDIATE_PRIORITY_TIMEOUT;
break;
case UserBlockingPriority:
timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
break;
case IdlePriority:
timeout = IDLE_PRIORITY_TIMEOUT;
break;
case LowPriority:
timeout = LOW_PRIORITY_TIMEOUT;
break;
case NormalPriority:
default:
timeout = NORMAL_PRIORITY_TIMEOUT;
break;
}
var expirationTime = startTime + timeout;
var newTask = {
id: taskIdCounter++,
callback: callback,
priorityLevel: priorityLevel,
startTime: startTime,
expirationTime: expirationTime,
sortIndex: -1
};
if (startTime > currentTime) {
// This is a delayed task.
newTask.sortIndex = startTime;
push(timerQueue, newTask);
if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
// All tasks are delayed, and this is the task with the earliest delay.
if (isHostTimeoutScheduled) {
// Cancel an existing timeout.
cancelHostTimeout();
} else {
isHostTimeoutScheduled = true;
} // Schedule a timeout.
requestHostTimeout(handleTimeout, startTime - currentTime);
}
} else {
newTask.sortIndex = expirationTime;
push(taskQueue, newTask);
// wait until the next time we yield.
if (!isHostCallbackScheduled && !isPerformingWork) {
isHostCallbackScheduled = true;
requestHostCallback(flushWork);
}
}
return newTask;
}
function unstable_pauseExecution() {
}
function unstable_continueExecution() {
if (!isHostCallbackScheduled && !isPerformingWork) {
isHostCallbackScheduled = true;
requestHostCallback(flushWork);
}
}
function unstable_getFirstCallbackNode() {
return peek(taskQueue);
}
function unstable_cancelCallback(task) {
// remove from the queue because you can't remove arbitrary nodes from an
// array based heap, only the first one.)
task.callback = null;
}
function unstable_getCurrentPriorityLevel() {
return currentPriorityLevel;
}
var isMessageLoopRunning = false;
var scheduledHostCallback = null;
var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
// thread, like user events. By default, it yields multiple times per frame.
// It does not attempt to align with frame boundaries, since most tasks don't
// need to be frame aligned; for those that do, use requestAnimationFrame.
var frameInterval = frameYieldMs;
var startTime = -1;
function shouldYieldToHost() {
var timeElapsed = getCurrentTime() - startTime;
if (timeElapsed < frameInterval) {
// The main thread has only been blocked for a really short amount of time;
// smaller than a single frame. Don't yield yet.
return false;
} // The main thread has been blocked for a non-negligible amount of time. We
return true;
}
function requestPaint() {
}
function forceFrameRate(fps) {
if (fps < 0 || fps > 125) {
// Using console['error'] to evade Babel and ESLint
console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing frame rates higher than 125 fps is not supported');
return;
}
if (fps > 0) {
frameInterval = Math.floor(1000 / fps);
} else {
// reset the framerate
frameInterval = frameYieldMs;
}
}
var performWorkUntilDeadline = function () {
if (scheduledHostCallback !== null) {
var currentTime = getCurrentTime(); // Keep track of the start time so we can measure how long the main thread
// has been blocked.
startTime = currentTime;
var hasTimeRemaining = true; // If a scheduler task throws, exit the current browser task so the
// error can be observed.
//
// Intentionally not using a try-catch, since that makes some debugging
// techniques harder. Instead, if `scheduledHostCallback` errors, then
// `hasMoreWork` will remain true, and we'll continue the work loop.
var hasMoreWork = true;
try {
hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
} finally {
if (hasMoreWork) {
// If there's more work, schedule the next message event at the end
// of the preceding one.
schedulePerformWorkUntilDeadline();
} else {
isMessageLoopRunning = false;
scheduledHostCallback = null;
}
}
} else {
isMessageLoopRunning = false;
} // Yielding to the browser will give it a chance to paint, so we can
};
var schedulePerformWorkUntilDeadline;
if (typeof localSetImmediate === 'function') {
// Node.js and old IE.
// There's a few reasons for why we prefer setImmediate.
//
// Unlike MessageChannel, it doesn't prevent a Node.js process from exiting.
// (Even though this is a DOM fork of the Scheduler, you could get here
// with a mix of Node.js 15+, which has a MessageChannel, and jsdom.)
// https://github.com/facebook/react/issues/20756
//
// But also, it runs earlier which is the semantic we want.
// If other browsers ever implement it, it's better to use it.
// Although both of these would be inferior to native scheduling.
schedulePerformWorkUntilDeadline = function () {
localSetImmediate(performWorkUntilDeadline);
};
} else if (typeof MessageChannel !== 'undefined') {
// DOM and Worker environments.
// We prefer MessageChannel because of the 4ms setTimeout clamping.
var channel = new MessageChannel();
var port = channel.port2;
channel.port1.onmessage = performWorkUntilDeadline;
schedulePerformWorkUntilDeadline = function () {
port.postMessage(null);
};
} else {
// We should only fallback here in non-browser environments.
schedulePerformWorkUntilDeadline = function () {
localSetTimeout(performWorkUntilDeadline, 0);
};
}
function requestHostCallback(callback) {
scheduledHostCallback = callback;
if (!isMessageLoopRunning) {
isMessageLoopRunning = true;
schedulePerformWorkUntilDeadline();
}
}
function requestHostTimeout(callback, ms) {
taskTimeoutID = localSetTimeout(function () {
callback(getCurrentTime());
}, ms);
}
function cancelHostTimeout() {
localClearTimeout(taskTimeoutID);
taskTimeoutID = -1;
}
var unstable_requestPaint = requestPaint;
var unstable_Profiling = null;
var Scheduler = /*#__PURE__*/Object.freeze({
__proto__: null,
unstable_ImmediatePriority: ImmediatePriority,
unstable_UserBlockingPriority: UserBlockingPriority,
unstable_NormalPriority: NormalPriority,
unstable_IdlePriority: IdlePriority,
unstable_LowPriority: LowPriority,
unstable_runWithPriority: unstable_runWithPriority,
unstable_next: unstable_next,
unstable_scheduleCallback: unstable_scheduleCallback,
unstable_cancelCallback: unstable_cancelCallback,
unstable_wrapCallback: unstable_wrapCallback,
unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel,
unstable_shouldYield: shouldYieldToHost,
unstable_requestPaint: unstable_requestPaint,
unstable_continueExecution: unstable_continueExecution,
unstable_pauseExecution: unstable_pauseExecution,
unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
get unstable_now () { return getCurrentTime; },
unstable_forceFrameRate: forceFrameRate,
unstable_Profiling: unstable_Profiling
});
var ReactSharedInternals$1 = {
ReactCurrentDispatcher: ReactCurrentDispatcher,
ReactCurrentOwner: ReactCurrentOwner,
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
assign: assign,
// Re-export the schedule API(s) for UMD bundles.
// This avoids introducing a dependency on a new UMD global in a minor update,
// Since that would be a breaking change (e.g. for all existing CodeSandboxes).
// This re-export is only required for UMD bundles;
// CJS bundles use the shared NPM package.
Scheduler: Scheduler
};
{
ReactSharedInternals$1.ReactCurrentActQueue = ReactCurrentActQueue;
ReactSharedInternals$1.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
}
function startTransition(scope) {
var prevTransition = ReactCurrentBatchConfig.transition;
ReactCurrentBatchConfig.transition = 1;
try {
scope();
} finally {
ReactCurrentBatchConfig.transition = prevTransition;
{
if (prevTransition !== 1 && warnOnSubscriptionInsideStartTransition && ReactCurrentBatchConfig._updatedFibers) {
var updatedFibersCount = ReactCurrentBatchConfig._updatedFibers.size;
if (updatedFibersCount > 10) {
warn('Detected a large number of updates inside startTransition. ' + 'If this is due to a subscription please re-write it to use React provided hooks. ' + 'Otherwise concurrent mode guarantees are off the table.');
}
ReactCurrentBatchConfig._updatedFibers.clear();
}
}
}
}
var didWarnAboutMessageChannel = false;
var enqueueTaskImpl = null;
function enqueueTask(task) {
if (enqueueTaskImpl === null) {
try {
// read require off the module object to get around the bundlers.
// we don't want them to detect a require and bundle a Node polyfill.
var requireString = ('require' + Math.random()).slice(0, 7);
var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
// version of setImmediate, bypassing fake timers if any.
enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
} catch (_err) {
// we're in a browser
// we can't use regular timers because they may still be faked
// so we try MessageChannel+postMessage instead
enqueueTaskImpl = function (callback) {
{
if (didWarnAboutMessageChannel === false) {
didWarnAboutMessageChannel = true;
if (typeof MessageChannel === 'undefined') {
error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
}
}
}
var channel = new MessageChannel();
channel.port1.onmessage = callback;
channel.port2.postMessage(undefined);
};
}
}
return enqueueTaskImpl(task);
}
var actScopeDepth = 0;
var didWarnNoAwaitAct = false;
function act(callback) {
{
// `act` calls can be nested, so we track the depth. This represents the
// number of `act` scopes on the stack.
var prevActScopeDepth = actScopeDepth;
actScopeDepth++;
if (ReactCurrentActQueue.current === null) {
// This is the outermost `act` scope. Initialize the queue. The reconciler
// will detect the queue and use it instead of Scheduler.
ReactCurrentActQueue.current = [];
}
var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
var result;
try {
// Used to reproduce behavior of `batchedUpdates` in legacy mode. Only
// set to `true` while the given callback is executed, not for updates
// triggered during an async event, because this is how the legacy
// implementation of `act` behaved.
ReactCurrentActQueue.isBatchingLegacy = true;
result = callback(); // Replicate behavior of original `act` implementation in legacy mode,
// which flushed updates immediately after the scope function exits, even
// if it's an async function.
if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
var queue = ReactCurrentActQueue.current;
if (queue !== null) {
ReactCurrentActQueue.didScheduleLegacyUpdate = false;
flushActQueue(queue);
}
}
} catch (error) {
popActScope(prevActScopeDepth);
throw error;
} finally {
ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
}
if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
var thenableResult = result; // The callback is an async function (i.e. returned a promise). Wait
// for it to resolve before exiting the current scope.
var wasAwaited = false;
var thenable = {
then: function (resolve, reject) {
wasAwaited = true;
thenableResult.then(function (returnValue) {
popActScope(prevActScopeDepth);
if (actScopeDepth === 0) {
// We've exited the outermost act scope. Recursively flush the
// queue until there's no remaining work.
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
} else {
resolve(returnValue);
}
}, function (error) {
// The callback threw an error.
popActScope(prevActScopeDepth);
reject(error);
});
}
};
{
if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
// eslint-disable-next-line no-undef
Promise.resolve().then(function () {}).then(function () {
if (!wasAwaited) {
didWarnNoAwaitAct = true;
error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
}
});
}
}
return thenable;
} else {
var returnValue = result; // The callback is not an async function. Exit the current scope
// immediately, without awaiting.
popActScope(prevActScopeDepth);
if (actScopeDepth === 0) {
// Exiting the outermost act scope. Flush the queue.
var _queue = ReactCurrentActQueue.current;
if (_queue !== null) {
flushActQueue(_queue);
ReactCurrentActQueue.current = null;
} // Return a thenable. If the user awaits it, we'll flush again in
// case additional work was scheduled by a microtask.
var _thenable = {
then: function (resolve, reject) {
// Confirm we haven't re-entered another `act` scope, in case
// the user does something weird like await the thenable
// multiple times.
if (ReactCurrentActQueue.current === null) {
// Recursively flush the queue until there's no remaining work.
ReactCurrentActQueue.current = [];
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
} else {
resolve(returnValue);
}
}
};
return _thenable;
} else {
// Since we're inside a nested `act` scope, the returned thenable
// immediately resolves. The outer scope will flush the queue.
var _thenable2 = {
then: function (resolve, reject) {
resolve(returnValue);
}
};
return _thenable2;
}
}
}
}
function popActScope(prevActScopeDepth) {
{
if (prevActScopeDepth !== actScopeDepth - 1) {
error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
}
actScopeDepth = prevActScopeDepth;
}
}
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
{
var queue = ReactCurrentActQueue.current;
if (queue !== null) {
try {
flushActQueue(queue);
enqueueTask(function () {
if (queue.length === 0) {
// No additional work was scheduled. Finish.
ReactCurrentActQueue.current = null;
resolve(returnValue);
} else {
// Keep flushing work until there's none left.
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
}
});
} catch (error) {
reject(error);
}
} else {
resolve(returnValue);
}
}
}
var isFlushing = false;
function flushActQueue(queue) {
{
if (!isFlushing) {
// Prevent re-entrance.
isFlushing = true;
var i = 0;
try {
for (; i < queue.length; i++) {
var callback = queue[i];
do {
callback = callback(true);
} while (callback !== null);
}
queue.length = 0;
} catch (error) {
// If something throws, leave the remaining callbacks on the queue.
queue = queue.slice(i + 1);
throw error;
} finally {
isFlushing = false;
}
}
}
}
var createElement$1 = createElementWithValidation ;
var cloneElement$1 = cloneElementWithValidation ;
var createFactory = createFactoryWithValidation ;
var Children = {
map: mapChildren,
forEach: forEachChildren,
count: countChildren,
toArray: toArray,
only: onlyChild
};
exports.Children = Children;
exports.Component = Component;
exports.PureComponent = PureComponent;
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals$1;
exports.cloneElement = cloneElement$1;
exports.createContext = createContext;
exports.createElement = createElement$1;
exports.createFactory = createFactory;
exports.createRef = createRef;
exports.forwardRef = forwardRef;
exports.isValidElement = isValidElement;
exports.lazy = lazy;
exports.memo = memo;
exports.startTransition = startTransition;
exports.unstable_act = act;
exports.unstable_createMutableSource = createMutableSource;
exports.unstable_useMutableSource = useMutableSource;
exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
exports.useCallback = useCallback;
exports.useContext = useContext;
exports.useDebugValue = useDebugValue;
exports.useDeferredValue = useDeferredValue;
exports.useEffect = useEffect;
exports.useImperativeHandle = useImperativeHandle;
exports.useLayoutEffect = useLayoutEffect;
exports.useMemo = useMemo;
exports.useReducer = useReducer;
exports.useRef = useRef;
exports.useState = useState;
exports.useTransition = useTransition;
exports.version = ReactVersion;
})));
|
cdnjs/cdnjs
|
ajax/libs/react/18.0.0-alpha-bdd6d5064-20211001/umd/react.development.js
|
JavaScript
|
mit
| 112,128
|
<?
$prefix = $_SERVER['DOCUMENT_ROOT'];
require_once($prefix . '/common/markdown.php');
require_once($prefix . '/common/smartypants.php');
// Connect to Database
include('common/dbconnect.php');
// Only items that have been published
// (No posts scheduled for the future)
$post_cutoff_time = time();
// Number of Posts
$num_of_posts = 14;
// Troubleshoot?
$troubleshoot = FALSE;
// Last Updated
$last_updated_query = "SELECT MAX(published_time) AS last_update FROM blog WHERE published_time<$post_cutoff_time";
$last_updated_result = $mysqli->query($last_updated_query);
$last_updated_array = $last_updated_result->fetch_array(MYSQLI_ASSOC);
$last_updated_timestamp = $last_updated_array['last_update'];
$last_updated = date('c', $last_updated_timestamp);
// Preamble
if(!$troubleshoot){
echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
echo '<feed xmlns="http://www.w3.org/2005/Atom">' . "\n";
}
echo '<title>MEK Studios</title>' . "\n";
echo '<id>tag:www.mekstudios.com,2013-02-10:/notional/20130210055031443</id>' . "\n";
echo '<subtitle type="html">Critical thinking to start your day.<br>A blog of ideas, thoughts, and concepts for consideration.</subtitle>' . "\n";
echo '<link rel="alternate" type="text/html" hreflang="en" href="https://www.mekstudios.com/"/>' . "\n";
echo '<link rel="self" type="application/atom+xml" href="https://www.mekstudios.com/feed/"/>' . "\n";
echo '<rights>Copyright (c) 2013 Michael E. Kirkpatrick</rights>' . "\n";
echo '<updated>' . $last_updated . '</updated>' . "\n";
echo '<author>' . "\n";
echo ' <name>Michael E. Kirkpatrick</name>' . "\n";
echo ' <uri>http://www.mekstudios.com</uri>' . "\n";
echo ' <email>michael@mekstudios.com</email>' . "\n";
echo '</author>' . "\n";
// Cycle through posts
$article_query = "SELECT url, link, title, author, published_time, published_month, published_year, updated_time, text, atom_id FROM blog WHERE published_time<$post_cutoff_time ORDER BY published_time DESC LIMIT $num_of_posts";
$article_result = $mysqli->query($article_query);
while($article_array = $article_result->fetch_array(MYSQLI_ASSOC)){
echo '<entry>' . "\n";
//echo ' <title type="html">' . htmlspecialchars(html_entity_decode($article_array['title'], ENT_QUOTES | ENT_HTML5, "UTF-8")) . '</title>' . "\n";
echo ' <title type="html">' . htmlspecialchars(SmartyPants($article_array['title'], ENT_QUOTES | ENT_HTML5, "UTF-8")) . '</title>' . "\n";
echo ' <id>' . $article_array['atom_id'] . '</id>' . "\n";
if($article_array['link'] != ''){echo ' <link href="' . htmlspecialchars($article_array['link']) . '" rel="via" type="text/html" />' . "\n";}
echo ' <link href="http://www.mekstudios.com/' . $article_array['published_year'] . '/' . $article_array['published_month'] . '/' . $article_array['url'] . '" rel="alternate" type="text/html" />' . "\n";
echo ' <published>' . date('c', $article_array['published_time']) . '</published>' . "\n";
# If Updated
if($article_array['updated_time'] != ''){
echo ' <updated>' . date('c', $article_array['updated_time']) . '</updated>' . "\n";
}else{
echo ' <updated>' . date('c', $article_array['published_time']) . '</updated>' . "\n";
}
echo ' <author>' . "\n";
echo ' <name>' . $article_array['author'] . '</name>' . "\n";
echo ' </author>' . "\n";
$text_display = SmartyPants(Markdown($article_array['text']));
//$text_display = html_entity_decode($article_array['text'], ENT_QUOTES | ENT_HTML5, "UTF-8");
//$text_display = str_replace('\r\n', '', $text_display);
$find = array('&', '<');
$replace = array('&', '<');
$text_display = str_replace($find, $replace, $text_display);
echo ' <content type="html">' . $text_display . '</content>' . "\n";
echo '</entry>' . "\n";
}
// End of Feed
echo '</feed>' . "\n";
?>
|
mk14/Long-Beach
|
atom-feed.php
|
PHP
|
mit
| 3,777
|
<div id="sidetoggle">
<div>
<div class="sidefilter">
<form class="toc-filter">
<span class="glyphicon glyphicon-filter filter-icon"></span>
<span class="glyphicon glyphicon-remove clear-icon" id="toc_filter_clear"></span>
<input type="text" id="toc_filter_input" placeholder="Enter here to filter..." onkeypress="if(event.keyCode==13) {return false;}">
</form>
</div>
<div class="sidetoc">
<div class="toc" id="toc">
<ul class="nav level1">
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.html" name="" title="DontPanic.TumblrSharp">DontPanic.TumblrSharp</a>
<ul class="nav level2">
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.ApiMethod.html" name="" title="ApiMethod">ApiMethod</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.ApiMethod.-ctor.html" name="" title="ApiMethod">ApiMethod</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.ApiMethod.HttpMethod.html" name="" title="HttpMethod">HttpMethod</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.ApiMethod.OAuthToken.html" name="" title="OAuthToken">OAuthToken</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.ApiMethod.Parameters.html" name="" title="Parameters">Parameters</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.ApiMethod.Url.html" name="" title="Url">Url</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="DontPanic.TumblrSharp.AvatarShape.html" name="" title="AvatarShape">AvatarShape</a>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.BinaryFile.html" name="" title="BinaryFile">BinaryFile</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.BinaryFile.-ctor.html" name="" title="BinaryFile">BinaryFile</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.BinaryFile.Data.html" name="" title="Data">Data</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.BinaryFile.FileName.html" name="" title="FileName">FileName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.BinaryFile.MimeType.html" name="" title="MimeType">MimeType</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.BlogMethod.html" name="" title="BlogMethod">BlogMethod</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.BlogMethod.-ctor.html" name="" title="BlogMethod">BlogMethod</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="DontPanic.TumblrSharp.BlogType.html" name="" title="BlogType">BlogType</a>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.DateTimeHelper.html" name="" title="DateTimeHelper">DateTimeHelper</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.DateTimeHelper.FromTimestamp.html" name="" title="FromTimestamp">FromTimestamp</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.DateTimeHelper.ToTimestamp.html" name="" title="ToTimestamp">ToTimestamp</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.HmacSha1HashProvider.html" name="" title="HmacSha1HashProvider">HmacSha1HashProvider</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.HmacSha1HashProvider.ComputeHash.html" name="" title="ComputeHash">ComputeHash</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.IHmacSha1HashProvider.html" name="" title="IHmacSha1HashProvider">IHmacSha1HashProvider</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.IHmacSha1HashProvider.ComputeHash.html" name="" title="ComputeHash">ComputeHash</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.IMethodParameter.html" name="" title="IMethodParameter">IMethodParameter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.IMethodParameter.Name.html" name="" title="Name">Name</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.IMethodParameter.AsHttpContent.html" name="" title="AsHttpContent">AsHttpContent</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.ITumblrClientFactory.html" name="" title="ITumblrClientFactory">ITumblrClientFactory</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.ITumblrClientFactory.Create.html" name="" title="Create">Create</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.MethodParameterSet.html" name="" title="MethodParameterSet">MethodParameterSet</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.MethodParameterSet.-ctor.html" name="" title="MethodParameterSet">MethodParameterSet</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.MethodParameterSet.Add.html" name="" title="Add">Add</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="DontPanic.TumblrSharp.NoteType.html" name="" title="NoteType">NoteType</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostCreationState.html" name="" title="PostCreationState">PostCreationState</a>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.PostData.html" name="" title="PostData">PostData</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.PostData.Date.html" name="" title="Date">Date</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.Format.html" name="" title="Format">Format</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.Publish_On.html" name="" title="Publish_On">Publish_On</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.Slug.html" name="" title="Slug">Slug</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.State.html" name="" title="State">State</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.Tags.html" name="" title="Tags">Tags</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.Tweet.html" name="" title="Tweet">Tweet</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateAnswer.html" name="" title="CreateAnswer">CreateAnswer</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateAudio.html" name="" title="CreateAudio">CreateAudio</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateChat.html" name="" title="CreateChat">CreateChat</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateLink.html" name="" title="CreateLink">CreateLink</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreatePhoto.html" name="" title="CreatePhoto">CreatePhoto</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateQuote.html" name="" title="CreateQuote">CreateQuote</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateText.html" name="" title="CreateText">CreateText</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.CreateVideo.html" name="" title="CreateVideo">CreateVideo</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostData.ToMethodParameterSet.html" name="" title="ToMethodParameterSet">ToMethodParameterSet</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostFilter.html" name="" title="PostFilter">PostFilter</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostFormat.html" name="" title="PostFormat">PostFormat</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.PostType.html" name="" title="PostType">PostType</a>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.TumblrClientBase.html" name="" title="TumblrClientBase">TumblrClientBase</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrClientBase.-ctor.html" name="" title="TumblrClientBase">TumblrClientBase</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrClientBase.OAuthToken.html" name="" title="OAuthToken">OAuthToken</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrClientBase.CallApiMethodAsync.html" name="" title="CallApiMethodAsync">CallApiMethodAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrClientBase.CallApiMethodNoResultAsync.html" name="" title="CallApiMethodNoResultAsync">CallApiMethodNoResultAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrClientBase.Dispose.html" name="" title="Dispose">Dispose</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.TumblrClientFactory.html" name="" title="TumblrClientFactory">TumblrClientFactory</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrClientFactory.ConfigureService.html" name="" title="ConfigureService">ConfigureService</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrClientFactory.Create.html" name="" title="Create">Create</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.TumblrError.html" name="" title="TumblrError">TumblrError</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrError.Code.html" name="" title="Code">Code</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrError.Detail.html" name="" title="Detail">Detail</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrError.Title.html" name="" title="Title">Title</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrError.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrError.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.TumblrErrorsConverter.html" name="" title="TumblrErrorsConverter">TumblrErrorsConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrErrorsConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrErrorsConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrErrorsConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.TumblrException.html" name="" title="TumblrException">TumblrException</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrException.-ctor.html" name="" title="TumblrException">TumblrException</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.TumblrException.Errors.html" name="" title="Errors">Errors</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.TumblrException.StatusCode.html" name="" title="StatusCode">StatusCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.UserMethod.html" name="" title="UserMethod">UserMethod</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.UserMethod.-ctor.html" name="" title="UserMethod">UserMethod</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.html" name="" title="DontPanic.TumblrSharp.Client">DontPanic.TumblrSharp.Client</a>
<ul class="nav level2">
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.AnswerPost.html" name="" title="AnswerPost">AnswerPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.AnswerPost.Answer.html" name="" title="Answer">Answer</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AnswerPost.AskingName.html" name="" title="AskingName">AskingName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AnswerPost.AskingUrl.html" name="" title="AskingUrl">AskingUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AnswerPost.Question.html" name="" title="Question">Question</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.AudioPost.html" name="" title="AudioPost">AudioPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.Album.html" name="" title="Album">Album</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.AlbumArt.html" name="" title="AlbumArt">AlbumArt</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.Artist.html" name="" title="Artist">Artist</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.AudioUrl.html" name="" title="AudioUrl">AudioUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.Caption.html" name="" title="Caption">Caption</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.Player.html" name="" title="Player">Player</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.PlaysCount.html" name="" title="PlaysCount">PlaysCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.TrackName.html" name="" title="TrackName">TrackName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.TrackNumber.html" name="" title="TrackNumber">TrackNumber</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.AudioPost.Year.html" name="" title="Year">Year</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.BaseNote.html" name="" title="BaseNote">BaseNote</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.AvatarShape.html" name="" title="AvatarShape">AvatarShape</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.BlogName.html" name="" title="BlogName">BlogName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.BlogUrl.html" name="" title="BlogUrl">BlogUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.BlogUuid.html" name="" title="BlogUuid">BlogUuid</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.Followed.html" name="" title="Followed">Followed</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.PostId.html" name="" title="PostId">PostId</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.ReblogParentBlogName.html" name="" title="ReblogParentBlogName">ReblogParentBlogName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.ReplyText.html" name="" title="ReplyText">ReplyText</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.Timestamp.html" name="" title="Timestamp">Timestamp</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.Type.html" name="" title="Type">Type</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BaseNote.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.BasePost.html" name="" title="BasePost">BasePost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.BlogName.html" name="" title="BlogName">BlogName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Format.html" name="" title="Format">Format</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Id.html" name="" title="Id">Id</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.IsBookmarklet.html" name="" title="IsBookmarklet">IsBookmarklet</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.IsMobile.html" name="" title="IsMobile">IsMobile</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Liked.html" name="" title="Liked">Liked</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Notes.html" name="" title="Notes">Notes</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.NotesCount.html" name="" title="NotesCount">NotesCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.NumberOfPostsInResponse.html" name="" title="NumberOfPostsInResponse">NumberOfPostsInResponse</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Reblog.html" name="" title="Reblog">Reblog</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedFromId.html" name="" title="RebloggedFromId">RebloggedFromId</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedFromName.html" name="" title="RebloggedFromName">RebloggedFromName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedFromTitle.html" name="" title="RebloggedFromTitle">RebloggedFromTitle</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedFromUrl.html" name="" title="RebloggedFromUrl">RebloggedFromUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedRootId.html" name="" title="RebloggedRootId">RebloggedRootId</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedRootName.html" name="" title="RebloggedRootName">RebloggedRootName</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedRootTitle.html" name="" title="RebloggedRootTitle">RebloggedRootTitle</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.RebloggedRootUrl.html" name="" title="RebloggedRootUrl">RebloggedRootUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.ReblogKey.html" name="" title="ReblogKey">ReblogKey</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.ShortUrl.html" name="" title="ShortUrl">ShortUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Slug.html" name="" title="Slug">Slug</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.SourceTitle.html" name="" title="SourceTitle">SourceTitle</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.SourceUrl.html" name="" title="SourceUrl">SourceUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.State.html" name="" title="State">State</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Summary.html" name="" title="Summary">Summary</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Tags.html" name="" title="Tags">Tags</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Timestamp.html" name="" title="Timestamp">Timestamp</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Trails.html" name="" title="Trails">Trails</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Type.html" name="" title="Type">Type</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BasePost.Url.html" name="" title="Url">Url</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.BlogBase.html" name="" title="BlogBase">BlogBase</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.BlogBase.LastUpdated.html" name="" title="LastUpdated">LastUpdated</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogBase.Name.html" name="" title="Name">Name</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogBase.Title.html" name="" title="Title">Title</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogBase.Url.html" name="" title="Url">Url</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.html" name="" title="BlogInfo">BlogInfo</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.AskPageTitle.html" name="" title="AskPageTitle">AskPageTitle</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.Description.html" name="" title="Description">Description</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.IsAdult.html" name="" title="IsAdult">IsAdult</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.IsAnonAskEnabled.html" name="" title="IsAnonAskEnabled">IsAnonAskEnabled</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.IsAskEnabled.html" name="" title="IsAskEnabled">IsAskEnabled</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.IsNsfw.html" name="" title="IsNsfw">IsNsfw</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.IsOptoutAds.html" name="" title="IsOptoutAds">IsOptoutAds</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.LikesCount.html" name="" title="LikesCount">LikesCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.PostsCount.html" name="" title="PostsCount">PostsCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.ReplyConditions.html" name="" title="ReplyConditions">ReplyConditions</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.ShareLikes.html" name="" title="ShareLikes">ShareLikes</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.SubmissionPageTitle.html" name="" title="SubmissionPageTitle">SubmissionPageTitle</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BlogInfo.Subscribed.html" name="" title="Subscribed">Subscribed</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.BoolConverter.html" name="" title="BoolConverter">BoolConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.BoolConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BoolConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.BoolConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.ChatFragment.html" name="" title="ChatFragment">ChatFragment</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.ChatFragment.Label.html" name="" title="Label">Label</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.ChatFragment.Name.html" name="" title="Name">Name</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.ChatFragment.Phrase.html" name="" title="Phrase">Phrase</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.ChatPost.html" name="" title="ChatPost">ChatPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.ChatPost.Body.html" name="" title="Body">Body</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.ChatPost.Dialogue.html" name="" title="Dialogue">Dialogue</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.ChatPost.Title.html" name="" title="Title">Title</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.DashboardOption.html" name="" title="DashboardOption">DashboardOption</a>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.EnumStringConverter.html" name="" title="EnumStringConverter">EnumStringConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.EnumStringConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.EnumStringConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.EnumStringConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Exif.html" name="" title="Exif">Exif</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Exif.Aperture.html" name="" title="Aperture">Aperture</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Exif.Camera.html" name="" title="Camera">Camera</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Exif.Exposure.html" name="" title="Exposure">Exposure</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Exif.FocalLength.html" name="" title="FocalLength">FocalLength</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Exif.ISO.html" name="" title="ISO">ISO</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Followers.html" name="" title="Followers">Followers</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Followers.Count.html" name="" title="Count">Count</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Followers.LastUpdated.html" name="" title="LastUpdated">LastUpdated</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Followers.PrimaryBlogUrl.html" name="" title="PrimaryBlogUrl">PrimaryBlogUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Followers.Result.html" name="" title="Result">Result</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Followers.UserName.html" name="" title="UserName">UserName</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Following.html" name="" title="Following">Following</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Following.Count.html" name="" title="Count">Count</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Following.Result.html" name="" title="Result">Result</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Likes.html" name="" title="Likes">Likes</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Likes.Count.html" name="" title="Count">Count</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Likes.Result.html" name="" title="Result">Result</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.LinkPost.html" name="" title="LinkPost">LinkPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.LinkPost.Description.html" name="" title="Description">Description</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.LinkPost.LinkUrl.html" name="" title="LinkUrl">LinkUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.LinkPost.Title.html" name="" title="Title">Title</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.NoteConverter.html" name="" title="NoteConverter">NoteConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.NoteConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.NoteConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.NoteConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Photo.html" name="" title="Photo">Photo</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Photo.AlternateSizes.html" name="" title="AlternateSizes">AlternateSizes</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Photo.Caption.html" name="" title="Caption">Caption</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Photo.Exif.html" name="" title="Exif">Exif</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Photo.OriginalSize.html" name="" title="OriginalSize">OriginalSize</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.PhotoInfo.html" name="" title="PhotoInfo">PhotoInfo</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.PhotoInfo.Height.html" name="" title="Height">Height</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PhotoInfo.ImageUrl.html" name="" title="ImageUrl">ImageUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PhotoInfo.Width.html" name="" title="Width">Width</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.PhotoPost.html" name="" title="PhotoPost">PhotoPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.PhotoPost.Caption.html" name="" title="Caption">Caption</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PhotoPost.Photo.html" name="" title="Photo">Photo</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PhotoPost.PhotoSet.html" name="" title="PhotoSet">PhotoSet</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Player.html" name="" title="Player">Player</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Player.EmbedCode.html" name="" title="EmbedCode">EmbedCode</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Player.Width.html" name="" title="Width">Width</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.PostArrayConverter.html" name="" title="PostArrayConverter">PostArrayConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.PostArrayConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PostArrayConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PostArrayConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.PostAttributionNote.html" name="" title="PostAttributionNote">PostAttributionNote</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.PostAttributionNote.Photo_height.html" name="" title="Photo_height">Photo_height</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PostAttributionNote.Photo_url.html" name="" title="Photo_url">Photo_url</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PostAttributionNote.Photo_width.html" name="" title="Photo_width">Photo_width</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PostAttributionNote.Post_attribution_type.html" name="" title="Post_attribution_type">Post_attribution_type</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.PostAttributionNote.Post_attribution_type_name.html" name="" title="Post_attribution_type_name">Post_attribution_type_name</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.PostCreationInfo.html" name="" title="PostCreationInfo">PostCreationInfo</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.PostCreationInfo.PostId.html" name="" title="PostId">PostId</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Posts.html" name="" title="Posts">Posts</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Posts.Blog.html" name="" title="Blog">Blog</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Posts.Result.html" name="" title="Result">Result</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.QuotePost.html" name="" title="QuotePost">QuotePost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.QuotePost.Source.html" name="" title="Source">Source</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.QuotePost.Text.html" name="" title="Text">Text</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Reblog.html" name="" title="Reblog">Reblog</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Reblog.Comment.html" name="" title="Comment">Comment</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Reblog.TreeHtml.html" name="" title="TreeHtml">TreeHtml</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TextPost.html" name="" title="TextPost">TextPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TextPost.Body.html" name="" title="Body">Body</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TextPost.Title.html" name="" title="Title">Title</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TimestampConverter.html" name="" title="TimestampConverter">TimestampConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TimestampConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TimestampConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TimestampConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.Trail.html" name="" title="Trail">Trail</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Trail.Blog.html" name="" title="Blog">Blog</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Trail.Content.html" name="" title="Content">Content</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Trail.ContentRaw.html" name="" title="ContentRaw">ContentRaw</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Trail.Post.html" name="" title="Post">Post</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.Trail.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.Trail.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.html" name="" title="TrailBlog">TrailBlog</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.Active.html" name="" title="Active">Active</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.CanBeFollowed.html" name="" title="CanBeFollowed">CanBeFollowed</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.Name.html" name="" title="Name">Name</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.ShareFollowing.html" name="" title="ShareFollowing">ShareFollowing</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.ShareLikes.html" name="" title="ShareLikes">ShareLikes</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.Theme.html" name="" title="Theme">Theme</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailBlog.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TrailConverter.html" name="" title="TrailConverter">TrailConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TrailPost.html" name="" title="TrailPost">TrailPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailPost.Id.html" name="" title="Id">Id</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailPost.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailPost.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.html" name="" title="TrailTheme">TrailTheme</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.AvatarShape.html" name="" title="AvatarShape">AvatarShape</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.BackgroundColor.html" name="" title="BackgroundColor">BackgroundColor</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.BodyFont.html" name="" title="BodyFont">BodyFont</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderBounds.html" name="" title="HeaderBounds">HeaderBounds</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderFocusHeight.html" name="" title="HeaderFocusHeight">HeaderFocusHeight</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderFocusWidth.html" name="" title="HeaderFocusWidth">HeaderFocusWidth</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderFullHeight.html" name="" title="HeaderFullHeight">HeaderFullHeight</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderFullWidth.html" name="" title="HeaderFullWidth">HeaderFullWidth</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderImage.html" name="" title="HeaderImage">HeaderImage</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderImageFocused.html" name="" title="HeaderImageFocused">HeaderImageFocused</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderImageScaled.html" name="" title="HeaderImageScaled">HeaderImageScaled</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.HeaderStretch.html" name="" title="HeaderStretch">HeaderStretch</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.LinkColor.html" name="" title="LinkColor">LinkColor</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.ShowAvatar.html" name="" title="ShowAvatar">ShowAvatar</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.ShowDescription.html" name="" title="ShowDescription">ShowDescription</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.ShowHeaderImage.html" name="" title="ShowHeaderImage">ShowHeaderImage</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.ShowTitle.html" name="" title="ShowTitle">ShowTitle</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.TitleColor.html" name="" title="TitleColor">TitleColor</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.TitleFont.html" name="" title="TitleFont">TitleFont</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.TitleFontWeight.html" name="" title="TitleFontWeight">TitleFontWeight</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailTheme.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TrailThemeConverter.html" name="" title="TrailThemeConverter">TrailThemeConverter</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TrailThemeConverter.CanConvert.html" name="" title="CanConvert">CanConvert</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailThemeConverter.ReadJson.html" name="" title="ReadJson">ReadJson</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TrailThemeConverter.WriteJson.html" name="" title="WriteJson">WriteJson</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.html" name="" title="TumblrClient">TumblrClient</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.-ctor.html" name="" title="TumblrClient">TumblrClient</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.CreatePostAsync.html" name="" title="CreatePostAsync">CreatePostAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.DeletePostAsync.html" name="" title="DeletePostAsync">DeletePostAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.Dispose.html" name="" title="Dispose">Dispose</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.EditPostAsync.html" name="" title="EditPostAsync">EditPostAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.FollowAsync.html" name="" title="FollowAsync">FollowAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetBlogInfoAsync.html" name="" title="GetBlogInfoAsync">GetBlogInfoAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetBlogLikesAsync.html" name="" title="GetBlogLikesAsync">GetBlogLikesAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetDashboardPostsAsync.html" name="" title="GetDashboardPostsAsync">GetDashboardPostsAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetDraftPostsAsync.html" name="" title="GetDraftPostsAsync">GetDraftPostsAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetFollowersAsync.html" name="" title="GetFollowersAsync">GetFollowersAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetFollowingAsync.html" name="" title="GetFollowingAsync">GetFollowingAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetLikesAsync.html" name="" title="GetLikesAsync">GetLikesAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetPostAsync.html" name="" title="GetPostAsync">GetPostAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetPostsAsync.html" name="" title="GetPostsAsync">GetPostsAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetQueuedPostsAsync.html" name="" title="GetQueuedPostsAsync">GetQueuedPostsAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetSubmissionPostsAsync.html" name="" title="GetSubmissionPostsAsync">GetSubmissionPostsAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetTaggedPostsAsync.html" name="" title="GetTaggedPostsAsync">GetTaggedPostsAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetUserInfoAsync.html" name="" title="GetUserInfoAsync">GetUserInfoAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.GetUserLikesAsync.html" name="" title="GetUserLikesAsync">GetUserLikesAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.LikeAsync.html" name="" title="LikeAsync">LikeAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.ReblogAsync.html" name="" title="ReblogAsync">ReblogAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.UnfollowAsync.html" name="" title="UnfollowAsync">UnfollowAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.TumblrClient.UnlikeAsync.html" name="" title="UnlikeAsync">UnlikeAsync</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.html" name="" title="UserBlogInfo">UserBlogInfo</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.BlogType.html" name="" title="BlogType">BlogType</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.DraftsCount.html" name="" title="DraftsCount">DraftsCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.FollowersCount.html" name="" title="FollowersCount">FollowersCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.IsFacebookPostEnabled.html" name="" title="IsFacebookPostEnabled">IsFacebookPostEnabled</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.IsPrimary.html" name="" title="IsPrimary">IsPrimary</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.IsSharingLikes.html" name="" title="IsSharingLikes">IsSharingLikes</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.IsTweetEnabled.html" name="" title="IsTweetEnabled">IsTweetEnabled</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.MessagesCount.html" name="" title="MessagesCount">MessagesCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserBlogInfo.QueueCount.html" name="" title="QueueCount">QueueCount</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.UserInfo.html" name="" title="UserInfo">UserInfo</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.UserInfo.Blogs.html" name="" title="Blogs">Blogs</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserInfo.DefaultPostFormat.html" name="" title="DefaultPostFormat">DefaultPostFormat</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserInfo.FollowingCount.html" name="" title="FollowingCount">FollowingCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserInfo.LikesCount.html" name="" title="LikesCount">LikesCount</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.UserInfo.Name.html" name="" title="Name">Name</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.Client.VideoPost.html" name="" title="VideoPost">VideoPost</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.Caption.html" name="" title="Caption">Caption</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.Duration.html" name="" title="Duration">Duration</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.IsHtml5Capable.html" name="" title="IsHtml5Capable">IsHtml5Capable</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.Player.html" name="" title="Player">Player</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.ThumbnailHeight.html" name="" title="ThumbnailHeight">ThumbnailHeight</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.ThumbnailUrl.html" name="" title="ThumbnailUrl">ThumbnailUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.ThumbnailWidth.html" name="" title="ThumbnailWidth">ThumbnailWidth</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.Client.VideoPost.VideoUrl.html" name="" title="VideoUrl">VideoUrl</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.html" name="" title="DontPanic.TumblrSharp.OAuth">DontPanic.TumblrSharp.OAuth</a>
<ul class="nav level2">
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.IOAuthClientFactory.html" name="" title="IOAuthClientFactory">IOAuthClientFactory</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.IOAuthClientFactory.Create.html" name="" title="Create">Create</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClient.html" name="" title="OAuthClient">OAuthClient</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClient.-ctor.html" name="" title="OAuthClient">OAuthClient</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClient.GetAccessTokenAsync.html" name="" title="GetAccessTokenAsync">GetAccessTokenAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClient.GetAuthorizeUrl.html" name="" title="GetAuthorizeUrl">GetAuthorizeUrl</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClient.GetRequestTokenAsync.html" name="" title="GetRequestTokenAsync">GetRequestTokenAsync</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClient.PerformXAuthAsync.html" name="" title="PerformXAuthAsync">PerformXAuthAsync</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClientFactory.html" name="" title="OAuthClientFactory">OAuthClientFactory</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthClientFactory.Create.html" name="" title="Create">Create</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.OAuthException.html" name="" title="OAuthException">OAuthException</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthException.-ctor.html" name="" title="OAuthException">OAuthException</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.OAuthMessageHandler.html" name="" title="OAuthMessageHandler">OAuthMessageHandler</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthMessageHandler.-ctor.html" name="" title="OAuthMessageHandler">OAuthMessageHandler</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.OAuthMessageHandler.SendAsync.html" name="" title="SendAsync">SendAsync</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a href="DontPanic.TumblrSharp.OAuth.Token.html" name="" title="Token">Token</a>
<ul class="nav level3">
<li>
<span class="expand-stub"></span>
<a>Constructors</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.-ctor.html" name="" title="Token">Token</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Properties</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.IsValid.html" name="" title="IsValid">IsValid</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.Key.html" name="" title="Key">Key</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.Secret.html" name="" title="Secret">Secret</a>
</li>
</ul>
</li>
<li>
<span class="expand-stub"></span>
<a>Methods</a>
<ul class="nav level4">
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.Equals.html" name="" title="Equals">Equals</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.GetHashCode.html" name="" title="GetHashCode">GetHashCode</a>
</li>
<li>
<a href="DontPanic.TumblrSharp.OAuth.Token.ToString.html" name="" title="ToString">ToString</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
|
piedoom/TumblrSharp
|
docs/api/toc.html
|
HTML
|
mit
| 132,145
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.ResourceManager.Network.Models
{
/// <summary> NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. </summary>
public partial class NetworkWatcherGetAzureReachabilityReportOperation : Operation<AzureReachabilityReport>, IOperationSource<AzureReachabilityReport>
{
private readonly OperationInternals<AzureReachabilityReport> _operation;
/// <summary> Initializes a new instance of NetworkWatcherGetAzureReachabilityReportOperation for mocking. </summary>
protected NetworkWatcherGetAzureReachabilityReportOperation()
{
}
internal NetworkWatcherGetAzureReachabilityReportOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
{
_operation = new OperationInternals<AzureReachabilityReport>(this, clientDiagnostics, pipeline, request, response, OperationFinalStateVia.Location, "NetworkWatcherGetAzureReachabilityReportOperation");
}
/// <inheritdoc />
public override string Id => _operation.Id;
/// <inheritdoc />
public override AzureReachabilityReport Value => _operation.Value;
/// <inheritdoc />
public override bool HasCompleted => _operation.HasCompleted;
/// <inheritdoc />
public override bool HasValue => _operation.HasValue;
/// <inheritdoc />
public override Response GetRawResponse() => _operation.GetRawResponse();
/// <inheritdoc />
public override Response UpdateStatus(CancellationToken cancellationToken = default) => _operation.UpdateStatus(cancellationToken);
/// <inheritdoc />
public override ValueTask<Response> UpdateStatusAsync(CancellationToken cancellationToken = default) => _operation.UpdateStatusAsync(cancellationToken);
/// <inheritdoc />
public override ValueTask<Response<AzureReachabilityReport>> WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken);
/// <inheritdoc />
public override ValueTask<Response<AzureReachabilityReport>> WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(pollingInterval, cancellationToken);
AzureReachabilityReport IOperationSource<AzureReachabilityReport>.CreateResult(Response response, CancellationToken cancellationToken)
{
using var document = JsonDocument.Parse(response.ContentStream);
return AzureReachabilityReport.DeserializeAzureReachabilityReport(document.RootElement);
}
async ValueTask<AzureReachabilityReport> IOperationSource<AzureReachabilityReport>.CreateResultAsync(Response response, CancellationToken cancellationToken)
{
using var document = await JsonDocument.ParseAsync(response.ContentStream, default, cancellationToken).ConfigureAwait(false);
return AzureReachabilityReport.DeserializeAzureReachabilityReport(document.RootElement);
}
}
}
|
AsrOneSdk/azure-sdk-for-net
|
sdk/network/Azure.ResourceManager.Network/src/Generated/LongRunningOperation/NetworkWatcherGetAzureReachabilityReportOperation.cs
|
C#
|
mit
| 3,516
|
angular.module('ExampleCtrl', []).controller('ExampleCtrl', ['$scope',
function($scope) {
$scope.createItems = function() {
$scope.items = [];
for (var i = 0; i < 100; i++) {
$scope.items[i] = {
ratio: Math.max(0.4, Math.random() * 2),
color: '#' + ('000000' + Math.floor(Math.random()*16777215).toString(16)).slice(-6)
};
}
};
$scope.createItems();
}
]);
angular.module('ExampleApp', ['hj.columnify', 'ExampleCtrl']).config(function() {});
|
homerjam/angular-columnify
|
example/app.js
|
JavaScript
|
mit
| 557
|
package model.expression;
/**
* The type Operation.
*/
public class Operation
{
/**
* The constant ADD.
*/
public static final int ADD = 1;
/**
* The constant SUBTRACT.
*/
public static final int SUBTRACT = 2;
/**
* The constant MULTIPLY.
*/
public static final int MULTIPLY = 3;
/**
* The constant DIVIDE.
*/
public static final int DIVIDE = 4;
/**
* Operation to string.
*
* @param op the op
* @return the string
*/
public static String operationToString(int op)
{
switch (op)
{
case ADD:
return "+";
case SUBTRACT:
return "-";
case MULTIPLY:
return "*";
case DIVIDE:
return "/";
default:
return "";
}
}
}
|
leyyin/university
|
advanced-programming-methods/labs/toy-interpreter-java/src/model/expression/Operation.java
|
Java
|
mit
| 895
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_10) on Fri Feb 02 11:42:09 PST 2007 -->
<TITLE>
Index
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="Index";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_K_">K</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <A HREF="#_X_">X</A> <HR>
<A NAME="_A_"><!-- --></A><H2>
<B>A</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/Server.html#ACCEPT_TIMEOUT"><B>ACCEPT_TIMEOUT</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/AgentClient.html#AGENT_CLIENT_OPTS"><B>AGENT_CLIENT_OPTS</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca"><B>AgentClient</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>.<DD>This class allows access to the services provided by an Inca Agent.<DT><A HREF="edu/sdsc/inca/AgentClient.html#AgentClient()"><B>AgentClient()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#addRepository(edu.sdsc.inca.repository.Repository)"><B>addRepository(Repository)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Add a repository to the set.
<DT><A HREF="edu/sdsc/inca/Component.html#addTrustedCert(java.security.cert.Certificate)"><B>addTrustedCert(Certificate)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Add a single trusted certificate.
<DT><A HREF="edu/sdsc/inca/util/WorkQueue.html#addWork(java.lang.Object)"><B>addWork(Object)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueue.html" title="class in edu.sdsc.inca.util">WorkQueue</A>
<DD>Add a task to the workQueue.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#appendSeriesConfig(edu.sdsc.inca.dataModel.util.SeriesConfig)"><B>appendSeriesConfig(SeriesConfig)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Append a new series config to the existing suite.
<DT><A HREF="edu/sdsc/inca/Component.html#authenticate"><B>authenticate</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
</DL>
<HR>
<A NAME="_B_"><!-- --></A><H2>
<B>B</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#baseUrl"><B>baseUrl</B></A> -
Variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#binary(java.lang.StringBuffer, java.util.Properties, java.lang.String)"><B>binary(StringBuffer, Properties, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Part of a simple top-down expression evaluator.
</DL>
<HR>
<A NAME="_C_"><!-- --></A><H2>
<B>C</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#CATALOG_GET_COMMAND"><B>CATALOG_GET_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: GETCATALOG [SP url] CRLF
Response: OK SP reporters CRLF.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#CATALOG_NAME"><B>CATALOG_NAME</B></A> -
Static variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#CHECK_PERIOD_MACRO"><B>CHECK_PERIOD_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#CHECK_PERIOD_MACRO_DEFAULT"><B>CHECK_PERIOD_MACRO_DEFAULT</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html#CLIENT_OPTS"><B>CLIENT_OPTS</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#CLIENT_TIMEOUT"><B>CLIENT_TIMEOUT</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#COMPONENT_OPTS"><B>COMPONENT_OPTS</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#COMPUTE_METHODS"><B>COMPUTE_METHODS</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#COMPUTE_METHOD_MACRO"><B>COMPUTE_METHOD_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#COMPUTE_METHOD_MACRO_DEFAULT"><B>COMPUTE_METHOD_MACRO_DEFAULT</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#COMPUTE_PORT_MACRO"><B>COMPUTE_PORT_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#COMPUTE_SERVER_MACRO"><B>COMPUTE_SERVER_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#CONFIG_GET_COMMAND"><B>CONFIG_GET_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: GETCONFIG CRLF
Response: OK SP xml CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#CONFIG_SET_COMMAND"><B>CONFIG_SET_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: SETCONFIG xml CRLF
Response: OK CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#CR"><B>CR</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>
<DT><A HREF="edu/sdsc/inca/DepotClient.html#CRLF"><B>CRLF</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#CRLF"><B>CRLF</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html#CRLF"><B>CRLF</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol">ProtocolWriterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html#CRLF"><B>CRLF</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersionTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca"><B>Client</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>.<DD>This class implements the functionality common to all Inca client classes.<DT><A HREF="edu/sdsc/inca/Client.html#Client()"><B>Client()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca"><B>Component</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>.<DD>This class encapsulates the common behavior of the Client and Server classes.<DT><A HREF="edu/sdsc/inca/Component.html#Component()"><B>Component()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util"><B>ConfigProperties</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>.<DD>This is an extension of the standard Properties class that can generate
elements by command-line parsing and by stripping prefixes from the elements
of Properties objects--both useful in generating configuration values.<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#ConfigProperties()"><B>ConfigProperties()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util"><B>ConfigPropertiesTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#ConfigPropertiesTest()"><B>ConfigPropertiesTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ConfigurationException.html" title="class in edu.sdsc.inca"><B>ConfigurationException</B></A> - exception edu.sdsc.inca.<A HREF="edu/sdsc/inca/ConfigurationException.html" title="class in edu.sdsc.inca">ConfigurationException</A>.<DD>Indicates that some configuration problem has occured within Inca.<DT><A HREF="edu/sdsc/inca/ConfigurationException.html#ConfigurationException()"><B>ConfigurationException()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ConfigurationException.html" title="class in edu.sdsc.inca">ConfigurationException</A>
<DD>Default constructor.
<DT><A HREF="edu/sdsc/inca/ConfigurationException.html#ConfigurationException(java.lang.String)"><B>ConfigurationException(String)</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ConfigurationException.html" title="class in edu.sdsc.inca">ConfigurationException</A>
<DD>Create a configuration exception with the given message.
<DT><A HREF="edu/sdsc/inca/ConfigurationException.html#ConfigurationException(java.lang.String, java.lang.Throwable)"><B>ConfigurationException(String, Throwable)</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ConfigurationException.html" title="class in edu.sdsc.inca">ConfigurationException</A>
<DD>Add a message to the Exception and a cause.
<DT><A HREF="edu/sdsc/inca/ConfigurationException.html#ConfigurationException(java.lang.Throwable)"><B>ConfigurationException(Throwable)</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ConfigurationException.html" title="class in edu.sdsc.inca">ConfigurationException</A>
<DD>Add just a cause to the exception.
<DT><A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util"><B>Constants</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>.<DD>Created by IntelliJ IDEA.<DT><A HREF="edu/sdsc/inca/util/Constants.html#Constants()"><B>Constants()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util"><B>Crypter</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>.<DD>The Crypter class provides the ability to de/encrypt strings.<DT><A HREF="edu/sdsc/inca/util/Crypter.html#Crypter(java.lang.String, java.lang.String)"><B>Crypter(String, String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Constructs a Crypter that can de/encrypt strings using a specified
passphrase and algorithm.
<DT><A HREF="edu/sdsc/inca/util/CrypterException.html" title="class in edu.sdsc.inca.util"><B>CrypterException</B></A> - exception edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterException.html" title="class in edu.sdsc.inca.util">CrypterException</A>.<DD>Indicates that some configuration problem has occured within Inca.<DT><A HREF="edu/sdsc/inca/util/CrypterException.html#CrypterException()"><B>CrypterException()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterException.html" title="class in edu.sdsc.inca.util">CrypterException</A>
<DD>Default constructor.
<DT><A HREF="edu/sdsc/inca/util/CrypterException.html#CrypterException(java.lang.String)"><B>CrypterException(String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterException.html" title="class in edu.sdsc.inca.util">CrypterException</A>
<DD>Create a configuration exception with the given message.
<DT><A HREF="edu/sdsc/inca/util/CrypterException.html#CrypterException(java.lang.String, java.lang.Throwable)"><B>CrypterException(String, Throwable)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterException.html" title="class in edu.sdsc.inca.util">CrypterException</A>
<DD>Add a message to the Exception and a cause.
<DT><A HREF="edu/sdsc/inca/util/CrypterException.html#CrypterException(java.lang.Throwable)"><B>CrypterException(Throwable)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterException.html" title="class in edu.sdsc.inca.util">CrypterException</A>
<DD>Add just a cause to the exception.
<DT><A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util"><B>CrypterTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util">CrypterTest</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/CrypterTest.html#CrypterTest()"><B>CrypterTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util">CrypterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#catalog"><B>catalog</B></A> -
Variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#cert"><B>cert</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#certPath"><B>certPath</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#changeAction(java.lang.String)"><B>changeAction(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Change the action in all series configs found in the suite document.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html#childrenWithEquiv"><B>childrenWithEquiv</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html#childrenWithoutEquiv"><B>childrenWithoutEquiv</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#chooseCronFieldValue(java.lang.String, boolean, int)"><B>chooseCronFieldValue(String, boolean, int)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Given a field in a cron line (e.g., hour or day), check it for instances
of '?' meaning anytime.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#chooseSchedule(edu.sdsc.inca.dataModel.util.Schedule)"><B>chooseSchedule(Schedule)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>A schedule may contain '?' in its cron fields meaning run at any time in
the field.
<DT><A HREF="edu/sdsc/inca/Client.html#close()"><B>close()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Close the client socket to the server.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#close()"><B>close()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>Closes the reader.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#close()"><B>close()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>Closes the writer.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#closed"><B>closed</B></A> -
Variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#closed"><B>closed</B></A> -
Variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html#commandGetLog()"><B>commandGetLog()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Retrieve the text in the server's log file, if any.
<DT><A HREF="edu/sdsc/inca/Client.html#commandLogConfig(java.lang.String)"><B>commandLogConfig(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Send a log config message to the server.
<DT><A HREF="edu/sdsc/inca/Client.html#commandPing(java.lang.String)"><B>commandPing(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Send a ping to the server and return the response data.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#compare(java.util.HashSet, java.lang.String[])"><B>compare(HashSet, String[])</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests a HashSet to see if it contains the expected members.
<DT><A HREF="edu/sdsc/inca/util/StringMethods.html#compareTo(java.lang.String, java.lang.String)"><B>compareTo(String, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util">StringMethods</A>
<DD>Returns an indicator of the relationship between two operands.
<DT><A HREF="edu/sdsc/inca/Component.html#configComponent(edu.sdsc.inca.Component, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><B>configComponent(Component, String[], String, String, String, String)</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>A convenience function for configuring a Component (or descendent class)
from the system properties, the arguments passed to main, and the
properties file.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#configEqual(edu.sdsc.inca.dataModel.util.SeriesConfig, edu.sdsc.inca.dataModel.util.SeriesConfig)"><B>configEqual(SeriesConfig, SeriesConfig)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Return true if the given report series configs are equivalent.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#conjunction(java.lang.StringBuffer, java.util.Properties, java.lang.String)"><B>conjunction(StringBuffer, Properties, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Part of a simple top-down expression evaluator.
<DT><A HREF="edu/sdsc/inca/Client.html#connect()"><B>connect()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Establish a connection to the server.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#copySuiteAttributes(edu.sdsc.inca.dataModel.suite.SuiteDocument)"><B>copySuiteAttributes(SuiteDocument)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Copy the top level suite attributes: name, guid, and description to
supplied suite document.
<DT><A HREF="edu/sdsc/inca/repository/RepositoriesTest.html#createSampleRepository(java.lang.String)"><B>createSampleRepository(String)</B></A> -
Static method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository">RepositoriesTest</A>
<DD>Create a small repository which can be used in testing.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#createSampleResources()"><B>createSampleResources()</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Returns a sample resource configuration file that can be used in tests.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#createSampleSuite(edu.sdsc.inca.repository.Repositories)"><B>createSampleSuite(Repositories)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>Creates a suite with the following reporters:
gcc version reporter running on resource teragrid
myproxy unit reporter running on resource teragrid
gatekeeper unit reporter running on resource teragrid
tgcp unit reporter running on resource teragrid
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#createSampleSuiteModification(edu.sdsc.inca.repository.Repositories)"><B>createSampleSuiteModification(Repositories)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>Creates a suite with the following reporters:
deletes gcc version reporter running on resource teragrid
adds gcc version reporter running on resource sdsc
deletes myproxy unit reporter running on resource teragrid
<DT><A HREF="edu/sdsc/inca/Component.html#createSocket(boolean, java.lang.String, int)"><B>createSocket(boolean, String, int)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Creates and returns a socket with any appropriate authentication.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#cryptMatchingSubstrings(java.lang.String, java.util.regex.Pattern, boolean)"><B>cryptMatchingSubstrings(String, Pattern, boolean)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns a specified string with all substrings that match a specified
pattern de/encrypted.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#cryptSensitive(java.lang.String, java.lang.String, boolean)"><B>cryptSensitive(String, String, boolean)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Decrypt/encrypt the values of name/value pairs where the name is a
password/passphrase in the provided string.
</DL>
<HR>
<A NAME="_D_"><!-- --></A><H2>
<B>D</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#DAYS_TO_MONTH"><B>DAYS_TO_MONTH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#DAYS_TO_WEEK"><B>DAYS_TO_WEEK</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#DEFAULT_PATH"><B>DEFAULT_PATH</B></A> -
Static variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#DEPENDS_ATTR"><B>DEPENDS_ATTR</B></A> -
Static variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>
<DT><A HREF="edu/sdsc/inca/DepotClient.html#DEPOT_CLIENT_OPTS"><B>DEPOT_CLIENT_OPTS</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca"><B>DepotClient</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>.<DD>This class allows access to the services provided by an Inca Depot.<DT><A HREF="edu/sdsc/inca/DepotClient.html#DepotClient()"><B>DepotClient()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#decipher"><B>decipher</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#decrypt(java.lang.String)"><B>decrypt(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns the decrypted version of a specified string.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#decryptMatchingSubstrings(java.lang.String, java.util.regex.Pattern)"><B>decryptMatchingSubstrings(String, Pattern)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns a specified string with all substrings that match a specified
pattern decrypted.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#decryptMatchingSubstrings(java.lang.String, java.lang.String)"><B>decryptMatchingSubstrings(String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns a specified string with all substrings that match a specified
pattern decrypted.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#deployPath"><B>deployPath</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html#dialog(java.lang.String, java.lang.String)"><B>dialog(String, String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Sends a statement to the server and returns the data from a successful
response.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#diff(edu.sdsc.inca.dataModel.suite.SuiteDocument)"><B>diff(SuiteDocument)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Compare the existing suite against the passed in suite and return the
differences as adds and deletes.
<DT><A HREF="edu/sdsc/inca/ServerWorker.html#doWork(java.lang.Object)"><B>doWork(Object)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerWorker.html" title="class in edu.sdsc.inca">ServerWorker</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Worker.html#doWork(java.lang.Object)"><B>doWork(Object)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Worker.html" title="class in edu.sdsc.inca.util">Worker</A>
<DD>Abstract method: should do the actual work required.
</DL>
<HR>
<A NAME="_E_"><!-- --></A><H2>
<B>E</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#EMAIL_MACRO"><B>EMAIL_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#END_QUERY_RESULTS_COMMAND"><B>END_QUERY_RESULTS_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#EQUIVALENT_MACRO"><B>EQUIVALENT_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#EXPANSION_SET_TOO_BIG"><B>EXPANSION_SET_TOO_BIG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util"><B>ExpandablePattern</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>.<DD>A pattern (regular expression) that can return the set of strings it matches.<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#ExpandablePattern(java.lang.String)"><B>ExpandablePattern(String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Constructs a new ExpandablePattern that uses a specified regular
expression.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#ExpandablePattern(java.lang.String, boolean)"><B>ExpandablePattern(String, boolean)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Constructs a new ExpandablePattern that uses a specified regular expresion
or Glob-style pattern.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util"><B>ExpandablePatternTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>.<DD>A JUnit for the ExpandablePattern class.<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#ExpandablePatternTest()"><B>ExpandablePatternTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util"><B>ExprEvaluator</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>.<DD>A simple top-down boolean expression evaluator.<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#ExprEvaluator()"><B>ExprEvaluator()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util"><B>ExprEvaluatorTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#ExprEvaluatorTest()"><B>ExprEvaluatorTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/package-summary.html"><B>edu.sdsc.inca</B></A> - package edu.sdsc.inca<DD> <DT><A HREF="edu/sdsc/inca/protocol/package-summary.html"><B>edu.sdsc.inca.protocol</B></A> - package edu.sdsc.inca.protocol<DD> <DT><A HREF="edu/sdsc/inca/repository/package-summary.html"><B>edu.sdsc.inca.repository</B></A> - package edu.sdsc.inca.repository<DD> <DT><A HREF="edu/sdsc/inca/util/package-summary.html"><B>edu.sdsc.inca.util</B></A> - package edu.sdsc.inca.util<DD> <DT><A HREF="edu/sdsc/inca/util/Crypter.html#encipher"><B>encipher</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#encrypt(java.lang.String)"><B>encrypt(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns the encrypted version of a specified string.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#encryptMatchingSubstrings(java.lang.String, java.util.regex.Pattern)"><B>encryptMatchingSubstrings(String, Pattern)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns a specified string with all substrings that match a specified
pattern encrypted.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#encryptMatchingSubstrings(java.lang.String, java.lang.String)"><B>encryptMatchingSubstrings(String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Returns a specified string with all substrings that match a specified
pattern encrypted.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Compares two statements for equality.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#equals(java.lang.String)"><B>equals(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Returns true if the given repository url matches this repository url.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Return true iff another object is a ResourcesWrapper with identical
resource information.
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandler.html#errorReply(edu.sdsc.inca.protocol.ProtocolWriter, java.lang.String)"><B>errorReply(ProtocolWriter, String)</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandler.html" title="class in edu.sdsc.inca.protocol">MessageHandler</A>
<DD>A convenience method that logs and writes an error message.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#escape(java.lang.String)"><B>escape(String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Escape illegal XML characters in a string.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#eval(java.lang.String, java.util.Properties, java.lang.String)"><B>eval(String, Properties, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Evaluate a boolean expression given a set of symbols.
<DT><A HREF="edu/sdsc/inca/protocol/GetLog.html#execute(edu.sdsc.inca.protocol.ProtocolReader, edu.sdsc.inca.protocol.ProtocolWriter)"><B>execute(ProtocolReader, ProtocolWriter)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/GetLog.html" title="class in edu.sdsc.inca.protocol">GetLog</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/LogConfig.html#execute(edu.sdsc.inca.protocol.ProtocolReader, edu.sdsc.inca.protocol.ProtocolWriter)"><B>execute(ProtocolReader, ProtocolWriter)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/LogConfig.html" title="class in edu.sdsc.inca.protocol">LogConfig</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandler.html#execute(edu.sdsc.inca.protocol.ProtocolReader, edu.sdsc.inca.protocol.ProtocolWriter)"><B>execute(ProtocolReader, ProtocolWriter)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandler.html" title="class in edu.sdsc.inca.protocol">MessageHandler</A>
<DD>Execute should run the task using the reader and writer for in/output.
<DT><A HREF="edu/sdsc/inca/protocol/Ping.html#execute(edu.sdsc.inca.protocol.ProtocolReader, edu.sdsc.inca.protocol.ProtocolWriter)"><B>execute(ProtocolReader, ProtocolWriter)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Ping.html" title="class in edu.sdsc.inca.protocol">Ping</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersion.html#execute(edu.sdsc.inca.protocol.ProtocolReader, edu.sdsc.inca.protocol.ProtocolWriter)"><B>execute(ProtocolReader, ProtocolWriter)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersion.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersion</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#exists(java.lang.String, java.lang.String)"><B>exists(String, String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Return whether a package exists in the repository with a given property
name and value.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#expand()"><B>expand()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Returns the set of strings that a specified regular expression matches.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#expand(java.lang.String)"><B>expand(String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Returns the set of strings that a specified regular expression matches.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#expand(java.lang.String, java.util.HashSet)"><B>expand(String, HashSet)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Returns the set of strings that a specified regular expression matches.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#expand(java.lang.String, java.lang.String, java.lang.String)"><B>expand(String, String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Expand any macros in the specified string and return the results as a
vector of strings.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#expandCharSet(java.lang.String)"><B>expandCharSet(String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Returns the set of strings that a specified character set matches.
</DL>
<HR>
<A NAME="_F_"><!-- --></A><H2>
<B>F</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#FAILURE_COMMAND"><B>FAILURE_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: ERROR message CRLF
Response: none.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#FAIL_EXPR_FAILED"><B>FAIL_EXPR_FAILED</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Failure result values from eval.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#FAIL_INVALID_OPERATOR"><B>FAIL_INVALID_OPERATOR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#FAIL_MISSING_OPERAND"><B>FAIL_MISSING_OPERAND</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#FAIL_MISSING_OPERATOR"><B>FAIL_MISSING_OPERATOR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#FAIL_MISSING_RPAREN"><B>FAIL_MISSING_RPAREN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#FAIL_UNDEFINED_SYMBOL"><B>FAIL_UNDEFINED_SYMBOL</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#FILE_ATTR"><B>FILE_ATTR</B></A> -
Static variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#FILE_PORT_MACRO"><B>FILE_PORT_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#FILE_PORT_MACRO_DEFAULT"><B>FILE_PORT_MACRO_DEFAULT</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#FILE_SERVER_MACRO"><B>FILE_SERVER_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/StringMethods.html#fileContents(java.lang.String)"><B>fileContents(String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util">StringMethods</A>
<DD>Returns the contents of a specified file as a String, with lines from the
file delimited by newlines (\n).
<DT><A HREF="edu/sdsc/inca/Client.html#finalize()"><B>finalize()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Close the client socket to the server before exiting.
</DL>
<HR>
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#GASS_PORT_MACRO"><B>GASS_PORT_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#GET_LOG_COMMAND"><B>GET_LOG_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: GETLOG CRLF
Response: OK SP text CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#GLOBUS_SERVER_PORT_MACRO_DEFAULT"><B>GLOBUS_SERVER_PORT_MACRO_DEFAULT</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#GRAM_DN_MACRO"><B>GRAM_DN_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#GRIDFTP_DN_MACRO"><B>GRIDFTP_DN_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#GROUPNAME_MACRO"><B>GROUPNAME_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/GetLog.html" title="class in edu.sdsc.inca.protocol"><B>GetLog</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/GetLog.html" title="class in edu.sdsc.inca.protocol">GetLog</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/GetLog.html#GetLog()"><B>GetLog()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/GetLog.html" title="class in edu.sdsc.inca.protocol">GetLog</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#getAuthenticate()"><B>getAuthenticate()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Is the connection authenticated?
<DT><A HREF="edu/sdsc/inca/AgentClient.html#getCatalog(java.lang.String)"><B>getCatalog(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>Returns properties for all reporters contained within one repository or
all repositories known to the Agent.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#getCatalog()"><B>getCatalog()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Returns an array of Properties, each of which specifies the attributes of
one reporter from the Agent's reporter repositories.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getCatalog()"><B>getCatalog()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Returns information about the contents of the repository.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#getCatalogAsXml(java.lang.String)"><B>getCatalogAsXml(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>Like getCatlog, but returns wraps the catalog information into XML
instead of an array of Properties.
<DT><A HREF="edu/sdsc/inca/Component.html#getCertificate()"><B>getCertificate()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns the component certificate.
<DT><A HREF="edu/sdsc/inca/Component.html#getCertificatePath()"><B>getCertificatePath()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns the path to the component certificate.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#getCmd()"><B>getCmd()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Retrieve the cmd.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#getConfig()"><B>getConfig()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>Returns IncaDocument XML for the Inca deployment configuration.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#getData()"><B>getData()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>retrieve the data.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#getDecipher()"><B>getDecipher()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Return a cipher that can be used for decryption.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#getDeployPath()"><B>getDeployPath()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>Returns the path to the IncaDocument XML deployment file.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getDocument()"><B>getDocument()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Return the SuiteStagesDocument contained in this SuiteStagesWrapper object.
<DT><A HREF="edu/sdsc/inca/util/Crypter.html#getEncipher()"><B>getEncipher()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Crypter.html" title="class in edu.sdsc.inca.util">Crypter</A>
<DD>Return a cipher that can be used for encryption.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#getErrorStatement(java.lang.String)"><B>getErrorStatement(String)</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Creates a new ERROR message with the given error message.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#getFilePath()"><B>getFilePath()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Retrieve the path to the repositories file.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getFilePath()"><B>getFilePath()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Return the path to resources file if applicable.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.html#getHeader()"><B>getHeader()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util">RpmPackage</A>
<DD>Returns the properties from the package header, which contains most of
the package properties of interest.
<DT><A HREF="edu/sdsc/inca/Client.html#getHost()"><B>getHost()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Returns the host where the server is running.
<DT><A HREF="edu/sdsc/inca/Server.html#getHostname()"><B>getHostname()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Returns the name of the host where this server is running.
<DT><A HREF="edu/sdsc/inca/Component.html#getKey()"><B>getKey()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns the component key.
<DT><A HREF="edu/sdsc/inca/Component.html#getKeyPath()"><B>getKeyPath()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns the path to the component private key.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#getLatestVersionOfPackage(java.lang.String)"><B>getLatestVersionOfPackage(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Return the latest version available for the named package in any of the
repositories.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getLatestVersionOfPackage(java.lang.String)"><B>getLatestVersionOfPackage(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Return the latest version of the specified package that exists in this
repository or null if it doesn't exist.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.html#getLead()"><B>getLead()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util">RpmPackage</A>
<DD>Returns the lead from the RPM package.
<DT><A HREF="edu/sdsc/inca/Component.html#getLogFile()"><B>getLogFile()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns the path to the file where the component writes log messages.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#getOkStatement(java.lang.String)"><B>getOkStatement(String)</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Creates a new OK message with the given payload.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#getOperand(java.lang.StringBuffer)"><B>getOperand(StringBuffer)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Part of a simple top-down expression evaluator.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getPassphrase()"><B>getPassphrase()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Return the passphrase associated with these resources.
<DT><A HREF="edu/sdsc/inca/Component.html#getPassword()"><B>getPassword()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Gets the component encryption password.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getPerResourceSuiteDocument()"><B>getPerResourceSuiteDocument()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Extract a suite document with all resource series config objects contained
in this SuiteStages document.
<DT><A HREF="edu/sdsc/inca/Client.html#getPort()"><B>getPort()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Returns the port where the server is listening.
<DT><A HREF="edu/sdsc/inca/Server.html#getPort()"><B>getPort()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Returns the port associated with a Server Object.
<DT><A HREF="edu/sdsc/inca/repository/ReporterPackage.html#getProperties()"><B>getProperties()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/ReporterPackage.html" title="class in edu.sdsc.inca.repository">ReporterPackage</A>
<DD>Returns the set of properties that describes the reporter package--a
superset of the properties stored for the package in a repository.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getProperties(java.lang.String, java.lang.String)"><B>getProperties(String, String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Retrieve the repository properties for the specified package and version.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getPropertiesByLookup(java.lang.String, java.lang.String)"><B>getPropertiesByLookup(String, String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Returns properties for all packages that match the given property
name and value.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#getReader()"><B>getReader()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Return the reader connected to the remote reporter manager.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getReporter(java.lang.String)"><B>getReporter(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Returns the contents of a file located via a specified path in the
repository.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getReporterPackage(java.lang.String)"><B>getReporterPackage(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Returns a binary package located via a specified path in the repository.
<DT><A HREF="edu/sdsc/inca/repository/ReporterPackage.html#getReporterStream()"><B>getReporterStream()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/ReporterPackage.html" title="class in edu.sdsc.inca.repository">ReporterPackage</A>
<DD>Returns an input stream from which the package gzip file may be read.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#getRepositories()"><B>getRepositories()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Returns the list of reporter repositories stored in the object.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#getRepositoryForPackage(java.lang.String, java.lang.String)"><B>getRepositoryForPackage(String, String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Return the repository that contains the specified package with the
specified version.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#getRepositoryUrlForPackage(java.lang.String, java.lang.String)"><B>getRepositoryUrlForPackage(String, String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Translate the package name into a repository url.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getResourceConfigDocument()"><B>getResourceConfigDocument()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Return the stored resource configuration document.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getResourceSeriesConfigCount()"><B>getResourceSeriesConfigCount()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Return the number of per resource series configs stored in this SuiteStages
document.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getResourceSuites()"><B>getResourceSuites()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Iterate through the per resource series configs and extract suites
for each of the resources.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getResourceSuites(edu.sdsc.inca.dataModel.suite.SuiteDocument)"><B>getResourceSuites(SuiteDocument)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Extract suites for each of the resources from the provided SuiteDocument
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getResources(java.lang.String, boolean)"><B>getResources(String, boolean)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Recursively find the resource members (i.e., not resource sets) for the
provided resource set.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getResourcesByXpath(java.lang.String, boolean)"><B>getResourcesByXpath(String, boolean)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Recursively find the resource members (i.e., not resource sets) for the
resource sets specified in the provided xpath expression.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#getSeriesConfig(int)"><B>getSeriesConfig(int)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Return a series config from the suite.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getSeriesConfigCount()"><B>getSeriesConfigCount()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Return the number of multi-resource series configs stored in this
SuiteStages document.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#getSeriesConfigCount()"><B>getSeriesConfigCount()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Return the number of series config objects contained in the suite document.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#getSeriesConfigCountByPattern(java.lang.String[], java.lang.String[])"><B>getSeriesConfigCountByPattern(String[], String[])</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Count the number of series configs that match the provided patterns.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#getSeriesConfigs()"><B>getSeriesConfigs()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Return all series configs in the suite as an array.
<DT><A HREF="edu/sdsc/inca/repository/ReporterPackage.html#getSignature()"><B>getSignature()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/ReporterPackage.html" title="class in edu.sdsc.inca.repository">ReporterPackage</A>
<DD>Returns the package signature, used to verify the contents of the package
gzip file.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.html#getSignature()"><B>getSignature()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util">RpmPackage</A>
<DD>Returns the properties from the package signature.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#getStartStatement()"><B>getStartStatement()</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Creates a new Start message with the current Inca Protocol Version.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getSuiteDocument()"><B>getSuiteDocument()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Extract a suite document with all multi-resource series config objects
contained in this SuiteStages document.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#getSuiteDocument()"><B>getSuiteDocument()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Return the root element of the suite document.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#getSuiteDocumentWithVersions()"><B>getSuiteDocumentWithVersions()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Extract a suite document with all multi-resource series config objects
contained in this SuiteStages document.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#getTag()"><B>getTag()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Returns the property tag.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#getTagAsString(boolean)"><B>getTagAsString(boolean)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>A convenience function that returns a text name for the tag.
<DT><A HREF="edu/sdsc/inca/Server.html#getTempPath()"><B>getTempPath()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Returns the path where the server stores temporary files.
<DT><A HREF="edu/sdsc/inca/Component.html#getTrustedCertificates()"><B>getTrustedCertificates()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns the set of certificates trusted by the component.
<DT><A HREF="edu/sdsc/inca/Component.html#getTrustedPath()"><B>getTrustedPath()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Get the path to the component trusted certificate directory.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#getType()"><B>getType()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Returns the property type.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#getTypeAsString()"><B>getTypeAsString()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>A convenience function that returns a text name for the type.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#getURL()"><B>getURL()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Returns the base URL through which this Repository is accessed.
<DT><A HREF="edu/sdsc/inca/Client.html#getUri()"><B>getUri()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Return the uri for the server.
<DT><A HREF="edu/sdsc/inca/Server.html#getUri()"><B>getUri()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Return the uri for the server.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getValue(java.lang.String, java.lang.String)"><B>getValue(String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Convenience method for getValues (see getValues for more documentation)
when only one value is defined for the specified macro.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#getValue()"><B>getValue()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Returns the property value.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#getValueAsString()"><B>getValueAsString()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Returns the property value in string form.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#getValues(java.lang.String, java.lang.String)"><B>getValues(String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Scan resourceConfig and return a list of values for the macro that applies
to this resource.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#getVersion()"><B>getVersion()</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Returns the Inca protocol version.
<DT><A HREF="edu/sdsc/inca/util/WorkQueue.html#getWork()"><B>getWork()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueue.html" title="class in edu.sdsc.inca.util">WorkQueue</A>
<DD>retrieve work from the workQueue.
<DT><A HREF="edu/sdsc/inca/Server.html#getWorkerCount()"><B>getWorkerCount()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Returns the number of worker threads this server uses.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#getWriter()"><B>getWriter()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Return the writer connected to the remote reporter manager.
</DL>
<HR>
<A NAME="_H_"><!-- --></A><H2>
<B>H</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#HOURS_TO_DAY"><B>HOURS_TO_DAY</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#hasHostEquivalence(java.lang.String)"><B>hasHostEquivalence(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Returns true if the given resource resource contains a set of hosts
that are considered equivalent (i.e., only need to monitor on one of them)
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#hasPackageUpdated(java.lang.String, java.lang.String)"><B>hasPackageUpdated(String, String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Checks for a package update by iterating through all repositories
and returns true if it finds a version of the package more recent
than the specified one.
<DT><A HREF="edu/sdsc/inca/Client.html#host"><B>host</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#hostname"><B>hostname</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
</DL>
<HR>
<A NAME="_I_"><!-- --></A><H2>
<B>I</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#IMMEDIATE_SUITE_NAME"><B>IMMEDIATE_SUITE_NAME</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Suite name for run immediately requests.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#INSERT_COMMAND"><B>INSERT_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: REPORT SP resource SP context CRLF
[STDERR SP text CRLF]
STDOUT SP xml CRLF
SYSUSAGE SP usage CRLF
Response: OK SP uri.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#INSERT_STDERR_COMMAND"><B>INSERT_STDERR_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#INSERT_STDOUT_COMMAND"><B>INSERT_STDOUT_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#INSERT_SYSUSAGE_COMMAND"><B>INSERT_SYSUSAGE_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/DepotClient.html#insertReport(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><B>insertReport(String, String, String, String, String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot to insert a new report into the database.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#isClosed()"><B>isClosed()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>Indicates whether or not the reader has been closed.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#isClosed()"><B>isClosed()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>Indicates whether or not the writer has been closed.
<DT><A HREF="edu/sdsc/inca/Client.html#isConnected()"><B>isConnected()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Query whether the client is presently connected.
<DT><A HREF="edu/sdsc/inca/util/WorkQueue.html#isEmpty()"><B>isEmpty()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueue.html" title="class in edu.sdsc.inca.util">WorkQueue</A>
<DD>check to see if there is any work to be done.
<DT><A HREF="edu/sdsc/inca/Server.html#isReady()"><B>isReady()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Returns true iff the Server is ready to start accepting connections.
</DL>
<HR>
<A NAME="_J_"><!-- --></A><H2>
<B>J</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/StringMethods.html#join(java.lang.String, java.lang.String[])"><B>join(String, String[])</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util">StringMethods</A>
<DD>Joins the separate strings in values into a single string with
fields separated by the value of separator and returns that new string.
</DL>
<HR>
<A NAME="_K_"><!-- --></A><H2>
<B>K</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/Component.html#key"><B>key</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#keyPath"><B>keyPath</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
</DL>
<HR>
<A NAME="_L_"><!-- --></A><H2>
<B>L</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#LF"><B>LF</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#LOGIN_ID_MACRO"><B>LOGIN_ID_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#LOG_CONFIG_COMMAND"><B>LOG_CONFIG_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: LOGCONFIG SP property=level ,appender [,appender etc]
Response: OK CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/LogConfig.html" title="class in edu.sdsc.inca.protocol"><B>LogConfig</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/LogConfig.html" title="class in edu.sdsc.inca.protocol">LogConfig</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/LogConfig.html#LogConfig()"><B>LogConfig()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/LogConfig.html" title="class in edu.sdsc.inca.protocol">LogConfig</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#loadFromFile(java.lang.String, java.lang.String)"><B>loadFromFile(String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>Reads properties from a file, retaining only those properties that
have a name starting with the given prefix.
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#loadFromResource(java.lang.String, java.lang.String)"><B>loadFromResource(String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>Reads properties from a resource, retaining only those properties that
have a name starting with the given prefix.
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#loadFromStream(java.io.InputStream, java.lang.String)"><B>loadFromStream(InputStream, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>Reads properties from an input stream, retaining only those properties
that have a name starting with the given prefix.
<DT><A HREF="edu/sdsc/inca/Component.html#logFile"><B>logFile</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/AgentClient.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/DepotClient.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerWorker.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerWorker.html" title="class in edu.sdsc.inca">ServerWorker</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandler.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandler.html" title="class in edu.sdsc.inca.protocol">MessageHandler</A>
<DD>logger that can be used by all MessageHandlers.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#logger"><B>logger</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>
</DL>
<HR>
<A NAME="_M_"><!-- --></A><H2>
<B>M</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MACRO_NAME_PATTERN"><B>MACRO_NAME_PATTERN</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Constants for matching resource macro names, Agent predefined macro names,
and some default values.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#MAX_COMMAND_LENGTH"><B>MAX_COMMAND_LENGTH</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#MAX_EXPANSION"><B>MAX_EXPANSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#MILLIS_TO_HOUR"><B>MILLIS_TO_HOUR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#MILLIS_TO_MINUTE"><B>MILLIS_TO_MINUTE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#MILLIS_TO_SECOND"><B>MILLIS_TO_SECOND</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#MINUTES_TO_HOUR"><B>MINUTES_TO_HOUR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#MONTHS_TO_YEAR"><B>MONTHS_TO_YEAR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MYPROXY_DN_MACRO"><B>MYPROXY_DN_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MYPROXY_HOST_MACRO"><B>MYPROXY_HOST_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MYPROXY_LIFETIME_MACRO"><B>MYPROXY_LIFETIME_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MYPROXY_PASSWORD_MACRO"><B>MYPROXY_PASSWORD_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MYPROXY_PORT_MACRO"><B>MYPROXY_PORT_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#MYPROXY_USERNAME_MACRO"><B>MYPROXY_USERNAME_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca"><B>ManagerClient</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>.<DD>Created by IntelliJ IDEA.<DT><A HREF="edu/sdsc/inca/ManagerClient.html#ManagerClient()"><B>ManagerClient()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandler.html" title="class in edu.sdsc.inca.protocol"><B>MessageHandler</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandler.html" title="class in edu.sdsc.inca.protocol">MessageHandler</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/MessageHandler.html#MessageHandler()"><B>MessageHandler()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandler.html" title="class in edu.sdsc.inca.protocol">MessageHandler</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html" title="class in edu.sdsc.inca.protocol"><B>MessageHandlerFactory</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactory</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html#MessageHandlerFactory()"><B>MessageHandlerFactory()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactory</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol"><B>MessageHandlerFactoryTest</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#MessageHandlerFactoryTest()"><B>MessageHandlerFactoryTest()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html#macros"><B>macros</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>
<DD>
<DT><A HREF="edu/sdsc/inca/AgentClient.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>A simple main method for exercising the AgentClient.
<DT><A HREF="edu/sdsc/inca/Client.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>A simple main method for exercising the Client.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>A simple main method for exercising the DepotClient.
<DT><A HREF="edu/sdsc/inca/Server.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>A main function to start a generic server.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>The main for this class is a test program that lists the contents of one
or more repositories listed on the command line.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Interactive test program for Expandable pattern.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util">RpmPackage</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#main(java.lang.String[])"><B>main(String[])</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Provides a command line client to encrypt/decrypt Inca XML files
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#matches(java.lang.String)"><B>matches(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Returns true iff this pattern matches s.
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#mergeValidOptions(java.lang.String, java.lang.String, boolean)"><B>mergeValidOptions(String, String, boolean)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>Merges two strings of the form accepted by setPropertiesFromArgs.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#modify(edu.sdsc.inca.util.SuiteWrapper)"><B>modify(SuiteWrapper)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Apply multi-resource series config changes in the provided suite to the
SuiteStages document.
</DL>
<HR>
<A NAME="_N_"><!-- --></A><H2>
<B>N</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#NAME_ATTR"><B>NAME_ATTR</B></A> -
Static variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html#newInstance(edu.sdsc.inca.protocol.ProtocolReader)"><B>newInstance(ProtocolReader)</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactory</A>
<DD>Returns an instance of a MessageHandler based on the next command coming
over a connection.
</DL>
<HR>
<A NAME="_O_"><!-- --></A><H2>
<B>O</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#OPERAND_PATTERN"><B>OPERAND_PATTERN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Operands: a quoted or slash-surrounded literal or a symbol.
<DT><A HREF="edu/sdsc/inca/Component.html#openResourceStream(java.lang.String)"><B>openResourceStream(String)</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Returns an input stream for a resource found either in the classpath or on
the file system.
</DL>
<HR>
<A NAME="_P_"><!-- --></A><H2>
<B>P</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_COMMAND"><B>PACKAGE_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: PACKAGE SP uri CRLF
FILENAME SP name CRLF
VERSION SP version CRLF
INSTALLPATH SP path CRLF
[PERMISSION SP oct CRLF]
CONTENT SP packageContent CRLF
Response: OK CRLF
Send a reporter module or tar.gz package to the reporter manager.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_CONTENT_COMMAND"><B>PACKAGE_CONTENT_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_DEPENDENCIES_COMMAND"><B>PACKAGE_DEPENDENCIES_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_FILENAME_COMMAND"><B>PACKAGE_FILENAME_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_INSTALLPATH_COMMAND"><B>PACKAGE_INSTALLPATH_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_PERMISSIONS_COMMAND"><B>PACKAGE_PERMISSIONS_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PACKAGE_VERSION_COMMAND"><B>PACKAGE_VERSION_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#PASSWORD_MACRO_VALUE_PATTERN"><B>PASSWORD_MACRO_VALUE_PATTERN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PATTERN_MACRO"><B>PATTERN_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PING_COMMAND"><B>PING_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: PING SP text CRLF
Response: OK SP text CRLF.
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#PING_DATA"><B>PING_DATA</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#PING_REPLY"><B>PING_REPLY</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#PING_STATEMENT"><B>PING_STATEMENT</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PREDEFINED_MACRO_NAME_PATTERN"><B>PREDEFINED_MACRO_NAME_PATTERN</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_DN_COMMAND"><B>PROXY_DN_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_HOSTNAME_COMMAND"><B>PROXY_HOSTNAME_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_LIFETIME_COMMAND"><B>PROXY_LIFETIME_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_MACRO"><B>PROXY_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_PASSWORD_COMMAND"><B>PROXY_PASSWORD_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_PORT_COMMAND"><B>PROXY_PORT_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_RENEW_INFO_GET_COMMAND"><B>PROXY_RENEW_INFO_GET_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: PROXY_RENEW_INFO hostname CRLF
Response: HOSTNAME hostname CRLF
[DN dn CRLF]
PORT port CRLF
PASSWORD password CRLF
LIFETIME lifetime CRLF
Response: OK CRLF
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_RENEW_MACRO"><B>PROXY_RENEW_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#PROXY_USERNAME_COMMAND"><B>PROXY_USERNAME_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Ping.html" title="class in edu.sdsc.inca.protocol"><B>Ping</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Ping.html" title="class in edu.sdsc.inca.protocol">Ping</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/Ping.html#Ping()"><B>Ping()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Ping.html" title="class in edu.sdsc.inca.protocol">Ping</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol"><B>Protocol</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>.<DD>This class declares constants and contains documentation pertaining to the
Inca message protocol.<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#Protocol()"><B>Protocol()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolException.html" title="class in edu.sdsc.inca.protocol"><B>ProtocolException</B></A> - exception edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolException.html" title="class in edu.sdsc.inca.protocol">ProtocolException</A>.<DD>Indicates the detection of malformed content in a protocol stream.<DT><A HREF="edu/sdsc/inca/protocol/ProtocolException.html#ProtocolException()"><B>ProtocolException()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolException.html" title="class in edu.sdsc.inca.protocol">ProtocolException</A>
<DD>Creates a new ProtocolException Object.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolException.html#ProtocolException(java.lang.String)"><B>ProtocolException(String)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolException.html" title="class in edu.sdsc.inca.protocol">ProtocolException</A>
<DD>Creates a new ProtocolException Object.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolException.html#ProtocolException(java.lang.String, java.lang.Throwable)"><B>ProtocolException(String, Throwable)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolException.html" title="class in edu.sdsc.inca.protocol">ProtocolException</A>
<DD>Creates a new ProtocolException Object.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolException.html#ProtocolException(java.lang.Throwable)"><B>ProtocolException(Throwable)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolException.html" title="class in edu.sdsc.inca.protocol">ProtocolException</A>
<DD>Creates a new ProtocolException Object.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol"><B>ProtocolReader</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#ProtocolReader(java.io.Reader, int)"><B>ProtocolReader(Reader, int)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>Create a buffering character-input stream that uses an input
buffer of the specified size.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#ProtocolReader(java.io.Reader)"><B>ProtocolReader(Reader)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>Create a buffering protocol-input stream that uses a default-sized
input buffer.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html" title="class in edu.sdsc.inca.protocol"><B>ProtocolReaderTest</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html" title="class in edu.sdsc.inca.protocol">ProtocolReaderTest</A>.<DD>Tests basic functionality of the Protocol Reader.<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html#ProtocolReaderTest()"><B>ProtocolReaderTest()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html" title="class in edu.sdsc.inca.protocol">ProtocolReaderTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol"><B>ProtocolWriter</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#ProtocolWriter(java.io.Writer)"><B>ProtocolWriter(Writer)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>Create a buffered character-output stream that uses a default-sized
output buffer.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#ProtocolWriter(java.io.Writer, int)"><B>ProtocolWriter(Writer, int)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>Create a new buffered character-output stream that uses an output
buffer of the given size.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol"><B>ProtocolWriterTest</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol">ProtocolWriterTest</A>.<DD>User: cmills
Date: Feb 28, 2005
Time: 10:39:25 AM
Tests writing a char array and a statement to the protocol writer.<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html#ProtocolWriterTest()"><B>ProtocolWriterTest()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol">ProtocolWriterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#parenthesized(java.lang.StringBuffer, java.util.Properties, java.lang.String)"><B>parenthesized(StringBuffer, Properties, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Part of a simple top-down expression evaluator.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html#parents"><B>parents</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#password"><B>password</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#peekCommand()"><B>peekCommand()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>Returns the next command from the stream, or null on end.
<DT><A HREF="edu/sdsc/inca/Client.html#port"><B>port</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#port"><B>port</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#putAllTrimmed(java.util.Properties, java.lang.String)"><B>putAllTrimmed(Properties, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>Like putAll, but only copies those elements that have a name starting with
the given prefix.
</DL>
<HR>
<A NAME="_Q_"><!-- --></A><H2>
<B>Q</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#QUERY_GUIDS_COMMAND"><B>QUERY_GUIDS_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: QUERYGUIDS CRLF
Response: OK guids.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#QUERY_HQL_COMMAND"><B>QUERY_HQL_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: QUERYHQL SP sql CRLF
Response: [QUERYRESULT SP xml CRLF etc]
QUERYEND CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#QUERY_INSTANCE_COMMAND"><B>QUERY_INSTANCE_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: QUERYINSTANCE SP instance SP config CRLF
Response: QUERYRESULT SP xml CRLF
QUERYEND CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#QUERY_RESULT"><B>QUERY_RESULT</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: QUERYRESULT SP xml CRLF
Reponse: none.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#QUERY_SERIES_COMMAND"><B>QUERY_SERIES_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: QUERYSERIES SP config CRLF
Response: [QUERYRESULT SP xml CRLF etc]
QUERYEND CRLF.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#QUERY_SUITE_COMMAND"><B>QUERY_SUITE_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: QUERYSUITE SP guid CRLF
Response: QUERYRESULT SP xml CRLF
QUERYEND CRLF.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#queryDialog(java.lang.String, java.lang.String)"><B>queryDialog(String, String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>An internal method that handles the functionality common to several
query methods.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#queryGuids()"><B>queryGuids()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot for all the suite guids in its database.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#queryHql(java.lang.String)"><B>queryHql(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot to run an HQL query; returns the result.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#queryInstance(long, long)"><B>queryInstance(long, long)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot for the ReportDetailsDocument for a specified instance.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#querySeries(long)"><B>querySeries(long)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot for a ReportDetailsDocuments for each instances of a
specified series.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#querySuite(java.lang.String)"><B>querySuite(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot for XML for the latest instance of each series from a
specified suite.
</DL>
<HR>
<A NAME="_R_"><!-- --></A><H2>
<B>R</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#REGISTER_COMMAND"><B>REGISTER_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: REGISTER SP hostname CRLF
Response: OK CRLF.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_GPG"><B>RPMSIGTAG_GPG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_LEMD5_1"><B>RPMSIGTAG_LEMD5_1</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_LEMD5_2"><B>RPMSIGTAG_LEMD5_2</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_MD5"><B>RPMSIGTAG_MD5</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_NAMES"><B>RPMSIGTAG_NAMES</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_PAYLOADSIZE"><B>RPMSIGTAG_PAYLOADSIZE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_PGP"><B>RPMSIGTAG_PGP</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_PGP5"><B>RPMSIGTAG_PGP5</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMSIGTAG_SIZE"><B>RPMSIGTAG_SIZE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Enumeration of signature property tag values.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ARCH"><B>RPMTAG_ARCH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ARCHIVESIZE"><B>RPMTAG_ARCHIVESIZE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_AUTOPROV"><B>RPMTAG_AUTOPROV</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_AUTOREQ"><B>RPMTAG_AUTOREQ</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_AUTOREQPROV"><B>RPMTAG_AUTOREQPROV</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BASENAMES"><B>RPMTAG_BASENAMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BROKENMD5"><B>RPMTAG_BROKENMD5</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDARCHS"><B>RPMTAG_BUILDARCHS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDCONFLICTS"><B>RPMTAG_BUILDCONFLICTS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDHOST"><B>RPMTAG_BUILDHOST</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDMACROS"><B>RPMTAG_BUILDMACROS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDPREREQ"><B>RPMTAG_BUILDPREREQ</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDREQUIRES"><B>RPMTAG_BUILDREQUIRES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDROOT"><B>RPMTAG_BUILDROOT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_BUILDTIME"><B>RPMTAG_BUILDTIME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CACHECTIME"><B>RPMTAG_CACHECTIME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CACHEPKGMTIME"><B>RPMTAG_CACHEPKGMTIME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CACHEPKGPATH"><B>RPMTAG_CACHEPKGPATH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CACHEPKGSIZE"><B>RPMTAG_CACHEPKGSIZE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CAPABILITY"><B>RPMTAG_CAPABILITY</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CHANGELOG"><B>RPMTAG_CHANGELOG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CHANGELOGNAME"><B>RPMTAG_CHANGELOGNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CHANGELOGTEXT"><B>RPMTAG_CHANGELOGTEXT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CHANGELOGTIME"><B>RPMTAG_CHANGELOGTIME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CLASSDICT"><B>RPMTAG_CLASSDICT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CONFLICTFLAGS"><B>RPMTAG_CONFLICTFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CONFLICTNAME"><B>RPMTAG_CONFLICTNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CONFLICTVERSION"><B>RPMTAG_CONFLICTVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_COOKIE"><B>RPMTAG_COOKIE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_CVSID"><B>RPMTAG_CVSID</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DEFAULTPREFIX"><B>RPMTAG_DEFAULTPREFIX</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DEPENDSDICT"><B>RPMTAG_DEPENDSDICT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DESCRIPTION"><B>RPMTAG_DESCRIPTION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DIRINDEXES"><B>RPMTAG_DIRINDEXES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DIRNAMES"><B>RPMTAG_DIRNAMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DISTRIBUTION"><B>RPMTAG_DISTRIBUTION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DISTTAG"><B>RPMTAG_DISTTAG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DISTURL"><B>RPMTAG_DISTURL</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_DOCDIR"><B>RPMTAG_DOCDIR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ENHANCESFLAGS"><B>RPMTAG_ENHANCESFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ENHANCESNAME"><B>RPMTAG_ENHANCESNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ENHANCESVERSION"><B>RPMTAG_ENHANCESVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EPOCH"><B>RPMTAG_EPOCH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EXCLUDE"><B>RPMTAG_EXCLUDE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EXCLUDEARCH"><B>RPMTAG_EXCLUDEARCH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EXCLUDEOS"><B>RPMTAG_EXCLUDEOS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EXCLUSIVE"><B>RPMTAG_EXCLUSIVE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EXCLUSIVEARCH"><B>RPMTAG_EXCLUSIVEARCH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_EXCLUSIVEOS"><B>RPMTAG_EXCLUSIVEOS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILECLASS"><B>RPMTAG_FILECLASS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILECOLORS"><B>RPMTAG_FILECOLORS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILECONTEXTS"><B>RPMTAG_FILECONTEXTS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEDEPENDSN"><B>RPMTAG_FILEDEPENDSN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEDEPENDSX"><B>RPMTAG_FILEDEPENDSX</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEDEVICES"><B>RPMTAG_FILEDEVICES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEFLAGS"><B>RPMTAG_FILEFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEGIDS"><B>RPMTAG_FILEGIDS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEGROUPNAME"><B>RPMTAG_FILEGROUPNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEINODES"><B>RPMTAG_FILEINODES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILELANGS"><B>RPMTAG_FILELANGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILELINKTOS"><B>RPMTAG_FILELINKTOS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEMD5S"><B>RPMTAG_FILEMD5S</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEMODES"><B>RPMTAG_FILEMODES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEMTIMES"><B>RPMTAG_FILEMTIMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILERDEVS"><B>RPMTAG_FILERDEVS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILESIZES"><B>RPMTAG_FILESIZES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILESTATES"><B>RPMTAG_FILESTATES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEUIDS"><B>RPMTAG_FILEUIDS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEUSERNAME"><B>RPMTAG_FILEUSERNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FILEVERIFYFLAGS"><B>RPMTAG_FILEVERIFYFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_FSCONTEXTS"><B>RPMTAG_FSCONTEXTS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_GIF"><B>RPMTAG_GIF</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_GROUP"><B>RPMTAG_GROUP</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ICON"><B>RPMTAG_ICON</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_INSTALLPREFIX"><B>RPMTAG_INSTALLPREFIX</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_INSTALLTID"><B>RPMTAG_INSTALLTID</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_INSTALLTIME"><B>RPMTAG_INSTALLTIME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_INSTPREFIXES"><B>RPMTAG_INSTPREFIXES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_LICENSE"><B>RPMTAG_LICENSE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_MULTILIBS"><B>RPMTAG_MULTILIBS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_NAME"><B>RPMTAG_NAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Enumeration of header property tag values.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_NAMES"><B>RPMTAG_NAMES</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_NOPATCH"><B>RPMTAG_NOPATCH</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_NOSOURCE"><B>RPMTAG_NOSOURCE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OBSOLETEFLAGS"><B>RPMTAG_OBSOLETEFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OBSOLETENAME"><B>RPMTAG_OBSOLETENAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OBSOLETEVERSION"><B>RPMTAG_OBSOLETEVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OLDFILENAMES"><B>RPMTAG_OLDFILENAMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OLDORIGFILENAMES"><B>RPMTAG_OLDORIGFILENAMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OPTFLAGS"><B>RPMTAG_OPTFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ORIGBASENAMES"><B>RPMTAG_ORIGBASENAMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ORIGDIRINDEXES"><B>RPMTAG_ORIGDIRINDEXES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ORIGDIRNAMES"><B>RPMTAG_ORIGDIRNAMES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_OS"><B>RPMTAG_OS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PACKAGER"><B>RPMTAG_PACKAGER</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PATCHESFLAGS"><B>RPMTAG_PATCHESFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PATCHESNAME"><B>RPMTAG_PATCHESNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PATCHESVERSION"><B>RPMTAG_PATCHESVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PAYLOADCOMPRESSOR"><B>RPMTAG_PAYLOADCOMPRESSOR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PAYLOADFLAGS"><B>RPMTAG_PAYLOADFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PAYLOADFORMAT"><B>RPMTAG_PAYLOADFORMAT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PLATFORM"><B>RPMTAG_PLATFORM</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POLICIES"><B>RPMTAG_POLICIES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POSTIN"><B>RPMTAG_POSTIN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POSTINPROG"><B>RPMTAG_POSTINPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POSTTRANS"><B>RPMTAG_POSTTRANS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POSTTRANSPROG"><B>RPMTAG_POSTTRANSPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POSTUN"><B>RPMTAG_POSTUN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_POSTUNPROG"><B>RPMTAG_POSTUNPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PREFIXES"><B>RPMTAG_PREFIXES</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PREIN"><B>RPMTAG_PREIN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PREINPROG"><B>RPMTAG_PREINPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PREREQ"><B>RPMTAG_PREREQ</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PRETRANS"><B>RPMTAG_PRETRANS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PRETRANSPROG"><B>RPMTAG_PRETRANSPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PREUN"><B>RPMTAG_PREUN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PREUNPROG"><B>RPMTAG_PREUNPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PRIORITY"><B>RPMTAG_PRIORITY</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PROVIDEFLAGS"><B>RPMTAG_PROVIDEFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PROVIDENAME"><B>RPMTAG_PROVIDENAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_PROVIDEVERSION"><B>RPMTAG_PROVIDEVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_RECONTEXTS"><B>RPMTAG_RECONTEXTS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_RELEASE"><B>RPMTAG_RELEASE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_REMOVETID"><B>RPMTAG_REMOVETID</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_REQUIREFLAGS"><B>RPMTAG_REQUIREFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_REQUIRENAME"><B>RPMTAG_REQUIRENAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_REQUIREVERSION"><B>RPMTAG_REQUIREVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_RHNPLATFORM"><B>RPMTAG_RHNPLATFORM</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_ROOT"><B>RPMTAG_ROOT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_RPMVERSION"><B>RPMTAG_RPMVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SHA1RHN"><B>RPMTAG_SHA1RHN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SIZE"><B>RPMTAG_SIZE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SOURCE"><B>RPMTAG_SOURCE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SOURCEPACKAGE"><B>RPMTAG_SOURCEPACKAGE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SOURCEPKGID"><B>RPMTAG_SOURCEPKGID</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SOURCERPM"><B>RPMTAG_SOURCERPM</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SUGGESTSFLAGS"><B>RPMTAG_SUGGESTSFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SUGGESTSNAME"><B>RPMTAG_SUGGESTSNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SUGGESTSVERSION"><B>RPMTAG_SUGGESTSVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_SUMMARY"><B>RPMTAG_SUMMARY</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERFLAGS"><B>RPMTAG_TRIGGERFLAGS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERIN"><B>RPMTAG_TRIGGERIN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERINDEX"><B>RPMTAG_TRIGGERINDEX</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERNAME"><B>RPMTAG_TRIGGERNAME</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERPOSTUN"><B>RPMTAG_TRIGGERPOSTUN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERSCRIPTPROG"><B>RPMTAG_TRIGGERSCRIPTPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERSCRIPTS"><B>RPMTAG_TRIGGERSCRIPTS</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERUN"><B>RPMTAG_TRIGGERUN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_TRIGGERVERSION"><B>RPMTAG_TRIGGERVERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_URL"><B>RPMTAG_URL</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_VENDOR"><B>RPMTAG_VENDOR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_VERIFYSCRIPT"><B>RPMTAG_VERIFYSCRIPT</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_VERIFYSCRIPTPROG"><B>RPMTAG_VERIFYSCRIPTPROG</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_VERSION"><B>RPMTAG_VERSION</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RPMTAG_XPM"><B>RPMTAG_XPM</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/ReporterPackage.html" title="class in edu.sdsc.inca.repository"><B>ReporterPackage</B></A> - class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/ReporterPackage.html" title="class in edu.sdsc.inca.repository">ReporterPackage</A>.<DD>The ReporterPackage class provides access to a single reporter package.<DT><A HREF="edu/sdsc/inca/repository/ReporterPackage.html#ReporterPackage(java.net.URL)"><B>ReporterPackage(URL)</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/ReporterPackage.html" title="class in edu.sdsc.inca.repository">ReporterPackage</A>
<DD>Instantiates a new ReporterPackage located via url.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository"><B>Repositories</B></A> - class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>.<DD>Provides convenience methods for dealing with a set of Inca reporter
repositories.<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#Repositories()"><B>Repositories()</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Creates a Repositories object using the default repositories file
to store its state.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#Repositories(java.lang.String)"><B>Repositories(String)</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Creates a Repositories object using the provided filePath to read/save
the list of repositories.
<DT><A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository"><B>RepositoriesTest</B></A> - class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository">RepositoriesTest</A>.<DD>Some testing of Repositories.<DT><A HREF="edu/sdsc/inca/repository/RepositoriesTest.html#RepositoriesTest()"><B>RepositoriesTest()</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository">RepositoriesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository"><B>Repository</B></A> - class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>.<DD>The Repository class provides access to the contents of an Inca reporter
repository--the catalog of Reporter packages and the packages themselves.<DT><A HREF="edu/sdsc/inca/repository/Repository.html#Repository(java.net.URL)"><B>Repository(URL)</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Instantiates a repository accessed via a base URL.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#Repository(java.net.URL, java.util.Properties[])"><B>Repository(URL, Properties[])</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Instantiates a repository with a catalog generated elsewhere.
<DT><A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html" title="class in edu.sdsc.inca.repository"><B>RepositoryPackageTest</B></A> - class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html" title="class in edu.sdsc.inca.repository">RepositoryPackageTest</A>.<DD> <DT><A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html#RepositoryPackageTest()"><B>RepositoryPackageTest()</B></A> -
Constructor for class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html" title="class in edu.sdsc.inca.repository">RepositoryPackageTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util"><B>ResourcesWrapper</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>.<DD>A convenience class for dealing with resource configuration files which
provides methods for accessing the content.<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#ResourcesWrapper()"><B>ResourcesWrapper()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Default constructor which creates a blank resource configuration document.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#ResourcesWrapper(edu.sdsc.inca.dataModel.resourceConfig.ResourceConfigDocument)"><B>ResourcesWrapper(ResourceConfigDocument)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Create a new ResourcesWrapper object from an XML Beans class instance.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#ResourcesWrapper(java.lang.String)"><B>ResourcesWrapper(String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Create a new ResourcesWrapper object from a unencrypted resource
configuration XML document file.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#ResourcesWrapper(java.lang.String, java.lang.String)"><B>ResourcesWrapper(String, String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Create a new ResourcesWrapper object from an encrypted resource
configuration XML document file.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#ResourcesWrapper(java.io.Reader)"><B>ResourcesWrapper(Reader)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Create a new ResourcesWrapper object from a reader object.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util"><B>ResourcesWrapper.ResourceInfo</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html#ResourcesWrapper.ResourceInfo()"><B>ResourcesWrapper.ResourceInfo()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util"><B>ResourcesWrapperTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>.<DD>A tester class for ResourcesWrapper.<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#ResourcesWrapperTest()"><B>ResourcesWrapperTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util"><B>RpmPackage</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util">RpmPackage</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/RpmPackage.html#RpmPackage(java.io.InputStream)"><B>RpmPackage(InputStream)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.html" title="class in edu.sdsc.inca.util">RpmPackage</A>
<DD>Instantiates an RpmPackage by reading source.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmLead.html" title="class in edu.sdsc.inca.util"><B>RpmPackage.RpmLead</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmLead.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmLead</A>.<DD>The lead of an RPM package is a fixed-length section that appears in the
first 96 bytes.<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmLead.html#RpmPackage.RpmLead(java.io.DataInputStream)"><B>RpmPackage.RpmLead(DataInputStream)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmLead.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmLead</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util"><B>RpmPackage.RpmProperty</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>.<DD>An RPM property is a numeric tag, a type indicator, and associated data.<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#RpmPackage.RpmProperty(int, int, byte[])"><B>RpmPackage.RpmProperty(int, int, byte[])</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Instantiates a RpmProperty with the enclosed values.
<DT><A HREF="edu/sdsc/inca/Client.html#read()"><B>read()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Read the next statement from the server.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#read(java.lang.String, java.lang.String)"><B>read(String, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Read in a XML file from disk and decrypt any passwords/passphrases
contained in it.
<DT><A HREF="edu/sdsc/inca/Component.html#readCredentials()"><B>readCredentials()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Read in the credentials using the paths to the credentials and passphrase.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#readStatement()"><B>readStatement()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>Reads a complete statement from the input stream, or null if the stream
has been closed.
<DT><A HREF="edu/sdsc/inca/Component.html#readVersion(java.lang.String)"><B>readVersion(String)</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Read the version for the component from a file in the classpath.
<DT><A HREF="edu/sdsc/inca/Client.html#reader"><B>reader</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#refresh()"><B>refresh()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Refresh the current catalog contents of all repositories.
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#refresh()"><B>refresh()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Refresh the catalog contents by downloading the Packages.gz file and
replacing the current contents.
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html#registerMessageHandler(java.lang.String, java.lang.String)"><B>registerMessageHandler(String, String)</B></A> -
Static method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactory.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactory</A>
<DD>Add a task to the known list.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#remove()"><B>remove()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Remove the suite document from disk.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#removeRepository(java.lang.String)"><B>removeRepository(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Removes the repository with a particular URL from the set.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#resolveReporterNames(edu.sdsc.inca.util.SuiteWrapper, edu.sdsc.inca.repository.Repositories)"><B>resolveReporterNames(SuiteWrapper, Repositories)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>Replace the reporter names with reporter uris.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html#resource"><B>resource</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.ResourceInfo.html" title="class in edu.sdsc.inca.util">ResourcesWrapper.ResourceInfo</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#run()"><B>run()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Start listening on the specified port for connections.
<DT><A HREF="edu/sdsc/inca/util/Worker.html#run()"><B>run()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Worker.html" title="class in edu.sdsc.inca.util">Worker</A>
<DD>Start the worker.
</DL>
<HR>
<A NAME="_S_"><!-- --></A><H2>
<B>S</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#SECONDS_TO_HOUR"><B>SECONDS_TO_HOUR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Constants.html#SECONDS_TO_MINUTE"><B>SECONDS_TO_MINUTE</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Constants.html" title="class in edu.sdsc.inca.util">Constants</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#SERIES_CONFIG_ADD"><B>SERIES_CONFIG_ADD</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Actions for SeriesConfigs in SUITE_UPDATE_COMMAND.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#SERIES_CONFIG_DELETE"><B>SERIES_CONFIG_DELETE</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#SERVER_LOGFILE_PATH"><B>SERVER_LOGFILE_PATH</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#SERVER_OPTS"><B>SERVER_OPTS</B></A> -
Static variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReader.html#SP"><B>SP</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReader.html" title="class in edu.sdsc.inca.protocol">ProtocolReader</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#SSH_IDENTITY_MACRO"><B>SSH_IDENTITY_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#SSH_PASSWORD_MACRO"><B>SSH_PASSWORD_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#START_COMMAND"><B>START_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: START version
Response: OK version
Tests whether client and server are using the same protocol version.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#SUCCESS_COMMAND"><B>SUCCESS_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: OK [SP data] CRLF
Response: none.
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#SUITE_UPDATE_COMMAND"><B>SUITE_UPDATE_COMMAND</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>Command: SUITE SP xml CRLF
Response: OK SP version CRLF.
<DT><A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca"><B>Server</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>.<DD> <DT><A HREF="edu/sdsc/inca/Server.html#Server()"><B>Server()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca"><B>ServerClientTest</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>.<DD> <DT><A HREF="edu/sdsc/inca/ServerClientTest.html#ServerClientTest()"><B>ServerClientTest()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca"><B>ServerTest</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca">ServerTest</A>.<DD>None of the tests in this class actually start the server...<DT><A HREF="edu/sdsc/inca/ServerTest.html#ServerTest()"><B>ServerTest()</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca">ServerTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerWorker.html" title="class in edu.sdsc.inca"><B>ServerWorker</B></A> - class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerWorker.html" title="class in edu.sdsc.inca">ServerWorker</A>.<DD> <DT><A HREF="edu/sdsc/inca/ServerWorker.html#ServerWorker(edu.sdsc.inca.util.WorkQueue)"><B>ServerWorker(WorkQueue)</B></A> -
Constructor for class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerWorker.html" title="class in edu.sdsc.inca">ServerWorker</A>
<DD>Create the worker object associated with the named queue.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol"><B>Statement</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/Statement.html#Statement()"><B>Statement()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Creates a statement with no command or data.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#Statement(char[])"><B>Statement(char[])</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Creates a Statment from a byte array that contains both the command and
optional data.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#Statement(char[], char[])"><B>Statement(char[], char[])</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Create a new statement object from separate command and data arrays.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#Statement(java.lang.String)"><B>Statement(String)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Creates a Statment from a string that contains both the command and
optional data.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#Statement(java.lang.String, java.lang.String)"><B>Statement(String, String)</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Create a new statement object from separate command and data strings.
<DT><A HREF="edu/sdsc/inca/protocol/StatementTest.html" title="class in edu.sdsc.inca.protocol"><B>StatementTest</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/StatementTest.html" title="class in edu.sdsc.inca.protocol">StatementTest</A>.<DD>Unit tests for Statment class.<DT><A HREF="edu/sdsc/inca/protocol/StatementTest.html#StatementTest()"><B>StatementTest()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/StatementTest.html" title="class in edu.sdsc.inca.protocol">StatementTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util"><B>StringMethods</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util">StringMethods</A>.<DD>A class of useful static utility methods that really fit elsewhere.<DT><A HREF="edu/sdsc/inca/util/StringMethods.html#StringMethods()"><B>StringMethods()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util">StringMethods</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteModificationException.html" title="class in edu.sdsc.inca.util"><B>SuiteModificationException</B></A> - exception edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteModificationException.html" title="class in edu.sdsc.inca.util">SuiteModificationException</A>.<DD>Exception for applying changes to suites.<DT><A HREF="edu/sdsc/inca/util/SuiteModificationException.html#SuiteModificationException()"><B>SuiteModificationException()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteModificationException.html" title="class in edu.sdsc.inca.util">SuiteModificationException</A>
<DD>Creates a new ReporterManagerException Object.
<DT><A HREF="edu/sdsc/inca/util/SuiteModificationException.html#SuiteModificationException(java.lang.String)"><B>SuiteModificationException(String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteModificationException.html" title="class in edu.sdsc.inca.util">SuiteModificationException</A>
<DD>Creates a new ReporterManagerException Object.
<DT><A HREF="edu/sdsc/inca/util/SuiteModificationException.html#SuiteModificationException(java.lang.String, java.lang.Throwable)"><B>SuiteModificationException(String, Throwable)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteModificationException.html" title="class in edu.sdsc.inca.util">SuiteModificationException</A>
<DD>Creates a new ReporterManagerException Object.
<DT><A HREF="edu/sdsc/inca/util/SuiteModificationException.html#SuiteModificationException(java.lang.Throwable)"><B>SuiteModificationException(Throwable)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteModificationException.html" title="class in edu.sdsc.inca.util">SuiteModificationException</A>
<DD>Creates a new ReporterManagerException Object.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util"><B>SuiteStagesWrapper</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>.<DD>Convenience object for accessing suite stages documents and persisting
changes to them.<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#SuiteStagesWrapper(edu.sdsc.inca.util.ResourcesWrapper)"><B>SuiteStagesWrapper(ResourcesWrapper)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Create a SuiteStagesWrapper object with a blank SuiteStages document.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#SuiteStagesWrapper(java.lang.String, edu.sdsc.inca.util.ResourcesWrapper)"><B>SuiteStagesWrapper(String, ResourcesWrapper)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Create a new SuiteStagesWrapper object from a SuiteStages file.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#SuiteStagesWrapper(java.lang.String, java.lang.String, edu.sdsc.inca.util.ResourcesWrapper)"><B>SuiteStagesWrapper(String, String, ResourcesWrapper)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Create a new SuiteStagesWrapper object from a SuiteStages file.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util"><B>SuiteStagesWrapperTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>.<DD>Created by IntelliJ IDEA.<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#SuiteStagesWrapperTest()"><B>SuiteStagesWrapperTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util"><B>SuiteWrapper</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>.<DD>Convenience object for accessing suite documents and persisting changes
to them.<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#SuiteWrapper()"><B>SuiteWrapper()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Create a new SuiteWrapper object containing a blank suite.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#SuiteWrapper(edu.sdsc.inca.dataModel.suite.SuiteDocument)"><B>SuiteWrapper(SuiteDocument)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Create a new SuiteWrapper object from an XML Beans class instance.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapper.html#SuiteWrapper(java.lang.String)"><B>SuiteWrapper(String)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapper.html" title="class in edu.sdsc.inca.util">SuiteWrapper</A>
<DD>Create a new SuiteWrapper object from a suite XML file.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util"><B>SuiteWrapperTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>.<DD>Tests the SuiteWrapper class<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#SuiteWrapperTest()"><B>SuiteWrapperTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#save()"><B>save()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Save the resource configuration file to disk.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#save()"><B>save()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Save the suite document to disk.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#save(java.lang.String, java.lang.String, java.lang.String)"><B>save(String, String, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#saveRepositories(java.lang.String)"><B>saveRepositories(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Writes the set of repository URLs to a specified file.
<DT><A HREF="edu/sdsc/inca/util/StringMethods.html#sendEmail(java.lang.String, java.lang.String, java.lang.String)"><B>sendEmail(String, String, String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/StringMethods.html" title="class in edu.sdsc.inca.util">StringMethods</A>
<DD>Send a notification email to the specified email address.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#sendPackage(java.lang.String, java.lang.String, java.lang.String, byte[], java.lang.String, java.lang.String, java.lang.String)"><B>sendPackage(String, String, String, byte[], String, String, String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Send the provided package information and content to the manager.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#sendProxyRenewInfo(java.lang.String, java.lang.String, int, java.lang.String, int, java.lang.String)"><B>sendProxyRenewInfo(String, String, int, String, int, String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Send the provided proxy renewal information to the manager.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#sendSuite(java.lang.String, edu.sdsc.inca.dataModel.suite.SuiteDocument)"><B>sendSuite(String, SuiteDocument)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Send the specified suite document to the remote reporter manager.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#seriesConfigCrossProduct(edu.sdsc.inca.dataModel.util.SeriesConfig, java.lang.String)"><B>seriesConfigCrossProduct(SeriesConfig, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Expand the macros contained in the suite's seriesConfig using the
definitions provided in resources and create multiple seriesConfig for
suiteExpanded.
<DT><A HREF="edu/sdsc/inca/Component.html#setAuthenticate(boolean)"><B>setAuthenticate(boolean)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Determines whether or not the connection is authenticated.
<DT><A HREF="edu/sdsc/inca/Component.html#setCertificatePath(java.lang.String)"><B>setCertificatePath(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Sets the path to the file that contains the component certificate.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#setCmd(char[])"><B>setCmd(char[])</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>set the cmd.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#setConfig(java.lang.String)"><B>setConfig(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>Replaces or updates the Inca deployment configuration.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#setConfiguration(java.util.Properties)"><B>setConfiguration(Properties)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>A convenience function for setting multiple configuration properties at
once.
<DT><A HREF="edu/sdsc/inca/Client.html#setConfiguration(java.util.Properties)"><B>setConfiguration(Properties)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>A convenience function for setting multiple configuration properties at
once.
<DT><A HREF="edu/sdsc/inca/Component.html#setConfiguration(java.util.Properties)"><B>setConfiguration(Properties)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>A convenience function for setting multiple Component configuration
properties at once.
<DT><A HREF="edu/sdsc/inca/DepotClient.html#setConfiguration(java.util.Properties)"><B>setConfiguration(Properties)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>A convenience function for setting multiple configuration properties at
once.
<DT><A HREF="edu/sdsc/inca/Server.html#setConfiguration(java.util.Properties)"><B>setConfiguration(Properties)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>A convenience function for setting multiple configuration properties at
once.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#setData(char[])"><B>setData(char[])</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>set the data.
<DT><A HREF="edu/sdsc/inca/AgentClient.html#setDeployPath(java.lang.String)"><B>setDeployPath(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/AgentClient.html" title="class in edu.sdsc.inca">AgentClient</A>
<DD>Sets the path to the IncaDocument XML deployment file.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#setDocument(edu.sdsc.inca.dataModel.suiteStages.SuiteStagesDocument)"><B>setDocument(SuiteStagesDocument)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Set a new SuiteStages document for this object.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#setFilePath(java.lang.String)"><B>setFilePath(String)</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Set the path to the repositories file.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#setFilePath(java.lang.String)"><B>setFilePath(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Set the path to the resources file.
<DT><A HREF="edu/sdsc/inca/Client.html#setHost(java.lang.String)"><B>setHost(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Sets the host where the server is running.
<DT><A HREF="edu/sdsc/inca/Server.html#setHostname(java.lang.String)"><B>setHostname(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Sets the name of the host where this server is running.
<DT><A HREF="edu/sdsc/inca/Component.html#setKeyPath(java.lang.String)"><B>setKeyPath(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Sets the path to the file that contains the component private key.
<DT><A HREF="edu/sdsc/inca/Component.html#setLogFile(java.lang.String)"><B>setLogFile(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Sets the path to the file where the component writes log messages.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#setPassphrase(java.lang.String)"><B>setPassphrase(String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Set the passphrase associated with these resources.
<DT><A HREF="edu/sdsc/inca/Component.html#setPassword(java.lang.String)"><B>setPassword(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Sets the component encryption password.
<DT><A HREF="edu/sdsc/inca/Client.html#setPort(int)"><B>setPort(int)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Sets the port where the server is listening.
<DT><A HREF="edu/sdsc/inca/Server.html#setPort(int)"><B>setPort(int)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Set the port to bind to.
<DT><A HREF="edu/sdsc/inca/util/ConfigProperties.html#setPropertiesFromArgs(java.lang.String, java.lang.String[])"><B>setPropertiesFromArgs(String, String[])</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigProperties.html" title="class in edu.sdsc.inca.util">ConfigProperties</A>
<DD>Parses command-line arguments, storing each option/value pair as a
property.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#setReader(edu.sdsc.inca.protocol.ProtocolReader)"><B>setReader(ProtocolReader)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Set the reader connected to the remote reporter manager.
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#setRepositories(edu.sdsc.inca.repository.Repository[])"><B>setRepositories(Repository[])</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>Set the repositories the agent should download reporters from upon
receiving a suite (if it hasn't downloaded them before).
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapper.html#setResourceConfigDocument(edu.sdsc.inca.dataModel.resourceConfig.ResourceConfigDocument)"><B>setResourceConfigDocument(ResourceConfigDocument)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapper.html" title="class in edu.sdsc.inca.util">ResourcesWrapper</A>
<DD>Set the resource configuration document to the provided document.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#setResources(edu.sdsc.inca.util.ResourcesWrapper)"><B>setResources(ResourcesWrapper)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>Set the new resource configuration information and apply it to the
existing suite.
<DT><A HREF="edu/sdsc/inca/Client.html#setServer(java.lang.String, int)"><B>setServer(String, int)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Sets the host and port of the server to contact.
<DT><A HREF="edu/sdsc/inca/Server.html#setTempPath(java.lang.String)"><B>setTempPath(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Sets the directory path where the Server stores temporary files.
<DT><A HREF="edu/sdsc/inca/Component.html#setTrustedPath(java.lang.String)"><B>setTrustedPath(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>Set the trusted certificates to the contents of the directory given.
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#setUp()"><B>setUp()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#setWorkerCount(int)"><B>setWorkerCount(int)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Sets the number of workers the Server uses to handle incoming messages.
<DT><A HREF="edu/sdsc/inca/ManagerClient.html#setWriter(edu.sdsc.inca.protocol.ProtocolWriter)"><B>setWriter(ProtocolWriter)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ManagerClient.html" title="class in edu.sdsc.inca">ManagerClient</A>
<DD>Set the writer connected to the remote reporter manager.
<DT><A HREF="edu/sdsc/inca/Server.html#shutdown"><B>shutdown</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#shutdown()"><B>shutdown()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>Asks the Server to shutdown.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluator.html#skipSpaces(java.lang.StringBuffer)"><B>skipSpaces(StringBuffer)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluator.html" title="class in edu.sdsc.inca.util">ExprEvaluator</A>
<DD>Removes leading spaces from a StringBuffer.
<DT><A HREF="edu/sdsc/inca/Client.html#socket"><B>socket</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#ssocket"><B>ssocket</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
</DL>
<HR>
<A NAME="_T_"><!-- --></A><H2>
<B>T</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html#TEST_STRING"><B>TEST_STRING</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol">ProtocolWriterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_BIN"><B>TYPE_BIN</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_CHAR"><B>TYPE_CHAR</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>Enumeration of property type values.
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_I18NSTRING"><B>TYPE_I18NSTRING</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_INT16"><B>TYPE_INT16</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_INT32"><B>TYPE_INT32</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_INT64"><B>TYPE_INT64</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_INT8"><B>TYPE_INT8</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_NAMES"><B>TYPE_NAMES</B></A> -
Variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_STRING"><B>TYPE_STRING</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html#TYPE_STRING_ARRAY"><B>TYPE_STRING_ARRAY</B></A> -
Static variable in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/RpmPackage.RpmProperty.html" title="class in edu.sdsc.inca.util">RpmPackage.RpmProperty</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html#telnetDialog(edu.sdsc.inca.Client, java.lang.String)"><B>telnetDialog(Client, String)</B></A> -
Static method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Allows the user to use a client via a telnet-style interface.
<DT><A HREF="edu/sdsc/inca/Server.html#tempPath"><B>tempPath</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/WorkQueueTest.html#testAddNull()"><B>testAddNull()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util">WorkQueueTest</A>
<DD>Adding null to the queue should throw a nullPointerException.
<DT><A HREF="edu/sdsc/inca/util/WorkQueueTest.html#testAddRemoveSameWork()"><B>testAddRemoveSameWork()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util">WorkQueueTest</A>
<DD>Adds 10 integers and then uses 5 threads to retrieve them.
<DT><A HREF="edu/sdsc/inca/util/WorkQueueTest.html#testAddWork()"><B>testAddWork()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util">WorkQueueTest</A>
<DD>Tests the addition of one task and the removal of that task.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testAlpha()"><B>testAlpha()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testAlternation()"><B>testAlternation()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for alternation.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testAlternationAndCatenation()"><B>testAlternationAndCatenation()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for a mix of alternation and catenation.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testArgCrossProduct()"><B>testArgCrossProduct()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test the ability to get the cross product of a report series args
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html#testBasicCharArray()"><B>testBasicCharArray()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol">ProtocolWriterTest</A>
<DD>Test writing a simple char array.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testBlankSuite()"><B>testBlankSuite()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test good behavior when dealing with a blank suite
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#testBlankSuite()"><B>testBlankSuite()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>Test good behavior when dealing with a blank suite
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#testCRLFOnly()"><B>testCRLFOnly()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>If the stream only contains CRLF then there should be a protocol
exception.
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#testChangeAction()"><B>testChangeAction()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>test the changeAction function
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testCharSets()"><B>testCharSets()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for character sets.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testChooseCronFieldValue()"><B>testChooseCronFieldValue()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test proper substitution of all cron fields
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testChooseSchedule()"><B>testChooseSchedule()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test ability to substitute '?'s in schedules
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testConcatenation()"><B>testConcatenation()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for concatenation.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapperTest.html#testConfigEquals()"><B>testConfigEquals()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapperTest.html" title="class in edu.sdsc.inca.util">XmlWrapperTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testConjunctions()"><B>testConjunctions()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/StatementTest.html#testConstruct()"><B>testConstruct()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/StatementTest.html" title="class in edu.sdsc.inca.protocol">StatementTest</A>
<DD>Test the constructor.
<DT><A HREF="edu/sdsc/inca/protocol/StatementTest.html#testConstructGetSet()"><B>testConstructGetSet()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/StatementTest.html" title="class in edu.sdsc.inca.protocol">StatementTest</A>
<DD>test get and set after testing constructor.
<DT><A HREF="edu/sdsc/inca/ServerTest.html#testConstructor()"><B>testConstructor()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca">ServerTest</A>
<DD>Test that the constructor finishes correctly and the shutdown hook was set.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testConstructorAndSave()"><B>testConstructorAndSave()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test the constructor and save/read capabilities
<DT><A HREF="edu/sdsc/inca/util/WorkQueueTest.html#testConstructorSimple()"><B>testConstructorSimple()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util">WorkQueueTest</A>
<DD>just testing to see that it gets through the constructor without an
exception.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapperTest.html#testCryptSensitive()"><B>testCryptSensitive()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapperTest.html" title="class in edu.sdsc.inca.util">XmlWrapperTest</A>
<DD>Test crypSensitive function
<DT><A HREF="edu/sdsc/inca/util/CrypterTest.html#testDecrypt()"><B>testDecrypt()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util">CrypterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/CrypterTest.html#testDecryptSubstrings()"><B>testDecryptSubstrings()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util">CrypterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html#testDiff()"><B>testDiff()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteWrapperTest</A>
<DD>Test the diff function
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testDifferentDigits()"><B>testDifferentDigits()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testDuplicates()"><B>testDuplicates()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for duplicate filtering.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testEmptyPattern()"><B>testEmptyPattern()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for an empty pattern.
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#testEmptyStream()"><B>testEmptyStream()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>Test the empty stream case.
<DT><A HREF="edu/sdsc/inca/util/CrypterTest.html#testEncrypt()"><B>testEncrypt()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util">CrypterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/CrypterTest.html#testEncryptSubstrings()"><B>testEncryptSubstrings()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/CrypterTest.html" title="class in edu.sdsc.inca.util">CrypterTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testEnvironVars()"><B>testEnvironVars()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test the ability to properly expand macros with $ in the value
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testEscape()"><B>testEscape()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests escaping of special characters.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testEscape()"><B>testEscape()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test the ability to properly escape XML
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testExpand()"><B>testExpand()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test ability to expand macros
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testFailureMessage()"><B>testFailureMessage()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/RepositoriesTest.html#testGetRepositoryForPackage()"><B>testGetRepositoryForPackage()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository">RepositoriesTest</A>
<DD>Test function getRepositoryForPackage
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testGetResourceSuites()"><B>testGetResourceSuites()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test ability to extract resource suites
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testGetResources()"><B>testGetResources()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test getResources
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testGetResourcesByXpath()"><B>testGetResourcesByXpath()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test getResources by xpath
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testGetValues()"><B>testGetValues()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test getValue[s]
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testGlob()"><B>testGlob()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests that translation from glob to regexp is done correctly.
<DT><A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html#testHostEquivalence()"><B>testHostEquivalence()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ResourcesWrapperTest.html" title="class in edu.sdsc.inca.util">ResourcesWrapperTest</A>
<DD>Test getResources using host equivalence
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#testIncompleteStatement()"><B>testIncompleteStatement()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>Incomplete statement is a protocol exception.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testInfinite()"><B>testInfinite()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for patterns that match an infinite set of strings.
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testLoadFromFile()"><B>testLoadFromFile()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#testLogCommands()"><B>testLogCommands()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>Make sure the Client getLog and logConfig commands work.
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testLongArgs()"><B>testLongArgs()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html#testMatch()"><B>testMatch()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersionTest</A>
<DD>test finding matching versions.
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testMergeEmptyOptions()"><B>testMergeEmptyOptions()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testMergeValidOptions()"><B>testMergeValidOptions()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html#testMismatch()"><B>testMismatch()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersionTest</A>
<DD>test finding mismatched versions.
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testMissingValue()"><B>testMissingValue()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testModify()"><B>testModify()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test expansion
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testNesting()"><B>testNesting()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for nesting.
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testNoArgs()"><B>testNoArgs()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html#testNonexistentRepository()"><B>testNonexistentRepository()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html" title="class in edu.sdsc.inca.repository">RepositoryPackageTest</A>
<DD>Test that an instantiation with a non-existent URL throws an exception.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testNumericEscape()"><B>testNumericEscape()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests numeric escape characters.
<DT><A HREF="edu/sdsc/inca/ServerTest.html#testOpenResourceStream()"><B>testOpenResourceStream()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca">ServerTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testOptional()"><B>testOptional()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for the ? qualifier.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testPackageName()"><B>testPackageName()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testParentheses()"><B>testParentheses()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testPatterns()"><B>testPatterns()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html#testPeek()"><B>testPeek()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html" title="class in edu.sdsc.inca.protocol">ProtocolReaderTest</A>
<DD>This tests the ability to peek at the next command.
<DT><A HREF="edu/sdsc/inca/repository/RepositoriesTest.html#testPersistence()"><B>testPersistence()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository">RepositoriesTest</A>
<DD>Test constructor and save
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testPersistenceAndModify()"><B>testPersistenceAndModify()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test suite dao persistence.
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#testPingCommand()"><B>testPingCommand()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>Make sure the Client ping command works.
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#testPingStatement()"><B>testPingStatement()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>Make sure that a ping statement works.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testPoints()"><B>testPoints()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testPutAllTrimmed()"><B>testPutAllTrimmed()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testRange()"><B>testRange()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for the {} qualifier.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html#testRead()"><B>testRead()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html" title="class in edu.sdsc.inca.protocol">ProtocolReaderTest</A>
<DD>This tests the ability to read a simple command.
<DT><A HREF="edu/sdsc/inca/util/XmlWrapperTest.html#testReadSave()"><B>testReadSave()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapperTest.html" title="class in edu.sdsc.inca.util">XmlWrapperTest</A>
<DD>Test read and save functions
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html#testReadWithCr()"><B>testReadWithCr()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolReaderTest.html" title="class in edu.sdsc.inca.protocol">ProtocolReaderTest</A>
<DD>This tests reading a Statement that contains a carriage return.
<DT><A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html#testReporterFetch()"><B>testReporterFetch()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html" title="class in edu.sdsc.inca.repository">RepositoryPackageTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testSeriesConfigCrossProduct()"><B>testSeriesConfigCrossProduct()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test ability to expand report series
<DT><A HREF="edu/sdsc/inca/ServerTest.html#testSetCertificate()"><B>testSetCertificate()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca">ServerTest</A>
<DD>Test that a valid key file can be read.
<DT><A HREF="edu/sdsc/inca/ServerTest.html#testSetKey()"><B>testSetKey()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerTest.html" title="class in edu.sdsc.inca">ServerTest</A>
<DD>Test that a valid key file can be read.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testSetResourcesWrapper()"><B>testSetResourcesWrapper()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>Test set ResourceCOnfigDAO function
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testSimpleConstants()"><B>testSimpleConstants()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testSimplePattern()"><B>testSimplePattern()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests expand for a simple pattern.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html#testSpecialEscape()"><B>testSpecialEscape()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePatternTest.html" title="class in edu.sdsc.inca.util">ExpandablePatternTest</A>
<DD>Tests special escape characters.
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testStandardArgs()"><B>testStandardArgs()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#testStart()"><B>testStart()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>Test instantiating the START command.
<DT><A HREF="edu/sdsc/inca/ServerClientTest.html#testStartNoError()"><B>testStartNoError()</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/ServerClientTest.html" title="class in edu.sdsc.inca">ServerClientTest</A>
<DD>Test a start message with no content.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html#testStatement()"><B>testStatement()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriterTest.html" title="class in edu.sdsc.inca.protocol">ProtocolWriterTest</A>
<DD>Test writing a simple statement.
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testSubpackageNames()"><B>testSubpackageNames()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testSyntaxError()"><B>testSyntaxError()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#testUndefId()"><B>testUndefId()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html#testUnknownArg()"><B>testUnknownArg()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ConfigPropertiesTest.html" title="class in edu.sdsc.inca.util">ConfigPropertiesTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html#testUnknownCommand()"><B>testUnknownCommand()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/MessageHandlerFactoryTest.html" title="class in edu.sdsc.inca.protocol">MessageHandlerFactoryTest</A>
<DD>Unknown command is a protocol exception.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html#testUpdatePackage()"><B>testUpdatePackage()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapperTest.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapperTest</A>
<DD>test updatePackage function
<DT><A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html#testValidRepository()"><B>testValidRepository()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoryPackageTest.html" title="class in edu.sdsc.inca.repository">RepositoryPackageTest</A>
<DD>Test that an instantiation with a valid URL succeeds.
<DT><A HREF="edu/sdsc/inca/repository/RepositoriesTest.html#testVersionCompare()"><B>testVersionCompare()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/RepositoriesTest.html" title="class in edu.sdsc.inca.repository">RepositoriesTest</A>
<DD>Test ability to compare versions
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#toChars()"><B>toChars()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>Converts the statement to bytes that can be sent across the wire.
<DT><A HREF="edu/sdsc/inca/protocol/Statement.html#toString()"><B>toString()</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Statement.html" title="class in edu.sdsc.inca.protocol">Statement</A>
<DD>
<DT><A HREF="edu/sdsc/inca/repository/Repository.html#toString()"><B>toString()</B></A> -
Method in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repository.html" title="class in edu.sdsc.inca.repository">Repository</A>
<DD>Override of the default toString method.
<DT><A HREF="edu/sdsc/inca/util/ExpandablePattern.html#toString()"><B>toString()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExpandablePattern.html" title="class in edu.sdsc.inca.util">ExpandablePattern</A>
<DD>Returns a regular expression that matches the same strings as this pattern.
<DT><A HREF="edu/sdsc/inca/util/Worker.html#toString()"><B>toString()</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Worker.html" title="class in edu.sdsc.inca.util">Worker</A>
<DD>Returns the name of the thread -- there really isn't any other state kept
in the class.
<DT><A HREF="edu/sdsc/inca/Component.html#trusted"><B>trusted</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Component.html#trustedPath"><B>trustedPath</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Component.html" title="class in edu.sdsc.inca">Component</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html#tryIt(java.lang.String, boolean)"><B>tryIt(String, boolean)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/ExprEvaluatorTest.html" title="class in edu.sdsc.inca.util">ExprEvaluatorTest</A>
<DD>
</DL>
<HR>
<A NAME="_U_"><!-- --></A><H2>
<B>U</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#unescape(java.lang.String)"><B>unescape(String)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Unescape escaped XML characters in a string.
<DT><A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html#updatePackage(java.lang.String, java.lang.String, java.lang.String)"><B>updatePackage(String, String, String)</B></A> -
Method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/SuiteStagesWrapper.html" title="class in edu.sdsc.inca.util">SuiteStagesWrapper</A>
<DD>
<DT><A HREF="edu/sdsc/inca/DepotClient.html#updateSuite(java.lang.String)"><B>updateSuite(String)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/DepotClient.html" title="class in edu.sdsc.inca">DepotClient</A>
<DD>Asks the Depot to add XML for a suite to its database, replacing any
existing XML for the same suite.
</DL>
<HR>
<A NAME="_V_"><!-- --></A><H2>
<B>V</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/repository/Repositories.html#VERSION_ATTR"><B>VERSION_ATTR</B></A> -
Static variable in class edu.sdsc.inca.repository.<A HREF="edu/sdsc/inca/repository/Repositories.html" title="class in edu.sdsc.inca.repository">Repositories</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersion.html" title="class in edu.sdsc.inca.protocol"><B>VerifyProtocolVersion</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersion.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersion</A>.<DD> <DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersion.html#VerifyProtocolVersion()"><B>VerifyProtocolVersion()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersion.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersion</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html" title="class in edu.sdsc.inca.protocol"><B>VerifyProtocolVersionTest</B></A> - class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersionTest</A>.<DD>Test basic functionality of VerifyProtocolVersion<DT><A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html#VerifyProtocolVersionTest()"><B>VerifyProtocolVersionTest()</B></A> -
Constructor for class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/VerifyProtocolVersionTest.html" title="class in edu.sdsc.inca.protocol">VerifyProtocolVersionTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#validate(org.apache.xmlbeans.XmlObject)"><B>validate(XmlObject)</B></A> -
Static method in class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>Validate the XML document and throw and XmlException if parsing fails.
</DL>
<HR>
<A NAME="_W_"><!-- --></A><H2>
<B>W</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#WORKING_DIR_MACRO"><B>WORKING_DIR_MACRO</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/protocol/Protocol.html#WORKING_DIR_MACRO_DEFAULT"><B>WORKING_DIR_MACRO_DEFAULT</B></A> -
Static variable in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/Protocol.html" title="class in edu.sdsc.inca.protocol">Protocol</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/WorkQueue.html" title="class in edu.sdsc.inca.util"><B>WorkQueue</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueue.html" title="class in edu.sdsc.inca.util">WorkQueue</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/WorkQueue.html#WorkQueue()"><B>WorkQueue()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueue.html" title="class in edu.sdsc.inca.util">WorkQueue</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util"><B>WorkQueueTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util">WorkQueueTest</A>.<DD>Created by IntelliJ IDEA.<DT><A HREF="edu/sdsc/inca/util/WorkQueueTest.html#WorkQueueTest()"><B>WorkQueueTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/WorkQueueTest.html" title="class in edu.sdsc.inca.util">WorkQueueTest</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/Worker.html" title="class in edu.sdsc.inca.util"><B>Worker</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Worker.html" title="class in edu.sdsc.inca.util">Worker</A>.<DD> <DT><A HREF="edu/sdsc/inca/util/Worker.html#Worker(edu.sdsc.inca.util.WorkQueue)"><B>Worker(WorkQueue)</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/Worker.html" title="class in edu.sdsc.inca.util">Worker</A>
<DD>Create a new Worker which is attached to the named queue.
<DT><A HREF="edu/sdsc/inca/Server.html#workQueue"><B>workQueue</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#workerCount"><B>workerCount</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Server.html#workers"><B>workers</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Server.html" title="class in edu.sdsc.inca">Server</A>
<DD>
<DT><A HREF="edu/sdsc/inca/Client.html#write(edu.sdsc.inca.protocol.Statement)"><B>write(Statement)</B></A> -
Method in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>Write a statement to the server.
<DT><A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html#write(edu.sdsc.inca.protocol.Statement)"><B>write(Statement)</B></A> -
Method in class edu.sdsc.inca.protocol.<A HREF="edu/sdsc/inca/protocol/ProtocolWriter.html" title="class in edu.sdsc.inca.protocol">ProtocolWriter</A>
<DD>Write a statement to the protocolWriter.
<DT><A HREF="edu/sdsc/inca/Client.html#writer"><B>writer</B></A> -
Variable in class edu.sdsc.inca.<A HREF="edu/sdsc/inca/Client.html" title="class in edu.sdsc.inca">Client</A>
<DD>
</DL>
<HR>
<A NAME="_X_"><!-- --></A><H2>
<B>X</B></H2>
<DL>
<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util"><B>XmlWrapper</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>.<DD>We provide a set of Wrapper classes which provide convenience methods for
dealing with XML Bean classes generated from our Inca XML schemas.<DT><A HREF="edu/sdsc/inca/util/XmlWrapper.html#XmlWrapper()"><B>XmlWrapper()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapper.html" title="class in edu.sdsc.inca.util">XmlWrapper</A>
<DD>
<DT><A HREF="edu/sdsc/inca/util/XmlWrapperTest.html" title="class in edu.sdsc.inca.util"><B>XmlWrapperTest</B></A> - class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapperTest.html" title="class in edu.sdsc.inca.util">XmlWrapperTest</A>.<DD>Test XMLWrapper abstract class functions<DT><A HREF="edu/sdsc/inca/util/XmlWrapperTest.html#XmlWrapperTest()"><B>XmlWrapperTest()</B></A> -
Constructor for class edu.sdsc.inca.util.<A HREF="edu/sdsc/inca/util/XmlWrapperTest.html" title="class in edu.sdsc.inca.util">XmlWrapperTest</A>
<DD>
</DL>
<HR>
<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_K_">K</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <A HREF="#_X_">X</A>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
|
IncaProject/IncaProject.github.io
|
releases/2.0/javawsdocs/index-all.html
|
HTML
|
mit
| 249,778
|
var _ = require('lodash'),
EventEmitter = require('events').EventEmitter,
config = require('./config'),
Channel = require('./channel'),
Connection = require('./connection'),
Bus = require('./bus'),
API = require('./utils');
var subscribedChannels;
function Gusher (applicationKey, options) {
options || (options = {});
subscribedChannels = {};
this.options = options;
this.bus = new Bus();
this.connection = new Connection(this.bus);
}
Gusher.prototype.subscribe = function (channelName) {
var channel = new Channel(channelName, this.bus);
subscribedChannels[channelName] = channel;
return channel;
};
Gusher.prototype.unsubscribe = function (channelName) {
};
Gusher.prototype.allChannels = function () {
return _.values(subscribedChannels);
};
Gusher.prototype.disconnect = function () {
this.connection.disconnect();
//TODO actually unsubscribe from each channel
};
module.exports = {
gusher: Gusher,
api: API
};
|
dobrite/gusher
|
src/javascripts/gusher.js
|
JavaScript
|
mit
| 1,015
|
# https://www.reddit.com/r/zsh/comments/eblqvq/del_pgup_and_pgdown_input_in_terminal/fb7337q/
# If NumLock is off, translate keys to make them appear the same as with NumLock on.
bindkey -s '^[OM' '^M' # enter
bindkey -s '^[Ok' '+'
bindkey -s '^[Om' '-'
bindkey -s '^[Oj' '*'
bindkey -s '^[Oo' '/'
bindkey -s '^[OX' '='
# If someone switches our terminal to application mode (smkx), translate keys to make
# them appear the same as in raw mode (rmkx).
bindkey -s '^[OH' '^[[H' # home
bindkey -s '^[OF' '^[[F' # end
bindkey -s '^[OA' '^[[A' # up
bindkey -s '^[OB' '^[[B' # down
bindkey -s '^[OD' '^[[D' # left
bindkey -s '^[OC' '^[[C' # right
# TTY sends different key codes. Translate them to regular.
bindkey -s '^[[1~' '^[[H' # home
bindkey -s '^[[4~' '^[[F' # end
# Bind Home, End and a bunch of other standard things
bindkey '^?' backward-delete-char # bs delete one char backward
bindkey '^[[3~' delete-char # delete delete one char forward
bindkey '^[[H' beginning-of-line # home go to the beginning of line
bindkey '^[[F' end-of-line # end go to the end of line
bindkey '^[[1;5C' forward-word # ctrl+right go forward one word
bindkey '^[[1;5D' backward-word # ctrl+left go backward one word
bindkey '^H' backward-kill-word # ctrl+bs delete previous word
bindkey '^[[3;5~' kill-word # ctrl+del delete next word
bindkey '^J' backward-kill-line # ctrl+j delete everything before cursor
bindkey '^[[D' backward-char # left move cursor one char backward
bindkey '^[[C' forward-char # right move cursor one char forward
bindkey '^[[A' up-line-or-beginning-search # up prev command in history
bindkey '^[[B' down-line-or-beginning-search # down next command in history
autoload -Uz up-line-or-beginning-search
autoload -Uz down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
|
pdelre/dotfiles
|
zsh/bindkey.zsh
|
Shell
|
mit
| 2,100
|
var less = require('less');
var lessStr = '.class { width: (1+1)}';
less.render(lessStr, function(e, output) {
console.log(output.css);
});
console.log(less.render(lessStr));
|
escray/besike-nodejs-harp
|
lessExample.js
|
JavaScript
|
mit
| 177
|
# -*- mode: julia; -*-
VERSION >= v"0.4.0-dev+6521" && Base.__precompile__(true)
module WAV
export wavread, wavwrite, wavappend, wavplay
export WAVArray, WAVFormatExtension, WAVFormat
export isextensible, isformat, bits_per_sample
export WAVE_FORMAT_PCM, WAVE_FORMAT_IEEE_FLOAT, WAVE_FORMAT_ALAW, WAVE_FORMAT_MULAW
using FileIO
using Compat
function __init__()
module_dir = dirname(@__FILE__)
if Libdl.find_library(["libpulse-simple"]) != ""
include(joinpath(module_dir, "wavplay-pulse.jl"))
elseif Libdl.find_library(["AudioToolbox"],
["/System/Library/Frameworks/AudioToolbox.framework/Versions/A"]) != ""
include(joinpath(module_dir, "wavplay-audioqueue.jl"))
else
include(joinpath(module_dir, "wavplay-unsupported.jl"))
end
end
include("AudioDisplay.jl")
wavplay(fname) = wavplay(wavread(fname)[1:2]...)
# The WAV specification states that numbers are written to disk in little endian form.
write_le(stream::IO, value) = write(stream, htol(value))
read_le(stream::IO, x::Type) = ltoh(read(stream, x))
# used by WAVE_FORMAT_EXTENSIBLE
immutable WAVFormatExtension
nbits::UInt16 # overrides nbits in WAVFormat type
channel_mask::UInt32
sub_format::Array{UInt8, 1} # 16 byte GUID
WAVFormatExtension() = new(0, 0, Array(UInt8, 0))
WAVFormatExtension(nb, cm, sb) = new(nb, cm, sb)
end
# Required WAV Chunk; The format chunk describes how the waveform data is stored
immutable WAVFormat
compression_code::UInt16
nchannels::UInt16
sample_rate::UInt32
bytes_per_second::UInt32 # average bytes per second
block_align::UInt16
nbits::UInt16
ext::WAVFormatExtension
end
const WAVE_FORMAT_PCM = 0x0001 # PCM
const WAVE_FORMAT_IEEE_FLOAT = 0x0003 # IEEE float
const WAVE_FORMAT_ALAW = 0x0006 # A-Law
const WAVE_FORMAT_MULAW = 0x0007 # Mu-Law
const WAVE_FORMAT_EXTENSIBLE = 0xfffe # Extension!
isextensible(fmt::WAVFormat) = (fmt.compression_code == WAVE_FORMAT_EXTENSIBLE)
bits_per_sample(fmt::WAVFormat) = isextensible(fmt) ? fmt.ext.nbits : fmt.nbits
# DEFINE_GUIDSTRUCT("00000001-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_PCM);
const KSDATAFORMAT_SUBTYPE_PCM = [
0x01, 0x00, 0x00, 0x00,
0x00, 0x00,
0x10, 0x00,
0x80, 0x00,
0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
]
# DEFINE_GUIDSTRUCT("00000003-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_IEEE_FLOAT);
const KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = [
0x03, 0x00, 0x00, 0x00,
0x00, 0x00,
0x10, 0x00,
0x80, 0x00,
0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
]
# DEFINE_GUID(KSDATAFORMAT_SUBTYPE_MULAW, 0x00000007, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
const KSDATAFORMAT_SUBTYPE_MULAW = [
0x07, 0x00, 0x00, 0x00,
0x00, 0x00,
0x10, 0x00,
0x80, 0x00,
0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
]
#DEFINE_GUID(KSDATAFORMAT_SUBTYPE_ALAW, 0x00000006, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
const KSDATAFORMAT_SUBTYPE_ALAW = [
0x06, 0x00, 0x00, 0x00,
0x00, 0x00,
0x10, 0x00,
0x80, 0x00,
0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
]
function isformat(fmt::WAVFormat, code)
if code != WAVE_FORMAT_EXTENSIBLE && isextensible(fmt)
subtype = Array(UInt8, 0)
if code == WAVE_FORMAT_PCM
subtype = KSDATAFORMAT_SUBTYPE_PCM
elseif code == WAVE_FORMAT_IEEE_FLOAT
subtype = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
elseif code == WAVE_FORMAT_ALAW
subtype = KSDATAFORMAT_SUBTYPE_ALAW
elseif code == WAVE_FORMAT_MULAW
subtype = KSDATAFORMAT_SUBTYPE_MULAW
else
return false
end
return subtype == fmt.ext.sub_format
end
return fmt.compression_code == code
end
function WAVFormatExtension(bytes)
if isempty(bytes)
return WAVFormatExtension()
end
# split bytes into valid_bits_per_sample, channel_mask, and sub_format
valid_bits_per_sample = (convert(UInt16, bytes[2]) << 8) | convert(UInt16, bytes[1])
channel_mask = (convert(UInt32, bytes[6]) << 24) | (convert(UInt32, bytes[5]) << 16) | (convert(UInt32, bytes[4]) << 8) | convert(UInt32, bytes[3])
sub_format = bytes[7:end]
return WAVFormatExtension(valid_bits_per_sample, channel_mask, sub_format)
end
function read_header(io::IO)
# check if the given file has a valid RIFF header
riff = read(io, UInt8, 4)
if riff != b"RIFF"
error("Invalid WAV file: The RIFF header is invalid")
end
chunk_size = read_le(io, UInt32)
# check if this is a WAV file
format = read(io, UInt8, 4)
if format != b"WAVE"
error("Invalid WAV file: the format is not WAVE")
end
return chunk_size
end
function write_header(io::IO, data_length::UInt32)
write(io, b"RIFF") # RIFF header
write_le(io, data_length) # chunk_size
write(io, b"WAVE")
end
write_standard_header(io, data_length) = write_header(io, @compat UInt32(data_length + 36))
write_extended_header(io, data_length) = write_header(io, @compat UInt32(data_length + 60))
function read_format(io::IO, chunk_size::UInt32)
# can I read in all of the fields at once?
orig_chunk_size = convert(Int, chunk_size)
if chunk_size < 16
error("The WAVE Format chunk must be at least 16 bytes")
end
const compression_code = read_le(io, UInt16)
const nchannels = read_le(io, UInt16)
const sample_rate = read_le(io, UInt32)
const bytes_per_second = read_le(io, UInt32)
const block_align = read_le(io, UInt16)
const nbits = read_le(io, UInt16)
ext = Array(UInt8, 0)
chunk_size -= 16
if chunk_size > 0
const extra_bytes_length = read_le(io, UInt16)
if extra_bytes_length == 22
ext = read(io, UInt8, extra_bytes_length)
end
end
return WAVFormat(compression_code,
nchannels,
sample_rate,
bytes_per_second,
block_align,
nbits,
WAVFormatExtension(ext))
end
function write_format(io::IO, fmt::WAVFormat)
len = 16 # 16 is size of base format chunk
if isextensible(fmt)
len += 24 # 24 is the added length needed to encode the extension
end
# write the fmt subchunk header
write(io, b"fmt ")
write_le(io, convert(UInt32, len)) # subchunk length
write_le(io, fmt.compression_code) # audio format (UInt16)
write_le(io, fmt.nchannels) # number of channels (UInt16)
write_le(io, fmt.sample_rate) # sample rate (UInt32)
write_le(io, fmt.bytes_per_second) # byte rate (UInt32)
write_le(io, fmt.block_align) # byte align (UInt16)
write_le(io, fmt.nbits) # number of bits per sample (UInt16)
if isextensible(fmt)
write_le(io, convert(UInt16, 22))
write_le(io, fmt.ext.nbits)
write_le(io, fmt.ext.channel_mask)
@assert length(fmt.ext.sub_format) == 16
write(io, fmt.ext.sub_format)
end
end
function pcm_container_type(nbits::Unsigned)
if nbits > 32
return Int64
elseif nbits > 16
return Int32
elseif nbits > 8
return Int16
end
return UInt8
end
ieee_float_container_type(nbits) = (nbits == 32 ? Float32 : (nbits == 64 ? Float64 : error("$nbits bits is not supported for WAVE_FORMAT_IEEE_FLOAT.")))
function read_pcm_samples(io::IO, fmt::WAVFormat, subrange)
const nbits = bits_per_sample(fmt)
if isempty(subrange)
return Array(pcm_container_type(nbits), 0, fmt.nchannels)
end
samples = Array(pcm_container_type(nbits), length(subrange), fmt.nchannels)
sample_type = eltype(samples)
const nbytes = ceil(Integer, nbits / 8)
const bitshift = [0x0, 0x8, 0x10, 0x18, 0x20, 0x28, 0x30, 0x38, 0x40]
mask = @compat UInt64(0x1) << (nbits - 1)
if nbits <= 8
mask = @compat UInt64(0)
end
skip(io, convert(UInt, (first(subrange) - 1) * nbytes * fmt.nchannels))
for i = 1:size(samples, 1)
for j = 1:size(samples, 2)
raw_sample = read(io, UInt8, nbytes)
my_sample = @compat UInt64(0)
for k = 1:nbytes
my_sample |= convert(UInt64, raw_sample[k]) << bitshift[k]
end
my_sample >>= nbytes * 8 - nbits
# sign extend negative values
my_sample = (my_sample $ mask) - mask
samples[i, j] = convert(sample_type, signed(my_sample))
end
end
samples
end
function read_ieee_float_samples(io::IO, fmt::WAVFormat, subrange, floatType)
if isempty(subrange)
return Array(floatType, 0, fmt.nchannels)
end
const nblocks = length(subrange)
samples = Array(floatType, nblocks, fmt.nchannels)
const nbits = bits_per_sample(fmt)
skip(io, convert(UInt, (first(subrange) - 1) * (nbits / 8) * fmt.nchannels))
for i = 1:nblocks
for j = 1:fmt.nchannels
samples[i, j] = read_le(io, floatType)
end
end
samples
end
# take the loop variable type out of the loop
function read_ieee_float_samples(io::IO, fmt::WAVFormat, subrange)
const floatType = ieee_float_container_type(bits_per_sample(fmt))
read_ieee_float_samples(io, fmt, subrange, floatType)
end
function read_companded_samples(io::IO, fmt::WAVFormat, subrange, table)
if isempty(subrange)
return Array(eltype(table), 0, fmt.nchannels)
end
const nblocks = length(subrange)
samples = Array(eltype(table), nblocks, fmt.nchannels)
skip(io, convert(UInt, (first(subrange) - 1) * fmt.nchannels))
for i = 1:nblocks
for j = 1:fmt.nchannels
# add one to value from blocks because A-law stores values from 0 to 255.
const compressedByte::UInt8 = read(io, UInt8)
# Julia indexing is 1-based; I need a value from 1 to 256
samples[i, j] = table[compressedByte + 1]
end
end
return samples
end
function read_mulaw_samples(io::IO, fmt::WAVFormat, subrange)
# Quantized μ-law algorithm -- Use a look up table to convert
# From Wikipedia, ITU-T Recommendation G.711 and G.191 specify the following intervals:
#
# ---------------------------------------+--------------------------------
# 14 bit Binary Linear input code | 8 bit Compressed code
# ---------------------------------------+--------------------------------
# +8158 to +4063 in 16 intervals of 256 | 0x80 + interval number
# +4062 to +2015 in 16 intervals of 128 | 0x90 + interval number
# +2014 to +991 in 16 intervals of 64 | 0xA0 + interval number
# +990 to +479 in 16 intervals of 32 | 0xB0 + interval number
# +478 to +223 in 16 intervals of 16 | 0xC0 + interval number
# +222 to +95 in 16 intervals of 8 | 0xD0 + interval number
# +94 to +31 in 16 intervals of 4 | 0xE0 + interval number
# +30 to +1 in 15 intervals of 2 | 0xF0 + interval number
# 0 | 0xFF
# −1 | 0x7F
# −31 to −2 in 15 intervals of 2 | 0x70 + interval number
# −95 to −32 in 16 intervals of 4 | 0x60 + interval number
# −223 to −96 in 16 intervals of 8 | 0x50 + interval number
# −479 to −224 in 16 intervals of 16 | 0x40 + interval number
# −991 to −480 in 16 intervals of 32 | 0x30 + interval number
# −2015 to −992 in 16 intervals of 64 | 0x20 + interval number
# −4063 to −2016 in 16 intervals of 128 | 0x10 + interval number
# −8159 to −4064 in 16 intervals of 256 | 0x00 + interval number
# ---------------------------------------+--------------------------------
const MuLawDecompressTable =
[
-32124,-31100,-30076,-29052,-28028,-27004,-25980,-24956,
-23932,-22908,-21884,-20860,-19836,-18812,-17788,-16764,
-15996,-15484,-14972,-14460,-13948,-13436,-12924,-12412,
-11900,-11388,-10876,-10364, -9852, -9340, -8828, -8316,
-7932, -7676, -7420, -7164, -6908, -6652, -6396, -6140,
-5884, -5628, -5372, -5116, -4860, -4604, -4348, -4092,
-3900, -3772, -3644, -3516, -3388, -3260, -3132, -3004,
-2876, -2748, -2620, -2492, -2364, -2236, -2108, -1980,
-1884, -1820, -1756, -1692, -1628, -1564, -1500, -1436,
-1372, -1308, -1244, -1180, -1116, -1052, -988, -924,
-876, -844, -812, -780, -748, -716, -684, -652,
-620, -588, -556, -524, -492, -460, -428, -396,
-372, -356, -340, -324, -308, -292, -276, -260,
-244, -228, -212, -196, -180, -164, -148, -132,
-120, -112, -104, -96, -88, -80, -72, -64,
-56, -48, -40, -32, -24, -16, -8, -1,
32124, 31100, 30076, 29052, 28028, 27004, 25980, 24956,
23932, 22908, 21884, 20860, 19836, 18812, 17788, 16764,
15996, 15484, 14972, 14460, 13948, 13436, 12924, 12412,
11900, 11388, 10876, 10364, 9852, 9340, 8828, 8316,
7932, 7676, 7420, 7164, 6908, 6652, 6396, 6140,
5884, 5628, 5372, 5116, 4860, 4604, 4348, 4092,
3900, 3772, 3644, 3516, 3388, 3260, 3132, 3004,
2876, 2748, 2620, 2492, 2364, 2236, 2108, 1980,
1884, 1820, 1756, 1692, 1628, 1564, 1500, 1436,
1372, 1308, 1244, 1180, 1116, 1052, 988, 924,
876, 844, 812, 780, 748, 716, 684, 652,
620, 588, 556, 524, 492, 460, 428, 396,
372, 356, 340, 324, 308, 292, 276, 260,
244, 228, 212, 196, 180, 164, 148, 132,
120, 112, 104, 96, 88, 80, 72, 64,
56, 48, 40, 32, 24, 16, 8, 0
]
@assert length(MuLawDecompressTable) == 256
return read_companded_samples(io, fmt, subrange, MuLawDecompressTable)
end
function read_alaw_samples(io::IO, fmt::WAVFormat, subrange)
# Quantized A-law algorithm -- Use a look up table to convert
const ALawDecompressTable =
[
-5504, -5248, -6016, -5760, -4480, -4224, -4992, -4736,
-7552, -7296, -8064, -7808, -6528, -6272, -7040, -6784,
-2752, -2624, -3008, -2880, -2240, -2112, -2496, -2368,
-3776, -3648, -4032, -3904, -3264, -3136, -3520, -3392,
-22016,-20992,-24064,-23040,-17920,-16896,-19968,-18944,
-30208,-29184,-32256,-31232,-26112,-25088,-28160,-27136,
-11008,-10496,-12032,-11520,-8960, -8448, -9984, -9472,
-15104,-14592,-16128,-15616,-13056,-12544,-14080,-13568,
-344, -328, -376, -360, -280, -264, -312, -296,
-472, -456, -504, -488, -408, -392, -440, -424,
-88, -72, -120, -104, -24, -8, -56, -40,
-216, -200, -248, -232, -152, -136, -184, -168,
-1376, -1312, -1504, -1440, -1120, -1056, -1248, -1184,
-1888, -1824, -2016, -1952, -1632, -1568, -1760, -1696,
-688, -656, -752, -720, -560, -528, -624, -592,
-944, -912, -1008, -976, -816, -784, -880, -848,
5504, 5248, 6016, 5760, 4480, 4224, 4992, 4736,
7552, 7296, 8064, 7808, 6528, 6272, 7040, 6784,
2752, 2624, 3008, 2880, 2240, 2112, 2496, 2368,
3776, 3648, 4032, 3904, 3264, 3136, 3520, 3392,
22016, 20992, 24064, 23040, 17920, 16896, 19968, 18944,
30208, 29184, 32256, 31232, 26112, 25088, 28160, 27136,
11008, 10496, 12032, 11520, 8960, 8448, 9984, 9472,
15104, 14592, 16128, 15616, 13056, 12544, 14080, 13568,
344, 328, 376, 360, 280, 264, 312, 296,
472, 456, 504, 488, 408, 392, 440, 424,
88, 72, 120, 104, 24, 8, 56, 40,
216, 200, 248, 232, 152, 136, 184, 168,
1376, 1312, 1504, 1440, 1120, 1056, 1248, 1184,
1888, 1824, 2016, 1952, 1632, 1568, 1760, 1696,
688, 656, 752, 720, 560, 528, 624, 592,
944, 912, 1008, 976, 816, 784, 880, 848
]
@assert length(ALawDecompressTable) == 256
return read_companded_samples(io, fmt, subrange, ALawDecompressTable)
end
function compress_sample_mulaw(sample)
const MuLawCompressTable =
[
0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
]
@assert length(MuLawCompressTable) == 256
const cBias = 0x84
const cClip = 32635
const sampleSign = (sample >>> 8) & 0x80
if sampleSign != 0
sample = -sample
end
if sample > cClip
sample = cClip
end
sample = sample + cBias
const sampleExponent = MuLawCompressTable[(sample >>> 7) + 1]
const mantissa = (sample >> (sampleExponent+3)) & 0x0F
@compat UInt8((~ (sampleSign | (sampleExponent << 4) | mantissa)) & 0xff)
end
function compress_sample_alaw(sample)
const ALawCompressTable =
[
1,1,2,2,3,3,3,3,
4,4,4,4,4,4,4,4,
5,5,5,5,5,5,5,5,
5,5,5,5,5,5,5,5,
6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7
]
@assert length(ALawCompressTable) == 128
const cBias = 0x84
const cClip = 32635
const sampleSign = ((~sample >>> 8) & 0x80)
if sampleSign == 0
sample = -sample
end
if sample > cClip
sample = cClip
end
compressedByte = 0
if sample >= 256
const sampleExponent = ALawCompressTable[((sample >>> 8) & 0x7f) + 1]
const mantissa = (sample >>> (sampleExponent + 3) ) & 0x0f
compressedByte = ((sampleExponent << 4) | mantissa) & 0xff
else
compressedByte = (sample >>> 4) & 0xff
end
compressedByte $= (sampleSign $ 0x55)
@compat UInt8(compressedByte & 0xff)
end
function write_companded_samples{T<:Integer}(io::IO, samples::AbstractArray{T}, compander::Function)
for i = 1:size(samples, 1)
for j = 1:size(samples, 2)
write_le(io, compander(samples[i, j]))
end
end
end
function write_companded_samples{T<:AbstractFloat}(io::IO, samples::AbstractArray{T}, compander::Function)
samples = convert(Array{Int16}, round(samples * typemax(Int16)))
write_companded_samples(io, samples, compander)
end
# PCM data is two's-complement except for resolutions of 1-8 bits, which are represented as offset binary.
# support every bit width from 1 to 8 bits
convert_pcm_to_double(samples::AbstractArray{UInt8}, nbits::Integer) = convert(Array{Float64}, samples) ./ (2.0^nbits - 1) .* 2.0 .- 1.0
convert_pcm_to_double(::AbstractArray{Int8}, ::Integer) = error("WAV files use offset binary for less than 9 bits")
# support every bit width from 9 to 64 bits
convert_pcm_to_double{T<:Signed}(samples::AbstractArray{T}, nbits::Integer) = convert(Array{Float64}, samples) / (2.0^(nbits - 1) - 1)
function read_data(io::IO, chunk_size, fmt::WAVFormat, format, subrange)
# "format" is the format of values, while "fmt" is the WAV file level format
convert_to_double = x -> convert(Array{Float64}, x)
if subrange === Void
# each block stores fmt.nchannels channels
subrange = 1:convert(UInt, chunk_size / fmt.block_align)
end
if isformat(fmt, WAVE_FORMAT_PCM)
samples = read_pcm_samples(io, fmt, subrange)
convert_to_double = x -> convert_pcm_to_double(x, bits_per_sample(fmt))
elseif isformat(fmt, WAVE_FORMAT_IEEE_FLOAT)
samples = read_ieee_float_samples(io, fmt, subrange)
elseif isformat(fmt, WAVE_FORMAT_MULAW)
samples = read_mulaw_samples(io, fmt, subrange)
convert_to_double = x -> convert_pcm_to_double(x, 16)
elseif isformat(fmt, WAVE_FORMAT_ALAW)
samples = read_alaw_samples(io, fmt, subrange)
convert_to_double = x -> convert_pcm_to_double(x, 16)
else
error("$(fmt.compression_code) is an unsupported compression code!")
end
if format == "double"
samples = convert_to_double(samples)
end
samples
end
function write_pcm_samples{T<:Integer}(io::IO, fmt::WAVFormat, samples::AbstractArray{T})
const nbits = bits_per_sample(fmt)
# number of bytes per sample
const nbytes = ceil(Integer, nbits / 8)
for i = 1:size(samples, 1)
for j = 1:size(samples, 2)
my_sample = samples[i, j]
# shift my_sample into the N most significant bits
my_sample <<= nbytes * 8 - nbits
for k = 1:nbytes
write_le(io, convert(UInt8, my_sample & 0xff))
my_sample = my_sample >> 8
end
end
end
end
function write_pcm_samples{T<:AbstractFloat}(io::IO, fmt::WAVFormat, samples::AbstractArray{T})
const nbits = bits_per_sample(fmt)
# Scale the floating point values to the PCM range
if nbits > 8
# two's complement
samples = convert(Array{pcm_container_type(nbits)}, round(samples * (2.0^(nbits - 1) - 1)))
else
# offset binary
samples = convert(Array{UInt8}, round((samples .+ 1.0) / 2.0 * (2.0^nbits - 1)))
end
return write_pcm_samples(io, fmt, samples)
end
function write_ieee_float_samples(io::IO, samples)
# Interleave the channel samples before writing to the stream.
for i = 1:size(samples, 1) # for each sample
for j = 1:size(samples, 2) # for each channel
write_le(io, samples[i, j])
end
end
end
# take the loop variable type out of the loop
function write_ieee_float_samples(io::IO, fmt::WAVFormat, samples)
const floatType = ieee_float_container_type(bits_per_sample(fmt))
write_ieee_float_samples(io, convert(Array{floatType}, samples))
end
function write_data(io::IO, fmt::WAVFormat, samples::AbstractArray)
if isformat(fmt, WAVE_FORMAT_PCM)
return write_pcm_samples(io, fmt, samples)
elseif isformat(fmt, WAVE_FORMAT_IEEE_FLOAT)
return write_ieee_float_samples(io, fmt, samples)
elseif isformat(fmt, WAVE_FORMAT_MULAW)
return write_companded_samples(io, samples, compress_sample_mulaw)
elseif isformat(fmt, WAVE_FORMAT_ALAW)
return write_companded_samples(io, samples, compress_sample_alaw)
else
error("$(fmt.compression_code) is an unsupported compression code.")
end
end
make_range(subrange) = subrange
make_range(subrange::Number) = 1:convert(Int, subrange)
function wavread(io::IO; subrange=Void, format="double")
chunk_size = read_header(io)
samples = Array(Float64)
nbits = 0
sample_rate = @compat Float32(0.0)
opt = Dict{Symbol, Any}()
# Note: This assumes that the format chunk is written in the file before the data chunk. The
# specification does not require this assumption, but most real files are written that way.
# Subtract the size of the format field from chunk_size; now it holds the size
# of all the sub-chunks
chunk_size -= 4
# GitHub Issue #18: Check if there is enough data to read another chunk
const subchunk_header_size = 4 + sizeof(UInt32)
while chunk_size >= subchunk_header_size
# Read subchunk ID and size
subchunk_id = read(io, UInt8, 4)
subchunk_size = read_le(io, UInt32)
if subchunk_size > chunk_size
chunk_size = 0
break
end
chunk_size -= subchunk_header_size + subchunk_size
# check the subchunk ID
if subchunk_id == b"fmt "
fmt = read_format(io, subchunk_size)
sample_rate = @compat Float32(fmt.sample_rate)
nbits = bits_per_sample(fmt)
opt[:fmt] = fmt
elseif subchunk_id == b"data"
if format == "size"
return convert(Int, subchunk_size / fmt.block_align), convert(Int, fmt.nchannels)
end
samples = read_data(io, subchunk_size, fmt, format, make_range(subrange))
else
opt[@compat Symbol(subchunk_id)] = read(io, UInt8, subchunk_size)
end
end
return samples, sample_rate, nbits, opt
end
function wavread(filename::AbstractString; subrange=Void, format="double")
open(filename, "r") do io
wavread(io, subrange=subrange, format=format)
end
end
# These are the MATLAB compatible signatures
wavread(filename::AbstractString, fmt::AbstractString) = wavread(filename, format=fmt)
wavread(filename::AbstractString, n) = wavread(filename, subrange=n)
wavread(filename::AbstractString, n, fmt) = wavread(filename, subrange=n, format=fmt)
get_default_compression{T<:Integer}(::AbstractArray{T}) = WAVE_FORMAT_PCM
get_default_compression{T<:AbstractFloat}(::AbstractArray{T}) = WAVE_FORMAT_IEEE_FLOAT
get_default_pcm_precision(::AbstractArray{UInt8}) = 8
get_default_pcm_precision(::AbstractArray{Int16}) = 16
get_default_pcm_precision(::Any) = 24
function get_default_precision(samples, compression)
if compression == WAVE_FORMAT_ALAW || compression == WAVE_FORMAT_MULAW
return 8
elseif compression == WAVE_FORMAT_IEEE_FLOAT
return 32
end
get_default_pcm_precision(samples)
end
function wavwrite(samples::AbstractArray, io::IO; Fs=8000, nbits=0, compression=0,
chunks::Dict{Symbol, Array{UInt8,1}}=Dict{Symbol, Array{UInt8,1}}())
if compression == 0
compression = get_default_compression(samples)
elseif compression == WAVE_FORMAT_ALAW || compression == WAVE_FORMAT_MULAW
nbits = 8
end
if nbits == 0
nbits = get_default_precision(samples, compression)
end
compression_code = compression
const nchannels = size(samples, 2)
const sample_rate = Fs
const my_nbits = ceil(Integer, nbits / 8) * 8
const block_align = my_nbits / 8 * nchannels
const bps = sample_rate * block_align
const data_length::UInt32 = size(samples, 1) * block_align
ext = WAVFormatExtension()
if nchannels > 2 || my_nbits > 16 || my_nbits != nbits
compression_code = WAVE_FORMAT_EXTENSIBLE
const valid_bits_per_sample = nbits
const channel_mask = 0
sub_format = Array(UInt8, 0)
if compression == WAVE_FORMAT_PCM
sub_format = KSDATAFORMAT_SUBTYPE_PCM
elseif compression == WAVE_FORMAT_IEEE_FLOAT
sub_format = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
elseif compression == WAVE_FORMAT_ALAW
sub_format = KSDATAFORMAT_SUBTYPE_ALAW
elseif compression == WAVE_FORMAT_MULAW
sub_format = KSDATAFORMAT_SUBTYPE_MULAW
else
error("Unsupported extension sub format: $compression")
end
ext = WAVFormatExtension(valid_bits_per_sample, channel_mask, sub_format)
write_extended_header(io, data_length)
else
write_standard_header(io, data_length)
end
fmt = WAVFormat(compression_code,
nchannels,
sample_rate,
bps,
block_align,
my_nbits,
ext)
write_format(io, fmt)
for eachchunk in chunks
write(io, eachchunk[1])
write_le(io, @compat UInt32(length(eachchunk[2])))
for eachbyte in eachchunk[2]
write(io, eachbyte)
end
end
# write the data subchunk header
write(io, b"data")
write_le(io, data_length) # UInt32
write_data(io, fmt, samples)
end
function wavwrite(samples::AbstractArray, filename::AbstractString; Fs=8000, nbits=0, compression=0,
chunks::Dict{Symbol, Array{UInt8,1}}=Dict{Symbol, Array{UInt8,1}}())
open(filename, "w") do io
wavwrite(samples, io, Fs=Fs, nbits=nbits, compression=compression, chunks=chunks)
end
end
function wavappend(samples::AbstractArray, io::IO)
seekstart(io)
chunk_size = read_header(io)
subchunk_id = read(io, UInt8, 4)
subchunk_size = read_le(io, UInt32)
if subchunk_id != b"fmt "
error("First chunk is not the format")
end
fmt = read_format(io, subchunk_size)
if fmt.nchannels != size(samples,2)
error("Number of channels do not match")
end
const data_length = size(samples, 1) * fmt.block_align
seek(io,4)
write_le(io, convert(UInt32, chunk_size + data_length))
seek(io,64)
subchunk_size = read_le(io, UInt32)
seek(io,64)
write_le(io, convert(UInt32, subchunk_size + data_length))
seekend(io)
write_data(io, fmt, samples)
end
function wavappend(samples::AbstractArray, filename::AbstractString)
open(filename, "a+") do io
wavappend(samples,io)
end
end
wavwrite(y::AbstractArray, f::Real, filename::AbstractString) = wavwrite(y, filename, Fs=f)
wavwrite(y::AbstractArray, f::Real, n::Real, filename::AbstractString) = wavwrite(y, filename, Fs=f, nbits=n)
# support for writing native arrays...
wavwrite{T<:Integer}(y::AbstractArray{T}, io::IO) = wavwrite(y, io, nbits=sizeof(T)*8)
wavwrite{T<:Integer}(y::AbstractArray{T}, filename::AbstractString) = wavwrite(y, filename, nbits=sizeof(T)*8)
wavwrite(y::AbstractArray{Int32}, io::IO) = wavwrite(y, io, nbits=24)
wavwrite(y::AbstractArray{Int32}, filename::AbstractString) = wavwrite(y, filename, nbits=24)
wavwrite{T<:AbstractFloat}(y::AbstractArray{T}, io::IO) = wavwrite(y, io, nbits=sizeof(T)*8, compression=WAVE_FORMAT_IEEE_FLOAT)
wavwrite{T<:AbstractFloat}(y::AbstractArray{T}, filename::AbstractString) = wavwrite(y, filename, nbits=sizeof(T)*8, compression=WAVE_FORMAT_IEEE_FLOAT)
# FileIO integration support
load(s::Stream{format"WAV"}; kwargs...) = wavread(s.io; kwargs...)
save(s::Stream{format"WAV"}, data; kwargs...) = wavwrite(data, s.io; kwargs...)
load(f::File{format"WAV"}; kwargs...) = wavread(f.filename; kwargs...)
save(f::File{format"WAV"}, data; kwargs...) = wavwrite(data, f.filename; kwargs...)
end # module
|
JuliaPackageMirrors/WAV.jl
|
src/WAV.jl
|
Julia
|
mit
| 30,238
|
namespace LibMinecraft
{
public struct Vector3
{
public static Vector3 Zero
{
get { return new Vector3(0, 0, 0); }
}
public static Vector3 UpX
{
get { return new Vector3(1, 0, 0); }
}
public static Vector3 UpY
{
get { return new Vector3(0, 1, 0); }
}
public static Vector3 UpZ
{
get { return new Vector3(0, 0, 1); }
}
public double X;
public double Y;
public double Z;
public Vector3(double x, double y, double z)
{
X = x;
Y = y;
Z = z;
}
public static Vector3 operator +(Vector3 a, Vector3 b)
{
return new Vector3(a.X + b.X, a.Y + b.Y, a.Z + b.Z);
}
public static Vector3 operator -(Vector3 a, Vector3 b)
{
return new Vector3(a.X - b.X, a.Y - b.Y, a.Z - b.Z);
}
public static Vector3 operator *(Vector3 a, Vector3 b)
{
return new Vector3(a.X * b.X, a.Y * b.Y, a.Z * b.Z);
}
public static Vector3 operator /(Vector3 a, Vector3 b)
{
return new Vector3(a.X / b.X, a.Y / b.Y, a.Z / b.Z);
}
}
}
|
inku25253/MineProtocol.net
|
LibMinecraft/Vector3.cs
|
C#
|
mit
| 996
|
//
// BViewController.h
// MainProject
//
// Created by casa on 2016/12/10.
// Copyright © 2016年 casa. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BViewController : UIViewController
- (instancetype)initWithContentText:(NSString *)contentText;
@end
|
ModulizedProject/MainProject
|
MainProject/MainProject/BViewController/BViewController.h
|
C
|
mit
| 274
|
# Glass Plate Game Markers
Copyright © 2014 Bart Massey
This package generates three files of printable SVG
useful for feeding to a laser cutter to make wooden markers
for the [Glass Plate Game](http://glassplategame.com).
The SVG generator is written in Python 3. The easiest way
to get the files is to just run "make" on the Makefile. This
will produce PDF by default. If you just want SVG or do not
have "cairosvg", which is used to generate the PDF from the
SVG, say "make svg".
The markers with the numbers can be cut from the front: set
the laser cutter so that the black is a gentle raster emboss
and the yellow is a full vector cut. For our cutter, the
relevant parameters are:
* Vector Current 100
* Raster Power 70 Speed 80
* Vector Power 100 Speed 75
The other two files comprise front and back of the other
markers. As with the numbers, use raster with the black and
vector with the yellow. The easiest way is probably to tape
down the stock and cut the front first, which will free up a
panel that you can flip over and drop back into the hole to
cut the back.
There are two other versions of this generator in the repo
that were written in Haskell, but maintaining generators in
parallel seemed like a lot of pointless work. Dig them out
if you like.
This work (such as it is) is licensed under the "MIT
License". Please see the file COPYING in this distribution
for license terms.
|
BartMassey/gpgame-markers
|
README.md
|
Markdown
|
mit
| 1,411
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TheCode
{
public class Customer
{
public string Id { get; set; }
public string Name { get; set; }
public bool Pro { get; set; }
}
}
|
chadmichel/UnitTest
|
TheCode/Customer.cs
|
C#
|
mit
| 298
|
<?php
$ISO_3166_2 = array();
$ISO_3166_2['01'] = "Adana";
$ISO_3166_2['02'] = "Adiyaman";
$ISO_3166_2['03'] = "Afyonkarahisar";
$ISO_3166_2['04'] = "Agri";
$ISO_3166_2['68'] = "Aksaray";
$ISO_3166_2['05'] = "Amasya";
$ISO_3166_2['06'] = "Ankara";
$ISO_3166_2['07'] = "Antalya";
$ISO_3166_2['75'] = "Ardahan";
$ISO_3166_2['08'] = "Artvin";
$ISO_3166_2['09'] = "Aydin";
$ISO_3166_2['10'] = "Balikesir";
$ISO_3166_2['74'] = "Bartin";
$ISO_3166_2['72'] = "Batman";
$ISO_3166_2['69'] = "Bayburt";
$ISO_3166_2['11'] = "Bilecik";
$ISO_3166_2['12'] = "Bingöl";
$ISO_3166_2['13'] = "Bitlis";
$ISO_3166_2['14'] = "Bolu";
$ISO_3166_2['15'] = "Burdur";
$ISO_3166_2['16'] = "Bursa";
$ISO_3166_2['20'] = "Denizli";
$ISO_3166_2['21'] = "Diyarbakir";
$ISO_3166_2['81'] = "Düzce";
$ISO_3166_2['22'] = "Edirne";
$ISO_3166_2['23'] = "Elazig";
$ISO_3166_2['24'] = "Erzincan";
$ISO_3166_2['25'] = "Erzurum";
$ISO_3166_2['26'] = "Eskisehir";
$ISO_3166_2['27'] = "Gaziantep";
$ISO_3166_2['28'] = "Giresun";
$ISO_3166_2['29'] = "Gümüshane";
$ISO_3166_2['30'] = "Hakkâri";
$ISO_3166_2['31'] = "Hatay";
$ISO_3166_2['76'] = "Igdir";
$ISO_3166_2['32'] = "Isparta";
$ISO_3166_2['34'] = "Istanbul";
$ISO_3166_2['35'] = "Izmir";
$ISO_3166_2['46'] = "Kahramanmaras";
$ISO_3166_2['78'] = "Karabük";
$ISO_3166_2['70'] = "Karaman";
$ISO_3166_2['36'] = "Kars";
$ISO_3166_2['37'] = "Kastamonu";
$ISO_3166_2['38'] = "Kayseri";
$ISO_3166_2['79'] = "Kilis";
$ISO_3166_2['71'] = "Kirikkale";
$ISO_3166_2['39'] = "Kirklareli";
$ISO_3166_2['40'] = "Kirsehir";
$ISO_3166_2['41'] = "Kocaeli";
$ISO_3166_2['42'] = "Konya";
$ISO_3166_2['43'] = "Kütahya";
$ISO_3166_2['44'] = "Malatya";
$ISO_3166_2['45'] = "Manisa";
$ISO_3166_2['47'] = "Mardin";
$ISO_3166_2['33'] = "Mersin";
$ISO_3166_2['48'] = "Mugla";
$ISO_3166_2['49'] = "Mus";
$ISO_3166_2['50'] = "Nevsehir";
$ISO_3166_2['51'] = "Nigde";
$ISO_3166_2['52'] = "Ordu";
$ISO_3166_2['80'] = "Osmaniye";
$ISO_3166_2['53'] = "Rize";
$ISO_3166_2['54'] = "Sakarya";
$ISO_3166_2['55'] = "Samsun";
$ISO_3166_2['63'] = "Sanliurfa";
$ISO_3166_2['56'] = "Siirt";
$ISO_3166_2['57'] = "Sinop";
$ISO_3166_2['73'] = "Sirnak";
$ISO_3166_2['58'] = "Sivas";
$ISO_3166_2['59'] = "Tekirdag";
$ISO_3166_2['60'] = "Tokat";
$ISO_3166_2['61'] = "Trabzon";
$ISO_3166_2['62'] = "Tunceli";
$ISO_3166_2['64'] = "Usak";
$ISO_3166_2['65'] = "Van";
$ISO_3166_2['77'] = "Yalova";
$ISO_3166_2['66'] = "Yozgat";
$ISO_3166_2['67'] = "Zonguldak";
$ISO_3166_2['17'] = "Çanakkale";
$ISO_3166_2['18'] = "Çankiri";
$ISO_3166_2['19'] = "Çorum";
?>
|
Yarduddles/ISO-3166
|
PHP/ISO-3166-2-TR.php
|
PHP
|
mit
| 2,522
|
---
layout: post
title: "Wonderfull article (CHANGE ME)"
date: 2016-11-28 19:27:02
categories: General
tags:
excerpt: This post is all about XYZ (CHANGE ME)
---
http://graphs.grevian.org/documentation
http://www.graphviz.org/content/node-shapes
http://www.graphviz.org/content/attrssimpl
http://www.graphviz.org/Documentation.php
http://graphs.grevian.org/example
http://graphs.grevian.org/reference
http://www.graphviz.org/content/dot-language
|
thalib/thalib.github.io
|
_drafts/2016-11-28-dot-language-graphviz.md
|
Markdown
|
mit
| 451
|
<?php
require_once(__DIR__ . "/../model/config.php");
//takes and stores exp - exp4
//$exp = filter_input(INPUT_POST, "exp", FILTER_SANITIZE_STRING);
//$exp1 = filter_input(INPUT_POST, "exp1", FILTER_SANITIZE_STRING);
//$exp2 = filter_input(INPUT_POST, "exp2", FILTER_SANITIZE_STRING);
//$exp3 = filter_input(INPUT_POST, "exp3", FILTER_SANITIZE_STRING);
//$exp4 = filter_input(INPUT_POST, "exp4", FILTER_SANITIZE_STRING);
//
//
//$query = $_SESSION["connection"]->query("UPDATE users SET "
// . "exp = $exp, "
// . "exp1 = $exp1, "
// . "exp2 = $exp2, "
// . "exp3 = $exp3, "
// . "exp4 = $exp4 WHERE username = \"" . $_SESSION["name"]. "\"");
//
if($query) {
//need for Ajax
echo "true";
}
else {
echo "<p>" . $_SESSION["connection"]->error . "</p>";
}
|
SimonAnna/final
|
Php/controller/save-user.php
|
PHP
|
mit
| 815
|
import React from "react";
import { SelectAddressModal } from "../ImportAccount";
import { roundingNumber } from "../../utils/converter"
import PathSelector from "../../containers/CommonElements/PathSelector";
const ImportByDeviceView = (props) => {
function choosePath(dpath) {
let inputPath = document.getElementById('form-input-custom-path');
let selectedPath = dpath.value;
if (!selectedPath) {
selectedPath = inputPath.value;
dpath = { value: selectedPath, desc: 'Your Custom Path' };
}
props.choosePath(dpath);
props.analytics.callTrack("trackChoosePathColdWallet", selectedPath);
}
function getAddress(formAddress) {
let data = {
address: formAddress.addressString,
type: props.walletType,
path: props.currentDPath.value + '/' + formAddress.index,
};
if (props.currentDPath.bip44) {
data.path = `${props.currentDPath.value}/${formAddress.index}'/0/0`;
}
props.getAddress(data);
}
function getCurrentList() {
let currentListHtml = props.currentAddresses.map((address) => {
return (
<div className={"address-item"} key={address.addressString}>
<div className="address-item__address">
<div class="name text-lowercase theme__text-6">
<label class="mb-0">
<span class="hash">{address.addressString.slice(0, 12)}...{address.addressString.slice(-8)}</span>
</label>
</div>
</div>
<div class="address-item__import">
<div class="balance theme__text-6 common__flexbox-normal" title={address.balance}>
{address.balance == '-1' ?
<img src={require(`../../../assets/img/${props.theme === 'dark' ? 'waiting-black' : 'waiting-white'}.svg`)}/>
: roundingNumber(address.balance)
} ETH
</div>
<div class="import" onClick={() => getAddress(address)}>
{props.translate("import.import") || "Import"}
</div>
</div>
</div>
)
})
return currentListHtml;
}
function getListPathHtml() {
return (
<PathSelector
listItem={props.allDPaths}
choosePath={choosePath}
walletType={props.walletType}
currentDPath={props.currentDPath}
analytics={props.analytics}
/>
)
}
function getSelectAddressHtml() {
return (
<div className={"import-modal"}>
<div class="import-modal__header cold-wallet">
<div className="import-modal__header--title">
{props.translate(`modal.select_${props.walletType}_address`) || 'Select address'}
</div>
<div class="x" onClick={props.onRequestClose}>×</div>
</div>
<div class="import-modal__body">
<div class="cold-wallet__path">
<div class="cold-wallet__path--title">
{props.translate("modal.select_hd_path") || "Select HD derivation path"}
</div>
<div className="cold-wallet__path--choose-path theme__background-44">
{getListPathHtml()}
</div>
</div>
{props.isLoading && (
<div className="text-center">
<img src={require(`../../../assets/img/${props.theme === 'dark' ? 'waiting-black' : 'waiting-white'}.svg`)}/>
</div>
)}
{!props.isLoading && (
<div className="cold-wallet__address theme__text-6">
<div className="cold-wallet__address--title">
{props.translate("modal.select_address") || "Select the address you would like to interact with"}
</div>
<div className="address-list animated fadeIn">
{getCurrentList()}
</div>
</div>
)}
</div>
<div className={"import-modal__footer import-modal__footer--cold-wallet theme__background-2"}>
<div className={'address-button address-button-previous ' + (props.isFirstList ? 'disabled' : '')}
onClick={props.getPreAddress}>
<div className={"address-arrow address-arrow-left theme__arrow-icon"}/>
</div>
<div className="address-button address-button-next" onClick={props.getMoreAddress}>
<div className={"address-arrow address-arrow-right theme__arrow-icon"}/>
</div>
</div>
</div>
)
}
return ([
<div key='coldwallet'>{props.content}</div>,
<SelectAddressModal
key="modal"
isOpen={props.modalOpen}
onRequestClose={props.onRequestClose}
content={getSelectAddressHtml()}
translate={props.translate}
walletType={props.walletType}
/>
])
}
export default ImportByDeviceView
|
KyberNetwork/KyberWallet
|
src/js/components/ImportAccount/ImportByDeviceView.js
|
JavaScript
|
mit
| 4,782
|
// Copyright (c) 2014 The Bitcoin Core developers
// Copyright (c) 2014-2015 The Singularity developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/transaction.h"
#include "main.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(main_tests)
BOOST_AUTO_TEST_CASE(subsidy_limit_test)
{
CAmount nSum = 0;
for (int nHeight = 0; nHeight < 14000000; nHeight += 1000) {
/* @TODO fix subsidity, add nBits */
CAmount nSubsidy = GetBlockValue(0, nHeight, 0);
BOOST_CHECK(nSubsidy <= 25 * COIN);
nSum += nSubsidy * 1000;
BOOST_CHECK(MoneyRange(nSum));
}
BOOST_CHECK(nSum == 1350824726649000ULL);
}
BOOST_AUTO_TEST_SUITE_END()
|
grumpydevelop/singularity
|
src/test/main_tests.cpp
|
C++
|
mit
| 806
|
# qlass
A classical inheritance implementation in JavaScript
# usage
```
npm install
npm test
```
# example
```javascript
qlass("Animal", {
Animal: function(name) { this.name = name; },
walk: function() { return this.name + " is walking."; }
});
qlass("Animals.Dog : Animal", {
Dog: function(name) { this.base(name); },
bark: function() { return this.name + " barks!"; }
});
var fido = new Animals.Dog('Fido');
console.log(fido.bark()); // Fido barks! - from Dog class
console.log(fido.walk()); // Fido is walking. - from Animal class
```
|
lksmth/qlass
|
README.md
|
Markdown
|
mit
| 547
|
class FixColumnName < ActiveRecord::Migration
def change
rename_column :posts, :user, :username
rename_column :tagged_posts, :user, :username
add_column :posts, :likes, :integer
add_column :tagged_posts, :likes, :integer
end
end
|
joannangx/visionaria_app
|
db/migrate/20161029100010_fix_column_name.rb
|
Ruby
|
mit
| 254
|
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "D:/lang/OpenCV-2.2.0")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "D:/lang/OpenCV-2.2.0/dbg-w32")
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file search paths:
SET(CMAKE_C_INCLUDE_PATH
"../."
"."
"../include"
"../include/opencv"
"../modules/highgui/../../3rdparty/include"
"../modules/highgui/include"
"../modules/highgui/../core/include"
"../modules/highgui/../imgproc/include"
"../modules/highgui/src"
"modules/highgui"
)
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
eirTony/INDI1
|
to/lang/OpenCV-2.2.0/dbg-w32/modules/highgui/CMakeFiles/CMakeDirectoryInformation.cmake
|
CMake
|
mit
| 1,061
|
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>coffIT - Admin</title>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link href="/favicon.ico" title="Icon" type="image/x-icon" rel="icon" />
</head>
<body>
<div class="container">
<div class="page-header">
<h1>coffIT<small>administrator</small></h1>
</div>
<div id="users-list">
{{#users}}
<div>
<form id="uploadForm"
enctype="multipart/form-data"
action="/admin"
method="post">
<input id="id" name="id" class="invisible" value="{{_id}}"/>
<img id="pic" src="/img/{{img}}" onclick="simulateClick('userPhoto{{_id}}')" class="userPic"/>
<input name="name" value="{{name}}" onclick="" class="coffeeInput long"/>
<input name="email" value="{{email}}" onclick="" class="coffeeInput long"/>
<input name="balance" value="{{balance}}" onclick="" class="coffeeInput short"/>
<input type="submit" name="submit" value="update" class="btn btn-success"/>
<a href="/admin/edit/{{_id}}" class="btn btn-info">edit</a>
<input type="submit" name="submit" value="delete" class="btn btn-danger"/>
</form>
</div>
{{/users}}
</div>
<div class="form-actions">
<form action="/admin" method="post">
<button id="add-user" type="submit" class="btn btn-success" name="submit" value="create">add User</button>
</form>
</div>
</div>
</body>
</html>
|
U-Boot-Sidekicks/CoffeeKiosk
|
Server/templates/index.html
|
HTML
|
mit
| 1,734
|
package iso20022
// Details of the securities trade.
type SecuritiesTradeDetails54 struct {
// Reference assigned to the trade by the investor or the trading party. This reference will be used throughout the trade life cycle to access/update the trade details.
TradeIdentification []*Max35Text `xml:"TradId,omitempty"`
// Unambiguous identification of a collateral transaction as assigned by the instructing party.
CollateralTransactionIdentification []*Max35Text `xml:"CollTxId,omitempty"`
// Identification of an account owner transaction that could potentially match with the allegement notified.
AccountOwnerTransactionIdentification []*Max35Text `xml:"AcctOwnrTxId,omitempty"`
// Identification of the transaction assigned by the processor of the instruction other than the account owner the account servicer and the market infrastructure.
ProcessorTransactionIdentification *Max35Text `xml:"PrcrTxId,omitempty"`
// Market in which a trade transaction has been executed.
PlaceOfTrade *PlaceOfTradeIdentification1 `xml:"PlcOfTrad,omitempty"`
// Infrastructure which may be a component of a clearing house and which facilitates clearing and settlement for its members by standing between the buyer and the seller. It may net transactions and it substitutes itself as settlement counterparty for each position.
PlaceOfClearing *PlaceOfClearingIdentification1 `xml:"PlcOfClr,omitempty"`
// Specifies the date/time on which the trade was executed.
TradeDate *TradeDate5Choice `xml:"TradDt,omitempty"`
// Date and time at which the securities are to be delivered or received.
SettlementDate *SettlementDate9Choice `xml:"SttlmDt"`
// Specifies the price of the traded financial instrument.
// This is the deal price of the individual trade transaction.
// If there is only one trade transaction for the execution of the trade, then the deal price could equal the executed trade price (unless, for example, the price includes commissions or rounding, or some other factor has been applied to the deal price or the executed trade price, or both).
DealPrice *Price2 `xml:"DealPric,omitempty"`
// Number of days on which the interest rate accrues (daily accrual note).
NumberOfDaysAccrued *Max3Number `xml:"NbOfDaysAcrd,omitempty"`
// Indicates the conditions under which the order/trade is to be/was executed.
TradeTransactionCondition []*TradeTransactionCondition5Choice `xml:"TradTxCond,omitempty"`
// Specifies the type of price and information about the price.
TypeOfPrice *TypeOfPrice29Choice `xml:"TpOfPric,omitempty"`
}
func (s *SecuritiesTradeDetails54) AddTradeIdentification(value string) {
s.TradeIdentification = append(s.TradeIdentification, (*Max35Text)(&value))
}
func (s *SecuritiesTradeDetails54) AddCollateralTransactionIdentification(value string) {
s.CollateralTransactionIdentification = append(s.CollateralTransactionIdentification, (*Max35Text)(&value))
}
func (s *SecuritiesTradeDetails54) AddAccountOwnerTransactionIdentification(value string) {
s.AccountOwnerTransactionIdentification = append(s.AccountOwnerTransactionIdentification, (*Max35Text)(&value))
}
func (s *SecuritiesTradeDetails54) SetProcessorTransactionIdentification(value string) {
s.ProcessorTransactionIdentification = (*Max35Text)(&value)
}
func (s *SecuritiesTradeDetails54) AddPlaceOfTrade() *PlaceOfTradeIdentification1 {
s.PlaceOfTrade = new(PlaceOfTradeIdentification1)
return s.PlaceOfTrade
}
func (s *SecuritiesTradeDetails54) AddPlaceOfClearing() *PlaceOfClearingIdentification1 {
s.PlaceOfClearing = new(PlaceOfClearingIdentification1)
return s.PlaceOfClearing
}
func (s *SecuritiesTradeDetails54) AddTradeDate() *TradeDate5Choice {
s.TradeDate = new(TradeDate5Choice)
return s.TradeDate
}
func (s *SecuritiesTradeDetails54) AddSettlementDate() *SettlementDate9Choice {
s.SettlementDate = new(SettlementDate9Choice)
return s.SettlementDate
}
func (s *SecuritiesTradeDetails54) AddDealPrice() *Price2 {
s.DealPrice = new(Price2)
return s.DealPrice
}
func (s *SecuritiesTradeDetails54) SetNumberOfDaysAccrued(value string) {
s.NumberOfDaysAccrued = (*Max3Number)(&value)
}
func (s *SecuritiesTradeDetails54) AddTradeTransactionCondition() *TradeTransactionCondition5Choice {
newValue := new(TradeTransactionCondition5Choice)
s.TradeTransactionCondition = append(s.TradeTransactionCondition, newValue)
return newValue
}
func (s *SecuritiesTradeDetails54) AddTypeOfPrice() *TypeOfPrice29Choice {
s.TypeOfPrice = new(TypeOfPrice29Choice)
return s.TypeOfPrice
}
|
fgrid/iso20022
|
SecuritiesTradeDetails54.go
|
GO
|
mit
| 4,526
|
const Discord = require('discord.js');
const client = new Discord.Client({
forceFetchUsers: true,
autoReconnect: true,
disableEveryone: true,
});
const settings = require('./auth.json');
const chalk = require('chalk');
const fs = require('fs');
const moment = require('moment');
require('./util/eventLoader')(client);
client.on('message', function (message)
{
if (message.channel.isPrivate) {
return;
}
if (message.everyoneMentioned) {
return;
}
if (message.type === 'dm') {
return;
}
});
const log = message => {
console.log(`[${moment().format('YYYY-MM-DD HH:mm:ss')}] ${message}`);
};
client.commands = new Discord.Collection();
client.aliases = new Discord.Collection();
fs.readdir('./commands/', (err, files) => {
if (err) console.error(err);
log(`Loading a total of ${files.length} commands.`);
files.forEach(f => {
let props = require(`./commands/${f}`);
log(`Loading Command: ${props.help.name}. ✔️`);
client.commands.set(props.help.name, props);
props.conf.aliases.forEach(alias => {
client.aliases.set(alias, props.help.name);
});
});
});
client.reload = command => {
return new Promise((resolve, reject) => {
try {
delete require.cache[require.resolve(`./commands/${command}`)];
let cmd = require(`./commands/${command}`);
client.commands.delete(command);
client.aliases.forEach((cmd, alias) => {
if (cmd === command) client.aliases.delete(alias);
});
client.commands.set(command, cmd);
cmd.conf.aliases.forEach(alias => {
client.aliases.set(alias, cmd.help.name);
});
resolve();
} catch (e) {
reject(e);
}
});
};
client.elevation = message => {
/* This function should resolve to an ELEVATION level which
is then sent to the command handler for verification*/
if(!message.guild) return;
let permlvl = 0;
let follower = message.guild.roles.find('name', settings.followerrolename);
if (follower && message.member.roles.has(follower.id)) permlvl = 1;
let player = message.guild.roles.find('name', settings.playerrolename);
if (player && message.member.roles.has(player.id)) permlvl = 2;
let overseer = message.guild.roles.find('name', settings.overseerrolename);
if (overseer && message.member.roles.has(overseer.id)) permlvl = 3;
let trusted = message.guild.roles.find('name', settings.trustedrolename);
if (trusted && message.member.roles.has(trusted.id)) permlvl = 4;
let overlord = message.guild.roles.find('name', settings.overlordrolename);
if (overlord && message.member.roles.has(overlord.id)) permlvl = 5;
if (message.author.id === settings.ownerid) permlvl = 5;
return permlvl;
};
// var regToken = /[\w\d]{24}\.[\w\d]{6}\.[\w\d-_]{27}/g;
//
// client.on('warn', e => {
// console.log(chalk.bgYellow(e.replace(regToken, 'that was redacted')));
// });
//
// client.on('error', e => {
// console.log(chalk.bgRed(e.replace(regToken, 'that was redacted')));
// });
client.login(settings.token);
|
Ryahn/SoEBot
|
bot.js
|
JavaScript
|
mit
| 2,929
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.1 / hammer - 1.3.2+8.14</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
hammer
<small>
1.3.2+8.14
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-12-23 15:45:32 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-23 15:45:32 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.9.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.04.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.04.2 Official 4.04.2 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/lukaszcz/coqhammer"
dev-repo: "git+https://github.com/lukaszcz/coqhammer.git"
bug-reports: "https://github.com/lukaszcz/coqhammer/issues"
license: "LGPL-2.1-only"
synopsis: "General-purpose automated reasoning hammer tool for Coq"
description: """
A general-purpose automated reasoning hammer tool for Coq that combines
learning from previous proofs with the translation of problems to the
logics of automated systems and the reconstruction of successfully found proofs.
"""
build: [make "-j%{jobs}%" "plugin"]
install: [
[make "install-plugin"]
[make "test-plugin"] {with-test}
]
depends: [
"ocaml" { >= "4.08" }
"coq" {>= "8.14" & < "8.15~"}
("conf-g++" {build} | "conf-clang" {build})
"coq-hammer-tactics" {= version}
]
tags: [
"category:Miscellaneous/Coq Extensions"
"keyword:automation"
"keyword:hammer"
"logpath:Hammer.Plugin"
"date:2021-11-22"
]
authors: [
"Lukasz Czajka <lukaszcz@mimuw.edu.pl>"
"Cezary Kaliszyk <cezary.kaliszyk@uibk.ac.at>"
]
url {
src: "https://github.com/lukaszcz/coqhammer/archive/v1.3.2-coq8.14.tar.gz"
checksum: "sha512=68c6e6a2054ce9dd3d87cb61e667f638e7b9fb2b5ec9571427d9fac59d0901cbfa4e57c59edb3a8bc52c2626985fca6edbac42caf2acdc5858fb6e13f15afcea"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-hammer.1.3.2+8.14 coq.8.9.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.9.1).
The following dependencies couldn't be met:
- coq-hammer -> ocaml >= 4.08
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-hammer.1.3.2+8.14</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
coq-bench/coq-bench.github.io
|
clean/Linux-x86_64-4.04.2-2.0.5/released/8.9.1/hammer/1.3.2+8.14.html
|
HTML
|
mit
| 7,377
|
class TokyoMetro::App::Renderer::RealTimeInfos::EachRailwayLine < TokyoMetro::Factory::Decorate::MetaClass
TRAIN_OPERATION_STATUS_FOR_TEST = ::YAML.load_file( "#{ ::TokyoMetro::DICTIONARY_DIR }/view/train_operation_status_for_test.yaml" )
def initialize( request , railway_line , http_client , test_mode )
super( request )
@railway_line = railway_line
get_train_operation_info( http_client , test_mode )
get_train_location_infos( http_client , test_mode )
set_max_delay
end
attr_reader :railway_line
attr_reader :train_operation_info
attr_reader :train_location_infos
def render_train_operation_info( controller )
@train_operation_info.decorate( request , @railway_line , @max_delay , controller , no_train? ).render
end
def render_train_location_infos
if @train_location_infos.present?
@train_location_infos.decorate( request , @railway_line ).render
end
end
def update_train_operation_text_in_db
if @train_operation_info.instance_of?( ::TokyoMetro::Api::TrainOperation::Info )
@train_operation_info.update_train_operation_text_in_db
end
end
private
def get_train_operation_info( http_client , test_mode )
case test_mode
when nil
begin
train_operation_infos = ::TokyoMetro::Api::TrainOperation.get( http_client , railway_line: @railway_line.same_as , parse_json: true , generate_instance: true )
if train_operation_infos.length > 1
raise "Error"
end
@train_operation_info = train_operation_infos.first
rescue ::SocketError
@train_operation_info = ::TokyoMetro::Api::TrainOperation::Info::NetworkError.instance
rescue ::JSON::ParserError
@train_operation_info = ::TokyoMetro::Api::TrainOperation::Info::JsonParserError.instance
ensure
sleep( 0.2 )
end
when :network_error
@train_operation_info = ::TokyoMetro::Api::TrainOperation::Info::NetworkError.instance
when :json_parser_error
@train_operation_info = ::TokyoMetro::Api::TrainOperation::Info::JsonParserError.instance
else
raise
end
end
def get_train_location_infos( http_client , test_mode )
case test_mode
when nil
begin
@train_location_infos = ::TokyoMetro::Api::TrainLocation.get( http_client , @railway_line.same_as , parse_json: true , generate_instance: true )
rescue ::SocketError
@train_operation_info = ::TokyoMetro::Api::TrainOperation::Info::NetworkError.instance
@train_location_infos = nil
rescue ::JSON::ParserError
@train_operation_info = ::TokyoMetro::Api::TrainOperation::Info::JsonParserError.instance
@train_location_infos = nil
ensure
sleep( 0.2 )
end
when :network_error , :json_parser_error
@train_location_infos = nil
else
raise
end
end
def set_max_delay
@max_delay = @train_location_infos.try( :max_delay )
end
def no_train?
@train_location_infos.blank?
end
end
__END__
Started GET "/train_location/fukutoshin_line" for 127.0.0.1 at 2015-06-11 07:05:07 +0900
Processing by TrainLocationController#action_for_railway_line_page as HTML
Parameters: {"railway_line"=>"fukutoshin_line"}
Completed 500 Internal Server Error in 2543ms (ActiveRecord: 0.0ms)
JSON::ParserError - A JSON text must at least contain two octets!:
json (1.8.3) lib/json/common.rb:155:in `parse'
tokyo_metro (0.6.2) lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb:103:in `parsed_json'
tokyo_metro (0.6.2) lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb:81:in `process_response'
tokyo_metro (0.6.2) lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb:51:in `get_data'
tokyo_metro (0.6.2) lib/tokyo_metro/factory/get/api/data_search/train_location.rb:64:in `process'
tokyo_metro (0.6.2) lib/tokyo_metro/api/train_location.rb:38:in `get'
tokyo_metro (0.6.2) lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb:43:in `get_train_location_infos'
tokyo_metro (0.6.2) lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb:9:in `initialize'
tokyo_metro (0.6.2) lib/tokyo_metro/app/renderer/real_time_infos.rb:143:in `block in set_infos_of_each_railway_line'
tokyo_metro (0.6.2) lib/tokyo_metro/app/renderer/real_time_infos.rb:142:in `set_infos_of_each_railway_line'
tokyo_metro (0.6.2) lib/tokyo_metro/app/renderer/real_time_infos.rb:9:in `initialize'
app/controllers/concerns/real_time_info_processor.rb:6:in `set_real_time_info_processor'
app/controllers/train_location_controller.rb:21:in `block in action_for_railway_line_page'
app/controllers/concerns/action_base_for_railway_line_page.rb:7:in `action_base_for_railway_line_page'
app/controllers/train_location_controller.rb:19:in `action_for_railway_line_page'
#--------
SocketError - getaddrinfo: ���̂悤�ȃz�X�g�͕s���ł��B (https://api.tokyometroapp.jp:443):
httpclient (2.6.0.1) lib/httpclient/session.rb:799:in `create_socket'
httpclient (2.6.0.1) lib/httpclient/session.rb:747:in `block in connect'
C:/Ruby21/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
C:/Ruby21/lib/ruby/2.1.0/timeout.rb:101:in `timeout'
C:/Ruby21/lib/ruby/2.1.0/timeout.rb:127:in `timeout'
httpclient (2.6.0.1) lib/httpclient/session.rb:746:in `connect'
httpclient (2.6.0.1) lib/httpclient/session.rb:612:in `query'
httpclient (2.6.0.1) lib/httpclient/session.rb:164:in `query'
httpclient (2.6.0.1) lib/httpclient.rb:1191:in `do_get_block'
httpclient (2.6.0.1) lib/httpclient.rb:974:in `block in do_request'
httpclient (2.6.0.1) lib/httpclient.rb:1082:in `protect_keep_alive_disconnected'
httpclient (2.6.0.1) lib/httpclient.rb:969:in `do_request'
httpclient (2.6.0.1) lib/httpclient.rb:822:in `request'
httpclient (2.6.0.1) lib/httpclient.rb:713:in `get'
tokyo_metro (0.6.3) lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb:71:in `response_from_api'
tokyo_metro (0.6.3) lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb:44:in `get_data'
tokyo_metro (0.6.3) lib/tokyo_metro/factory/get/api/data_search/train_operation.rb:44:in `process'
tokyo_metro (0.6.3) lib/tokyo_metro/api/train_operation.rb:28:in `get'
tokyo_metro (0.6.3) lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb:29:in `get_train_operation_info'
tokyo_metro (0.6.3) lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb:8:in `initialize'
tokyo_metro (0.6.3) lib/tokyo_metro/app/renderer/real_time_infos.rb:143:in `block in set_infos_of_each_railway_line'
C:0:in `map'
tokyo_metro (0.6.3) lib/tokyo_metro/app/renderer/real_time_infos.rb:142:in `set_infos_of_each_railway_line'
tokyo_metro (0.6.3) lib/tokyo_metro/app/renderer/real_time_infos.rb:9:in `initialize'
app/controllers/concerns/real_time_info_processor.rb:7:in `set_real_time_info_processor'
app/controllers/station_facility_controller.rb:30:in `block in action_for_station_page'
app/controllers/concerns/action_base_for_station_page.rb:8:in `action_base_for_station_page'
app/controllers/station_facility_controller.rb:24:in `action_for_station_page'
actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
osorubeki-fujita/odpt_tokyo_metro
|
lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb
|
Ruby
|
mit
| 7,218
|
# -*- coding: utf-8 -*-
"""
flask_via.examples.basic
========================
A simple ``Flask-Via`` example Flask application.
"""
from flask import Flask
from flask.ext.via import Via
from flask.ext.via.routers.default import Functional
app = Flask(__name__)
def foo(bar=None):
return 'Functional Foo View!'
routes = [
Functional('/foo', foo),
Functional('/foo/<bar>', foo, endpoint='foo2'),
]
via = Via()
via.init_app(app, routes_module='flask_via.examples.basic')
if __name__ == "__main__":
app.run(debug=True)
|
thisissoon/Flask-Via
|
flask_via/examples/basic.py
|
Python
|
mit
| 542
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>of-ocaml: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+2 / of-ocaml - 2.0.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
of-ocaml
<small>
2.0.0
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2020-02-24 00:36:37 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-02-24 00:36:37 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.11 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.7.1+2 Formal proof management system.
num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.09.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.0 Official release 4.09.0
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "dev@clarus.me"
homepage: "https://github.com/clarus/coq-of-ocaml"
dev-repo: "git+https://github.com/clarus/coq-of-ocaml.git"
bug-reports: "https://github.com/clarus/coq-of-ocaml/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
["sh" "-c" "cd OCaml && ./configure.sh"]
[make "-C" "OCaml" "-j%{jobs}%"]
[make "-j%{jobs}%"]
[make "test"] {with-test}
]
install: [
[make "-C" "OCaml" "install"]
]
depends: [
"conf-ruby" {with-test}
"coq" {>= "8.9"}
"dune" {build}
"menhir" {build}
"ocaml" {>= "4.05" & < "4.08"}
"smart-print"
"yojson" {>= "1.6.0"}
]
tags: [
"date:2019-12-15"
"keyword:compilation"
"keyword:ocaml"
"logpath:OCaml"
]
synopsis: "Compile a subset of OCaml to Coq"
url {
src: "https://github.com/clarus/coq-of-ocaml/archive/2.0.0.tar.gz"
checksum: "sha512=bd18ac17e34dcf04d1d361ddbd230a943371976a46df4f0f0a51ac755643d1c1d8b1e69de6eb6d15f744fac8884f5e644b4f7d9bfc50e4ed13c51fde1863b17c"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-of-ocaml.2.0.0 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1+2).
The following dependencies couldn't be met:
- coq-of-ocaml -> ocaml < 4.08
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-of-ocaml.2.0.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
<small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small>
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
coq-bench/coq-bench.github.io
|
clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.1+2/of-ocaml/2.0.0.html
|
HTML
|
mit
| 7,008
|
<?php
use App\Match;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class CreateMatchesTable extends Migration
{
public function up()
{
Schema::create('matches', function(Blueprint $table) {
$table->increments('id');
$table->integer('tournamentId')->unsigned();
$table->integer('homeTournamentTeamId')->unsigned();
$table->integer('awayTournamentTeamId')->unsigned();
$table->tinyInteger('homeScore')->unsigned();
$table->tinyInteger('awayScore')->unsigned();
$table->tinyInteger('homePenaltyScore')->unsigned();
$table->tinyInteger('awayPenaltyScore')->unsigned();
$table->enum('gameType', Match::getAvailableGameTypes());
$table->enum('resultType', Match::getAvailableResultTypes());
$table->enum('status', Match::getAvailableStatuses())->default(Match::STATUS_NOT_STARTED);
$table->timestamps();
});
Schema::table('matches', function(Blueprint $table) {
$table->foreign('homeTournamentTeamId')->references('id')->on('tournament_teams')
->onDelete('restrict')
->onUpdate('restrict');
$table->foreign('awayTournamentTeamId')->references('id')->on('tournament_teams')
->onDelete('restrict')
->onUpdate('restrict');
});
}
public function down()
{
Schema::drop('matches');
}
}
|
nixsolutions/ggf
|
database/migrations/2015_07_07_144512_create_matches_table.php
|
PHP
|
mit
| 1,556
|
<ion-view view-title={{pub.name}}>
<ion-content data-tap-disabled="false" class="specific-pub-page">
<div>
About this pub:<br>
<div class="pub-description">
{{pub.description}}
</div>
</div>
<div>
Owner: {{owner.fullName}}
</div>
<ion-toggle ng-show="pub.promotions.length > 0" ng-model="showPromotions" toggle-class="toggle-calm" class="togglePromotions">Promotions</ion-toggle>
<div ng-show="showPromotions">
<div ng-repeat="promotion in pub.promotions" >
<promotions-row item="promotion"></promotions-row>
</div>
</div>
<hr>
<div class="pub-options" ng-show="userLoggedIn">
<div class="options-title">Options</div>
<ion-checkbox class="pub-option" ng-model="favorite" ng-change="updateFavorite()">Is Favorite</ion-checkbox>
</div>
<div class="row specific-pub-actions" ng-show="userLoggedIn">
<div class="col col-10"></div>
<div class="col col-80">
<div class="row">
<div class="col align-center">
<i class="icon ion-ios-download pub-action" ng-click="checkIn()"></i><br>
<div class="pub-action-label">Check In</div>
</div>
<div class="col align-center">
<i class="icon ion-cube pub-action"></i><br>
<div class="pub-action-label">Something else</div>
</div>
</div>
</div>
<div class="col col-10"></div>
</div>
</ion-content>
</ion-view>
|
lupascugabrielcristian/PubMeWeb
|
Mobile/www/templates/specific.html
|
HTML
|
mit
| 1,505
|
require('server.babel'); // babel registration (runtime transpilation for node)
const path = require('path');
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const autoprefixer = require('autoprefixer');
const webpack = require('webpack');
const webpackIsomorphicToolsConfig = require('./webpack-isomorphic-tools');
const WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
const webpackIsomorphicTools = new WebpackIsomorphicToolsPlugin(
webpackIsomorphicToolsConfig
);
module.exports = {
performance: {
hints: false,
},
context: path.resolve('./'),
entry: {
main: [
'src/less/styles.less', // entry point for styles
'src/js/client.jsx', // entry point for js
],
},
output: {
path: path.resolve('public/assets'),
filename: '[name]-[hash].js',
chunkFilename: '[name]-[chunkhash].js',
publicPath: '/assets/',
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components)/,
use: [
{
loader: 'babel-loader',
options: {
cacheDirectory: true,
// disable babel sourcemaps to see the transpiled code when debugging
sourceMap: false,
plugins: ['lodash'],
},
},
],
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
{
loader: 'css-loader',
options: {
sourceMap: false,
importLoaders: 1,
},
},
{
loader: 'postcss-loader',
options: {
sourceMap: false,
plugins() {
return [autoprefixer];
},
},
},
],
}),
},
{
test: /\.less$/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
{
loader: 'css-loader',
options: {
sourceMap: false,
minimize: true,
importLoaders: 2,
},
},
{
loader: 'postcss-loader',
options: {
sourceMap: false,
plugins() {
return [autoprefixer];
},
},
},
{
loader: 'less-loader',
options: {
sourceMap: false,
},
},
],
}),
},
{
test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,
use: {
loader: 'url-loader',
options: {
limit: 10000,
mimetype: 'application/font-woff',
},
},
// loader: 'url?limit=10000&mimetype=application/font-woff',
},
{
test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
use: {
loader: 'url-loader',
options: {
limit: 10000,
mimetype: 'application/font-woff',
},
},
// loader: 'url?limit=10000&mimetype=application/font-woff',
},
{
test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
use: {
loader: 'url-loader',
options: {
limit: 10000,
mimetype: 'application/octet-stream',
},
},
// loader: 'url?limit=10000&mimetype=application/octet-stream',
},
{
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
use: {
loader: 'url-loader',
options: {
limit: 10000,
mimetype: 'application/vnd.ms-fontobject',
},
},
},
{
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
use: {
loader: 'url-loader',
options: {
limit: 10000,
mimetype: 'image/svg+xml',
},
},
},
{
test: /\.otf(\?v=\d+\.\d+\.\d+)?$/,
use: ['file-loader'],
},
{
test: webpackIsomorphicTools.regular_expression('images'),
use: {
loader: 'url-loader',
options: {
limit: 10240,
},
},
// loader: 'url-loader?limit=10240',
},
],
},
resolve: {
modules: ['./', 'node_modules'],
extensions: ['.json', '.js', '.jsx'],
},
plugins: [
new ExtractTextPlugin({
filename: '[name]-[chunkhash].css',
allChunks: true,
}),
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: '"production"',
},
__CLIENT__: true,
__DEVTOOLS__: false,
}),
new LodashModuleReplacementPlugin({
// collections: true,
// shorthands: true
}),
// ignore dev config
new webpack.IgnorePlugin(/\.\/dev/, /\/config$/),
// optimizations
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
},
sourceMap: false,
}),
webpackIsomorphicTools,
],
};
|
sankalplakhina/isomorphic-universal-react-redux-boilerplate-seed
|
webpack/prod.config.js
|
JavaScript
|
mit
| 5,226
|
<!-- SEMESTERS OSCSS ALUM WESBITE PAGE -->
<!doctype html>
<html lang="en">
<html>
<head>
<title>SEMESTERS</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--STYLESHEETS-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style type="text/css">
@import url('stylesheets/main.css')
</style>
<!--FONTS-->
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container">
<div id="header">
<div id="body">
<!--Main menu -->
<div class="nohover"> <a href="index.html"><img src="images/NAVBARLOGO.jpg" width="95" height="40" alt=""/></a></div>
<div id="nav_right" class="hidden-xs">
<div id="navigation" >
<ul class="nav nav-pills nav-justified">
<li><a href="about.html">About</a></li>
<li><a href="register.html">Register</a></li>
<li><a href="semesters.html">Semesters</a></li>
<li><a href="events.html">Events</a></li>
</ul>
</div>
</div>
</div>
<!--Main menu -->
<!--Dropdown menu -->
<div class="dropdown visible-xs-block">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Menu
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li ><a role="menuitem" tabindex="-1" href="about.html">About</a></li>
<li ><a role="menuitem" tabindex="-1" href="register.html">Register</a></li>
<li ><a role="menuitem" tabindex="-1" href="semesters.html">Semesters</a></li>
<li ><a role="menuitem" tabindex="-1" href="events.html">Events</a></li>
<li ><a role="menuitem" tabindex="-1" href="pictures.html">Pictures</a></li>
</ul>
</div>
<!--Dropdown menu -->
<!--Main body -->
<div id="mainbody" class ="col-md-12"> <div id="pagetopic"><h1>Semesters </h1></div>
<img src="images/dna stretch.jpg" alt=""/>
<p> Lost touch? Connect with your semester on facebook! <br>
<div id="semesters">
<a href="https://www.facebook.com/groups/2261666266/?ref=br_rs"><h3>42</h3></a>
<a href="https://www.facebook.com/groups/2205065207/?ref=br_rs"><h3>47</h3></a>
<a href="https://www.facebook.com/groups/2387623117/?ref=br_rs"><h3>52</h3></a>
<a href="https://www.facebook.com/groups/25146090915/?ref=br_rs"><h3>54</h3></a>
<a href=" https://www.facebook.com/groups/577624758953415/"><h3>55</h3></a>
<a href="https://www.facebook.com/groups/187407151282315/"><h3>58</h3></a>
<a href="https://www.facebook.com/groups/468275286540659/?ref=br_rs"><h3>61</h3></a>
<a href="https://www.facebook.com/groups/500176920073040/"><h3>63</h3></a>
<a href="https://www.facebook.com/groups/1410293375885077/?ref=br_rs"><h3>64</h3></a>
<br>
</div>
<br>
<a href="https://www.facebook.com/groups/342590832478715/"> OSCSS Community Facebook Page </a>
<br>
If you have the facebook link of a semester not mentioned here, please let us know!
</div>
</div>
<!--Main body -->
<!--Footer-->
<div id="footer">
<br>
<hr size=4 width="70%" color="#df5759">
<ul>
<li><a href="index.html">Home</a></li>
<li> // </li>
<li><a href="about.html">About</a></li>
<li> // </li>
<li><a href="register.html">Register</a></li>
<li> // </li>
<li><a href="semesters.html">Semesters</a></li>
<li> // </li>
<li><a href="events.html">Events</a></li>
<li> // </li>
<li><a href="pictures.html">Pictures</a></li>
<li> // </li>
<li><a href="contact.html">Contact us</a></li>
</ul>
</div>
</div>
<!--BOOTSTRAP CODE LINKS-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="javascripts/app.js"></script>
</body>
</html>
|
jencol/OSCSSALUMNI
|
semesters.html
|
HTML
|
mit
| 4,175
|
using System.ComponentModel.DataAnnotations;
namespace OptionsWebSite.ViewModels.Account
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
}
}
|
FriendlyNPC/MVC6_Mac
|
OptionsWebsite/ViewModels/Account/ExternalLoginConfirmationViewModel.cs
|
C#
|
mit
| 253
|
package com.dev.lambda.demo;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.junit.BeforeClass;
import org.junit.Test;
import com.amazonaws.services.lambda.runtime.Context;
import com.dev.lambda.demo.model.Input;
/**
* A simple test harness for locally invoking your Lambda function handler.
*/
public class LambdaFunctionHandlerTest {
private static Input input;
@BeforeClass
public static void createInput() throws IOException {
// TODO: set up your sample input object here.
input = new Input();
}
private Context createContext() {
TestContext ctx = new TestContext();
// TODO: customize your context here if needed.
ctx.setFunctionName("Your Function Name");
return ctx;
}
@Test
public void testLambdaFunctionHandler() {
LambdaFunctionHandler handler = new LambdaFunctionHandler();
Context ctx = createContext();
String output = handler.handleRequest(input, ctx);
// TODO: validate output here if needed.
//Assert.assertEquals("Hello from Lambda!", output);
}
}
|
kaulavinash/berryme
|
src/test/java/com/dev/lambda/demo/LambdaFunctionHandlerTest.java
|
Java
|
mit
| 1,143
|
GeekTool Circle Generator
=========================
This script generates circles to indicate different percentages. This is useful for displaying processor, memory, and battery information through GeekTool.
Instructions
============
- Open 'src/Geeklet Images.xcodeproj' with Xcode.
- Modify the 'path' variable in file 'GIMages.m' (currently on line 59) to where you want to output the circle images.
- Run the script.
|
jprider63/GeekTool-Circle-Generator
|
README.md
|
Markdown
|
mit
| 424
|
/*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* *
* This file is part of OpenNI. *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. *
* You may obtain a copy of the License at *
* *
* http://www.apache.org/licenses/LICENSE-2.0 *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
* *
*****************************************************************************/
package org.openni.android.tools.niviewer;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.Gravity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import android.widget.Toast;
import org.openni.Device;
import org.openni.DeviceInfo;
import org.openni.OpenNI;
import org.openni.Recorder;
import org.openni.android.OpenNIHelper;
import org.openni.android.tools.niviewer.StreamView;
public class NiViewerActivity
extends Activity
implements OpenNIHelper.DeviceOpenListener {
private Installation installation;
private static final String TAG = "NiViewer";
private OpenNIHelper mOpenNIHelper;
private boolean mDeviceOpenPending = false;
private Device mDevice;
private Recorder mRecorder;
private String mRecordingName;
private String mRecording;
private LinearLayout mStreamsContainer;
private int mActiveDeviceID = -1;
private void toast(String message) {
Toast toast = Toast.makeText(getApplicationContext(),
message, Toast.LENGTH_SHORT);
toast.show();
}
@Override
protected void onCreate(Bundle savedInstanceState) {
MyToaster.setContext(this);
Log.d(TAG, "onCreate");
installation = new Installation();
if (installation.execute()) {
Log.d(TAG, "ROOT commands executed.");
} else {
toast("Not running as ROOT.");
Log.d(TAG, "Not running as ROOT.");
}
MyNetworkManager nm = new MyNetworkManager(this);
nm.startup();
mOpenNIHelper = new OpenNIHelper(this);
//OpenNI.setLogAndroidOutput(true);
//OpenNI.setLogMinSeverity(0);
OpenNI.initialize();
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_niviewer);
mStreamsContainer = (LinearLayout)findViewById(R.id.streams_container);
onConfigurationChanged(getResources().getConfiguration());
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.niviewer_menu, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.record:
toggleRecording(item);
return true;
case R.id.add_stream:
addStream();
return true;
case R.id.device:
switchDevice();
return true;
default:
return super.onOptionsItemSelected(item);
}
}
@Override
protected void onDestroy() {
Log.d(TAG, "onDestroy");
super.onDestroy();
mOpenNIHelper.shutdown();
OpenNI.shutdown();
}
@Override
protected void onStart() {
Log.d(TAG, "onStart");
super.onStart();
final android.content.Intent intent = getIntent ();
if (intent != null) {
final android.net.Uri data = intent.getData ();
if (data != null) {
mRecording = data.getEncodedPath ();
Log.d(TAG, "Will open file " + mRecording);
}
}
}
@Override
protected void onResume() {
Log.d(TAG, "onResume");
super.onResume();
// onResume() is called after the USB permission dialog is closed, in which case, we don't want
// to request device permissions again
if (mDeviceOpenPending) {
return;
}
// Request opening the first OpenNI-compliant device found
String uri;
if (mRecording != null) {
uri = mRecording;
} else {
List<DeviceInfo> devices = OpenNI.enumerateDevices();
if (devices.isEmpty()) {
showAlertAndExit("No OpenNI-compliant device found.");
return;
}
uri = devices.get(devices.size() - 1).getUri();
}
mDeviceOpenPending = true;
mOpenNIHelper.requestDeviceOpen(uri, this);
}
@Override
public void onConfigurationChanged(Configuration config) {
Log.d(TAG, "onConfigurationChanged");
if (Configuration.ORIENTATION_PORTRAIT == config.orientation) {
mStreamsContainer.setOrientation(LinearLayout.VERTICAL);
} else {
mStreamsContainer.setOrientation(LinearLayout.HORIZONTAL);
}
//Re-insert each view to force correct display (forceLayout() doesn't work)
for (StreamView streamView : getStreamViews()) {
mStreamsContainer.removeView(streamView);
setStreamViewLayout(streamView, config);
mStreamsContainer.addView(streamView);
}
super.onConfigurationChanged(config);
}
private void showAlert(String message) {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage(message);
builder.show();
}
private void showAlertAndExit(String message) {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage(message);
builder.setNeutralButton("OK", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
finish();
}
});
builder.show();
}
@Override
public void onDeviceOpened(Device aDevice) {
Log.d(TAG, "Permission granted for device " + aDevice.getDeviceInfo().getUri());
mDeviceOpenPending = false;
mDevice = aDevice;
//Find device ID
List<DeviceInfo> devices = OpenNI.enumerateDevices();
for(int i=0; i < devices.size(); i++)
{
if(devices.get(i).getUri().equals(mDevice.getDeviceInfo().getUri())){
mActiveDeviceID = i;
break;
}
}
for (StreamView streamView : getStreamViews()) {
streamView.setDevice(mDevice);
}
mStreamsContainer.requestLayout();
addStream();
}
private void setStreamViewLayout(StreamView streamView, Configuration config) {
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);
if (config.orientation == Configuration.ORIENTATION_PORTRAIT) {
params.width = LayoutParams.WRAP_CONTENT;
params.height = 0;
} else {
params.width = 0;
params.height = LayoutParams.WRAP_CONTENT;
}
params.weight = 1;
params.gravity = Gravity.CENTER;
streamView.setLayoutParams(params);
}
private void addStream() {
StreamView streamView = new StreamView(this);
setStreamViewLayout(streamView, getResources().getConfiguration());
streamView.setDevice(mDevice);
mStreamsContainer.addView(streamView);
mStreamsContainer.requestLayout();
}
@SuppressLint("SimpleDateFormat")
private void toggleRecording(MenuItem item) {
if (mRecorder == null) {
mRecordingName = Environment.getExternalStorageDirectory().getPath() +
"/" + new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + ".oni";
try {
mRecorder = Recorder.create(mRecordingName);
for (StreamView streamView : getStreamViews()) {
mRecorder.addStream(streamView.getStream(), true);
}
mRecorder.start();
} catch (RuntimeException ex) {
mRecorder = null;
showAlert("Failed to start recording: " + ex.getMessage());
return;
}
item.setTitle(R.string.stop_record);
} else {
stopRecording();
item.setTitle(R.string.start_record);
}
}
private void stopRecording() {
if (mRecorder != null) {
mRecorder.stop();
mRecorder.destroy();
mRecorder = null;
showAlert("Recording saved to: " + mRecordingName);
mRecordingName = null;
}
}
private void switchDevice() {
List<DeviceInfo> devices = OpenNI.enumerateDevices();
if (devices.isEmpty()) {
showAlertAndExit("No OpenNI-compliant device found.");
return;
}
new DeviceSelectDialog().showDialog(devices, mActiveDeviceID, this);
}
public void openDevice(String deviceURI) {
if (mDeviceOpenPending) {
return;
}
stopRecording();
for (StreamView streamView : getStreamViews()) {
streamView.stop();
mStreamsContainer.removeView(streamView);
}
if (mDevice != null) {
mDevice.close();
}
mDeviceOpenPending = true;
mOpenNIHelper.requestDeviceOpen(deviceURI, this);
}
@Override
public void onDeviceOpenFailed(String uri) {
Log.e(TAG, "Failed to open device " + uri);
mDeviceOpenPending = false;
showAlertAndExit("Failed to open device");
}
@Override
protected void onPause() {
Log.d(TAG, "onPause");
super.onPause();
// onPause() is called just before the USB permission dialog is opened, in which case, we don't
// want to shutdown OpenNI
if (mDeviceOpenPending)
return;
stopRecording();
for (StreamView streamView : getStreamViews()) {
streamView.stop();
}
if (mDevice != null) {
mDevice.close();
mDevice = null;
}
}
private List<StreamView> getStreamViews() {
int count = mStreamsContainer.getChildCount();
ArrayList<StreamView> list = new ArrayList<StreamView>(count);
for (int i = 0; i < count; ++i) {
StreamView view = (StreamView)mStreamsContainer.getChildAt(i);
list.add(view);
}
return list;
}
}
|
Windowsfreak/NIStreamer
|
Android/NiViewer.Android/src/org/openni/android/tools/niviewer/NiViewerActivity.java
|
Java
|
mit
| 10,505
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.15.0 / flocq - 3.3.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
flocq
<small>
3.3.1
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-17 08:28:11 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-17 08:28:11 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.15.0 Formal proof management system
dune 2.9.1 Fast, portable, and opinionated build system
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1 OCaml 4.08.1 Secondary Switch Compiler
ocamlfind 1.9.1 A library manager for OCaml
ocamlfind-secondary 1.9.1 Adds support for ocaml-secondary-compiler to ocamlfind
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "guillaume.melquiond@inria.fr"
homepage: "https://flocq.gitlabpages.inria.fr/"
dev-repo: "git+https://gitlab.inria.fr/flocq/flocq.git"
bug-reports: "https://gitlab.inria.fr/flocq/flocq/issues"
license: "LGPL-3.0-or-later"
patches: [
"remake.patch"
]
build: [
["autoconf"] {dev}
["./configure"]
["./remake" "-j%{jobs}%"]
]
install: ["./remake" "install"]
depends: [
"coq" {>= "8.7" & < "8.14~"}
"conf-autoconf" {build & dev}
("conf-g++" {build} | "conf-clang" {build})
]
tags: [
"keyword:floating-point arithmetic"
"logpath:Flocq"
"date:2020-06-05"
]
authors: [ "Sylvie Boldo <sylvie.boldo@inria.fr>" "Guillaume Melquiond <guillaume.melquiond@inria.fr>" ]
synopsis: "A formalization of floating-point arithmetic for the Coq system"
url {
src: "https://flocq.gitlabpages.inria.fr/releases/flocq-3.3.1.tar.gz"
checksum: "sha512=4c8079df683d838ef61b3f16ecd2084751a4752c129620efe06dfa847be59257f0c0c342fca2ae510d87c085e857a4d32bac10af8be6f29a8c462df0ee72f557"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-flocq.3.3.1 coq.8.15.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.15.0).
The following dependencies couldn't be met:
- coq-flocq -> coq < 8.14~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-flocq.3.3.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
coq-bench/coq-bench.github.io
|
clean/Linux-x86_64-4.05.0-2.0.1/released/8.15.0/flocq/3.3.1.html
|
HTML
|
mit
| 7,341
|
/*
glext-emu
Header-only libraries for emulation of select OpenGL extensions for easier
programming while maintaining backwards compatibility with feature-challenged
drivers.
The MIT License (MIT)
Copyright (c) 2013 Leszek Godlewski
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if !defined(__gl_h_) && !defined(__GL_H__) && !defined(__X_GL_H)
#error Please include gl.h (or your OpenGL extension manager's header, such as GLEW) before glext-emu.h
#endif
#if !defined(__glext_h_) && !defined(__GLEXT_H_)
#error Please include glext.h (or your OpenGL extension manager's header, such as GLEW) before glext-emu.h
#endif
// Reverse header guard: preprocess everything out unless the proper glext-emu
// part is explicitly and exclusively requested.
#if defined(GLEXTEMU_PROTOTYPES) || defined(GLEXTEMU_DEFINITIONS) || defined(GLEXTEMU_PATCH)
#define __glext_emu_h_ 1
// This header is meant to be re-included for each of the use cases: exporting
// function prototypes, definitions or patch commands. Only one define should be
// active per inclusion.
#if (defined(GLEXTEMU_PROTOTYPES) && defined(GLEXTEMU_DEFINITIONS)) || (defined(GLEXTEMU_PATCH) && defined(GLEXTEMU_PROTOTYPES))
#error Please define only one of GLEXTEMU_PROTOTYPES, GLEXTEMU_DEFINITIONS and GLEXTEMU_PATCH
#endif
// The glext-emu-declared/defined functions need a distinctive prefix.
#ifndef GLEXTEMU_PREFIX
#error Please define GLEXTEMU_PREFIX
#endif
// A client application may use a custom prefix for its OpenGL command entry
// point pointers (such as qgl in the id Tech game engines). Define
// GLEXTEMU_PFN_PREFIX if your entry points are named in such non-standard
// way. The default is gl for standard OpenGL symbols.
#ifndef GLEXTEMU_PFN_PREFIX
#define GLEXTEMU_PFN_PREFIX gl
#endif
// Per-use-case configuration follows.
#if defined(GLEXTEMU_DEFINITIONS)
// Function definitions use a set of macros to control backing-up the state.
// The GLEXTEMU_PUSH_* macro family is used to back up the current value of
// a given state parameter. A custom definition can be used to implement
// cached switching instead. The default is to use the glGet*() function
// family to store the current value in a local variable.
#ifndef GLEXTEMU_PUSH_MATRIX_MODE
#define GLEXTEMU_PUSH_MATRIX_MODE(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_MATRIX_MODE);
#endif
#ifndef GLEXTEMU_PUSH_TEXTURE
#define GLEXTEMU_PUSH_TEXTURE(target, newValue) \
_GLEXTEMU_TEXTURE_TO_BINDING(target) \
_GLEXTEMU_PUSH_BINDING(bindingParam)
#endif
#ifndef GLEXTEMU_PUSH_ACTIVE_TEXTURE
#define GLEXTEMU_PUSH_ACTIVE_TEXTURE(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_ACTIVE_TEXTURE)
#endif
#ifndef GLEXTEMU_PUSH_CLIENT_ACTIVE_TEXTURE
#define GLEXTEMU_PUSH_CLIENT_ACTIVE_TEXTURE(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_CLIENT_ACTIVE_TEXTURE);
#endif
#ifndef GLEXTEMU_PUSH_BUFFER
#define GLEXTEMU_PUSH_BUFFER(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_ARRAY_BUFFER_BINDING);
#endif
#ifndef GLEXTEMU_PUSH_PROGRAM
#define GLEXTEMU_PUSH_PROGRAM(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_CURRENT_PROGRAM);
#endif
#ifndef GLEXTEMU_PUSH_RENDERBUFFER
#define GLEXTEMU_PUSH_RENDERBUFFER(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_RENDERBUFFER_BINDING);
#endif
#ifndef GLEXTEMU_PUSH_FRAMEBUFFER
#define GLEXTEMU_PUSH_FRAMEBUFFER(newValue) \
_GLEXTEMU_PUSH_BINDING(GL_DRAW_FRAMEBUFFER_BINDING);
#endif
#ifndef GLEXTEMU_PUSH_BUFFER_COPY
#define GLEXTEMU_PUSH_BUFFER_COPY(newValueRead, newValueWrite) \
_GLEXTEMU_PUSH_BINDING(GL_COPY_READ_BUFFER_BINDING); \
_GLEXTEMU_PUSH_BINDING(GL_COPY_WRITE_BUFFER_BINDING);
#endif
#ifndef GLEXTEMU_PUSH_VERTEX_ARRAY
#define GLEXTEMU_PUSH_VERTEX_ARRAY(vaobj) \
_GLEXTEMU_PUSH_BINDING(GL_VERTEX_ARRAY_BINDING);
#endif
// The GLEXTEMU_POP_* macro family is used to restore the original value of
// a given state parameter from backup. The default is to call the proper
// bind function for the given parameter with the backed-up value.
#ifndef GLEXTEMU_POP_MATRIX_MODE
#define GLEXTEMU_POP_MATRIX_MODE \
_GLEXTEMU_PFN_PREFIXED(MatrixMode)(orig_GL_MATRIX_MODE);
#endif
#ifndef GLEXTEMU_POP_TEXTURE
#define GLEXTEMU_POP_TEXTURE(target) \
_GLEXTEMU_PFN_PREFIXED(BindTexture)(target, orig_bindingParam);
#endif
#ifndef GLEXTEMU_POP_ACTIVE_TEXTURE
#define GLEXTEMU_POP_ACTIVE_TEXTURE \
_GLEXTEMU_PFN_PREFIXED(ActiveTexture)(orig_GL_ACTIVE_TEXTURE);
#endif
#ifndef GLEXTEMU_POP_CLIENT_ACTIVE_TEXTURE
#define GLEXTEMU_POP_CLIENT_ACTIVE_TEXTURE \
_GLEXTEMU_PFN_PREFIXED(ClientActiveTexture)(orig_GL_CLIENT_ACTIVE_TEXTURE);
#endif
#ifndef GLEXTEMU_POP_BUFFER
#define GLEXTEMU_POP_BUFFER \
_GLEXTEMU_PFN_PREFIXED(BindBuffer)(GL_ARRAY_BUFFER, orig_GL_ARRAY_BUFFER_BINDING);
#endif
#ifndef GLEXTEMU_POP_PROGRAM
#define GLEXTEMU_POP_PROGRAM \
_GLEXTEMU_PFN_PREFIXED(UseProgram)(orig_GL_CURRENT_PROGRAM);
#endif
#ifndef GLEXTEMU_POP_RENDERBUFFER
#define GLEXTEMU_POP_RENDERBUFFER \
_GLEXTEMU_PFN_PREFIXED(BindRenderbuffer)(GL_RENDERBUFFER, orig_GL_RENDERBUFFER_BINDING);
#endif
#ifndef GLEXTEMU_POP_FRAMEBUFFER
#define GLEXTEMU_POP_FRAMEBUFFER \
_GLEXTEMU_PFN_PREFIXED(BindRenderbuffer)(GL_RENDERBUFFER, orig_GL_DRAW_FRAMEBUFFER_BINDING);
#endif
#ifndef GLEXTEMU_POP_BUFFER_COPY
#define GLEXTEMU_POP_BUFFER_COPY \
_GLEXTEMU_PFN_PREFIXED(BindBuffer)(GL_COPY_READ_BUFFER, orig_GL_COPY_READ_BUFFER_BINDING); \
_GLEXTEMU_PFN_PREFIXED(BindBuffer)(GL_COPY_WRITE_BUFFER, orig_GL_COPY_WRITE_BUFFER_BINDING);
#endif
#ifndef GLEXTEMU_POP_VERTEX_ARRAY
#define GLEXTEMU_POP_VERTEX_ARRAY \
_GLEXTEMU_PFN_PREFIXED(BindVertexArray)(orig_GL_VERTEX_ARRAY_BINDING);
#endif
// The GLEXTEMU_DECLARE_CACHED macro is used at the beginning of every
// function to declare state parameters that it needs caching for. The
// default is to use no caching.
#ifndef GLEXTEMU_DECLARE_CACHED
#define GLEXTEMU_DECLARE_CACHED(type, param, default)
#endif
// The GLEXTEMU_COMPARE_CACHED macro is used to compare the cached value
// for the given state parameter with the potential new value. It's expected
// to return a non-zero value if the cached value differs from the new one,
// and zero if the new value is equal to the cached one. The default is
// no-op (no caching).
#ifndef GLEXTEMU_COMPARE_CACHED
#define GLEXTEMU_GET_CACHED(param, newValue)
#endif
// The GLEXTEMU_SET_CACHED macro is used to set a new cached value for the
// given state parameter. The default is no-op (no caching).
#ifndef GLEXTEMU_SET_CACHED
#define GLEXTEMU_SET_CACHED(param, value)
#endif
#elif defined(GLEXTEMU_PATCH)
// GL entry point patching uses a set of macros to control patching of
// OpenGL entry point pointers as used by the client application. The patch
// code looks like this:
// if (GLEXTEMU_FORCE_PATCHING || GLEXTEMU_PFN_PREFIX ## command == NULL)
// GLEXTEMU_PFN_PREFIX ## command = & GLEXTEMU_PREFIX ## command;
// So this implies that a pointer named "GLEXTEMU_PFN_PREFIX ## command"
// must exist, it must be NULL if the extension specifying that command is
// to be emulated (unless GLEXTEMU_FORCE_PATCHING is defined to a non-zero
// value) and it must be writable.
// A client application may enforce patching even of supported extensions by
// defining GLEXTEMU_FORCE_PATCHING to a non-zero value. This can be useful
// for debugging purposes. The default is 0 (only patch NULL entry points).
#ifndef GLEXTEMU_FORCE_PATCHING
#define GLEXTEMU_FORCE_PATCHING 0
#endif
#endif
// The GLEXTEMU_API is a general-purpose function prefix added to function
// prototypes in much the same way as the GLAPI macro in OpenGL. You can use it
// to declare the functions static within a C++ class, for instance.
#ifndef GLEXTEMU_API
#ifdef GLAPI
#define GLEXTEMU_API GLAPI
#else
#define GLEXTEMU_API extern
#endif
#endif
// Internal helper macros to make sure commands get their prefix
#define _GLEXTEMU_CONCAT2(a, b) a ## b
#define _GLEXTEMU_CONCAT(a, b) _GLEXTEMU_CONCAT2(a, b)
#define _GLEXTEMU_PREFIXED(command) _GLEXTEMU_CONCAT(GLEXTEMU_PREFIX, command)
#define _GLEXTEMU_PFN_PREFIXED(command) _GLEXTEMU_CONCAT(GLEXTEMU_PFN_PREFIX, command)
// Internal helper macro to facilitate backing up of OpenGL state parameters.
#define _GLEXTEMU_PUSH_BINDING(binding) \
GLint orig_ ## binding; \
_GLEXTEMU_PFN_PREFIXED(GetIntegerv)(binding, &orig_ ## binding);
// Internal helper macro to convert from a texture target token to a binding.
#define _GLEXTEMU_TEXTURE_TO_BINDING(target) \
GLenum bindingParam = GL_TEXTURE_BINDING_2D; \
switch (target) \
{ \
case GL_TEXTURE_1D: bindingParam = GL_TEXTURE_BINDING_1D; break; \
case GL_TEXTURE_2D: bindingParam = GL_TEXTURE_BINDING_2D; break; \
case GL_TEXTURE_3D: bindingParam = GL_TEXTURE_BINDING_3D; break; \
case GL_TEXTURE_CUBE_MAP: \
bindingParam = GL_TEXTURE_BINDING_CUBE_MAP; break; \
case GL_TEXTURE_1D_ARRAY: \
bindingParam = GL_TEXTURE_BINDING_1D_ARRAY; break; \
case GL_TEXTURE_2D_ARRAY: \
bindingParam = GL_TEXTURE_BINDING_2D_ARRAY; break; \
case GL_TEXTURE_BUFFER: \
bindingParam = GL_TEXTURE_BINDING_BUFFER; break; \
case GL_TEXTURE_RECTANGLE: \
bindingParam = GL_TEXTURE_BINDING_RECTANGLE; break; \
case GL_TEXTURE_2D_MULTISAMPLE: \
bindingParam = GL_TEXTURE_BINDING_2D_MULTISAMPLE; break; \
case GL_TEXTURE_2D_MULTISAMPLE_ARRAY: \
bindingParam = GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY; break; \
}
// Internal definitions of per-command macros.
#if defined(GLEXTEMU_DEFINITIONS)
#define _GLEXTEMU_CMD(returnType, command, args, code) \
returnType _GLEXTEMU_PREFIXED(command) args code
#elif defined(GLEXTEMU_PROTOTYPES)
#define _GLEXTEMU_CMD(returnType, command, args, code) \
GLEXTEMU_API returnType _GLEXTEMU_PREFIXED(command) args;
#elif defined(GLEXTEMU_PATCH)
#define _GLEXTEMU_CMD(returnType, command, args, code) \
if (GLEXTEMU_FORCE_PATCHING \
|| _GLEXTEMU_PFN_PREFIXED(command) == 0) \
_GLEXTEMU_PFN_PREFIXED(command) = & _GLEXTEMU_PREFIXED(command);
#endif
// Workaround for GLEW declaring bad types for some instances of internal format
// arguments.
#if defined(__glew_h__) || defined(__GLEW_H__)
#define GLifmt GLint
#else
#define GLifmt GLenum
#endif
// Temporary placeholder until I figure out how to raise GL errors. :)
#define _GLEXTEMU_RAISE_INVALID_ENUM
#define _GLEXTEMU_RAISE_INVALID_VALUE
#define _GLEXTEMU_RAISE_INVALID_OPERATION
#define _GLEXTEMU_RAISE_INVALID_FRAMEBUFFER_OPERATION
// Per-extension command includes.
#ifdef GLEXTEMU_EXT_direct_state_access
#include "glext-emu/EXT_direct_state_access.h"
#if !_GLEXTEMU_USED
#define _GLEXTEMU_USED 1
#endif
#endif
// Clean up namespace.
#undef _GLEXTEMU_CMD
#undef _GLEXTEMU_PUSH_BINDING
#undef _GLEXTEMU_PFN_PREFIXED
#undef _GLEXTEMU_PREFIXED
#undef _GLEXTEMU_CONCAT
#undef _GLEXTEMU_CONCAT2
// Warn if this header is included but no extensions are to be emulated.
// Someone probably made a typo in the extension name.
#if _GLEXTEMU_USED
#undef _GLEXTEMU_USED
#else
#warning glext-emu.h is included, but no extension was chosen to emulate - check GLEXTEMU_* defines for typos
#endif
#undef __glext_emu_h_
#endif // defined(GLEXTEMU_PROTOTYPES) || defined(GLEXTEMU_DEFINITIONS) || defined(GLEXTEMU_PATCH)
|
inequation/glext-emu
|
include/GL/glext-emu.h
|
C
|
mit
| 12,519
|
{% extends "base.html" %}
{% block title %}资产管理{% endblock %}
{% block link %}
{{ super() }}
<link href="/static/css/dataTables/dataTables.bootstrap.min.css" rel="stylesheet">
<link href="/static/bootstrap-slider/css/bootstrap-slider.min.css" rel="stylesheet">
<link href="/static/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
{% endblock %}
{% block head_script %}
{{ super() }}
<script type="text/javascript" src="/static/js/jquery/jquery.dataTables.js"></script>
<script type="text/javascript" src="/static/js/jquery/dataTables.bootstrap.min.js"></script>
<script type="text/javascript" src="/static/bootstrap-slider/js/bootstrap-slider.min.js"></script>
<script type="text/javascript" src="/static/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/static/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
{% endblock %}
{% block headscript %}
<script type="text/javascript">
jQuery(document).ready(function(){
$('#usertable').DataTable({
//lengthMenu: [5, 10, 20, 30],//这里也可以设置分页,但是不能设置具体内容,只能是一维或二维数组的方式,所以推荐下面language里面的写法。
paging: true,//分页
ordering: true,//是否启用排序
searching: true,//搜索
language: {
lengthMenu: '<select class="form-control input-xsmall">' + '<option value="1">1</option>' + '<option value="10">10</option>' + '<option value="20">20</option>' + '<option value="30">30</option>' + '<option value="40">40</option>' + '<option value="50">50</option>' + '</select>条记录',//左上角的分页大小显示。
search: '<span class="label label-success">搜索:</span>',//右上角的搜索文本,可以写html标签
paginate: {//分页的样式内容。
previous: "上一页",
next: "下一页",
first: "第一页",
last: "最后"
},
zeroRecords: "没有内容",//table tbody内容为空时,tbody的内容。
//下面三者构成了总体的左下角的内容。
info: "总共_PAGES_ 页,显示第_START_ 到第 _END_ ,筛选之后得到 _TOTAL_ 条,初始_MAX_ 条 ",//左下角的信息显示,大写的词为关键字。
infoEmpty: "0条记录",//筛选为空时左下角的显示。
infoFiltered: ""//筛选之后的左下角筛选提示,
},
paging: true,
pagingType: "full_numbers",//分页样式的类型
});
$("#table_local_filter input[type=search]").css({ width: "auto" });//右上角的默认搜索文本框,不写这个就超出去了。
});
</script>
{% endblock %}
{% block main %}
{% if msg %}
<div class="alert {{ color }}" role="alert">{{ msg }}</div>
{% endif %}
<div><button type="button" class="btn btn-success" data-toggle="modal"
data-target="#dialog" data-target=".bs-example-modal-lg" data-title="添加资产"
data-btn-txt="添加" data-url="/asset/create/">添加资产</button></div>
<table class="table table-bordered table-striped table-hover" id="usertable">
<thead>
<tr class="info">
<th>SN</th>
<th>IP(主机名)</th>
<th>操作系统</th>
<th>CPU/内存/硬盘</th>
<th>机房</th>
<th>使用者(业务)</th>
<th>采购时间(保修时长:年)</th>
<th>型号(供应商)</th>
<th>操作</th>
</tr>
</thead>
{% for asset in assets %}
<tr>
<td>{{ asset['sn'] }}</td>
<td>{{ asset['ip'] }}</td>
<td>{{ asset['os'] }}</td>
<td>
<ul>
<li>cpu:{{ asset['cpu'] }}核</li>
<li>内存:{{ asset['ram'] }}G</li>
<li>硬盘:{{ asset['disk'] }}G</li>
</ul>
</td>
<td>{{ asset['idc_id'] }}</td>
<td>{{ asset['admin'] }}({{ asset['business'] }})</td>
<td>{{ asset['purchase_date'] }}({{ asset['warranty'] }})</td>
<td>{{ asset['model'] }}({{ asset['vendor'] }})</td>
<td><button type="submit" class="btn btn-primary" data-toggle="modal"
data-target="#dialog" data-target=".bs-example-modal-lg" data-title="修改资产"
data-btn-txt="修改" data-form-index="{{ loop.index }}" data-url="/asset/modify/">修改</button>
<a href="/asset/delete/?id={{ asset['id'] }}"><button type="submit" class="btn btn-danger"
onclick="return confirm('确定删除吗?');">删除</button></a></td>
</tr>
{% endfor %}
</table>
<!--新增资产模态框-->
{% block dialog %}
{{ super() }}
{% endblock %}
{% endblock %}
{% block script %}
<script type="text/javascript">
jQuery(document).ready(function(){
$('#dialog').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget);
var title = button.data('title');
var btn_txt = button.data('btn-txt');
var url = button.data('url');
var form_index=button.data('form-index');
if(form_index!=null){
url=url+'?index='+form_index
}
var that = this;
jQuery(that).find('.modal-title').text(title);
jQuery(that).find('.btn-form-submit').text(btn_txt);
/*jQuery.post(url, {}, function (result) {
jQuery(that).find('.modal-body').html(result)
})*/
jQuery(that).find('.modal-body').load(url);
})
jQuery('#dialog-commit').on('click', function() {
var _form = jQuery('#dialog').find('form');
//console.log(_form.attr('action'));
//console.log(_form.serialize());
//console.log(_form.serializeArray());
//return;
_form_data=_form.serializeArray();
_form_keys={'sn':'sn编号','ip':'IP地址','hostname':'主机名','os':'操作系统','cpu':'cpu','ram':'内存',
'disk':'硬盘','idc_id':'机房','admin':'使用人', 'business':'业务','purchase_date':'采购日期',
'warranty':'保修时间','vendor':'供应商','model':'型号'}
for(i in _form_data){
if(_form_data[i].value.length==0){
alert('请填写'+_form_keys[_form_data[i].name]+'!');
return;
}
}
if(isNaN(parseInt(_form_data[11].value))){
alert('保修时间只能是数字!');
return;
}
jQuery.post(_form.attr('action'), _form.serializeArray(), function(data) {
if(data['_is_ok']) {
for (var key in data['errors']){
alert(data['errors'][key]);
}
jQuery('#create-asset').modal('hide');
window.location.reload()
} else {
var errors = [];
for(var key in data['errors']) {
errors.push(data['errors'][key]);
}
alert(errors.join('\n'));
}
}, 'json'
)
});
})
</script>
{% endblock %}
|
51reboot/actual_09_homework
|
09/huxianglin/cmdb09/user/templates/asset.html
|
HTML
|
mit
| 7,993
|
<?php
namespace Vision\DependencyInjection;
use Psr\Container\NotFoundExceptionInterface;
use RuntimeException;
class NotFoundException extends RuntimeException implements NotFoundExceptionInterface
{
}
|
Trainmaster/Vision
|
src/DependencyInjection/NotFoundException.php
|
PHP
|
mit
| 206
|
canvas-pong
===========
A pong game created trying to figure out how to make games in Javascript. Utilies some kind of entity component system.
|
nohatssir/canvas-pong
|
README.md
|
Markdown
|
mit
| 145
|
<?php defined('KOHANASYSPATH') or die('No direct script access.');
/**
* UTF8::from_unicode
*
* @package Kohana
* @author Kohana Team
* @copyright (c) 2007-2011 Kohana Team
* @copyright (c) 2005 Harry Fuecks
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
*/
function _from_unicode($arr)
{
ob_start();
$keys = array_keys($arr);
foreach ($keys as $k)
{
// ASCII range (including control chars)
if (($arr[$k] >= 0) AND ($arr[$k] <= 0x007f))
{
echo chr($arr[$k]);
}
// 2 byte sequence
elseif ($arr[$k] <= 0x07ff)
{
echo chr(0xc0 | ($arr[$k] >> 6));
echo chr(0x80 | ($arr[$k] & 0x003f));
}
// Byte order mark (skip)
elseif ($arr[$k] == 0xFEFF)
{
// nop -- zap the BOM
}
// Test for illegal surrogates
elseif ($arr[$k] >= 0xD800 AND $arr[$k] <= 0xDFFF)
{
// Found a surrogate
trigger_error('UTF8::from_unicode: Illegal surrogate at index: '.$k.', value: '.$arr[$k], E_USER_WARNING);
return FALSE;
}
// 3 byte sequence
elseif ($arr[$k] <= 0xffff)
{
echo chr(0xe0 | ($arr[$k] >> 12));
echo chr(0x80 | (($arr[$k] >> 6) & 0x003f));
echo chr(0x80 | ($arr[$k] & 0x003f));
}
// 4 byte sequence
elseif ($arr[$k] <= 0x10ffff)
{
echo chr(0xf0 | ($arr[$k] >> 18));
echo chr(0x80 | (($arr[$k] >> 12) & 0x3f));
echo chr(0x80 | (($arr[$k] >> 6) & 0x3f));
echo chr(0x80 | ($arr[$k] & 0x3f));
}
// Out of range
else
{
trigger_error('UTF8::from_unicode: Codepoint out of Unicode range at index: '.$k.', value: '.$arr[$k], E_USER_WARNING);
return FALSE;
}
}
$result = ob_get_contents();
ob_end_clean();
return $result;
}
|
ivantcholakov/codeigniter-utf8
|
application/third_party/kohana/utf8/from_unicode.php
|
PHP
|
mit
| 1,718
|
<!DOCTYPE html>
<html class="theme-next muse use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
<link href="//cdn.bootcss.com/pace/1.0.2/themes/pink/pace-theme-flash.css" rel="stylesheet">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
<link href="/css/main.css?v=5.1.3" rel="stylesheet" type="text/css" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.3">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.3">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.3">
<link rel="mask-icon" href="/images/logo.svg?v=5.1.3" color="#222">
<meta name="keywords" content="Hexo, NexT" />
<meta property="og:type" content="article">
<meta property="og:title" content="2018-12-6 子(1)">
<meta property="og:url" content="http://yoursite.comf/2018/01/02/【2018-1-1】-三个月的开始/index.html">
<meta property="og:site_name" content="申">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2018-12-06T02:54:28.906Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="2018-12-6 子(1)">
<script type="text/javascript" id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Muse',
version: '5.1.3',
sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
fancybox: true,
tabs: true,
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
duoshuo: {
userId: '0',
author: '博主'
},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<link rel="canonical" href="http://yoursite.comf/2018/01/02/【2018-1-1】-三个月的开始/"/>
<title>2018-12-6 子(1) | 申</title>
<script type="text/javascript" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<div class="container sidebar-position-left page-post-detail">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">申</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle"></p>
</div>
<div class="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
首页
</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about/" rel="section">
<i class="menu-item-icon fa fa-fw fa-user"></i> <br />
关于
</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section">
<i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
标签
</a>
</li>
<li class="menu-item menu-item-categories">
<a href="/categories/" rel="section">
<i class="menu-item-icon fa fa-fw fa-th"></i> <br />
分类
</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
归档
</a>
</li>
</ul>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<div id="posts" class="posts-expand">
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="http://yoursite.comf/2018/01/02/【2018-1-1】-三个月的开始/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="申">
<meta itemprop="description" content="">
<meta itemprop="image" content="/images/avatar.png">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="申">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">2018-12-6 子(1)</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time title="创建于" itemprop="dateCreated datePublished" datetime="2018-01-02T00:07:20+08:00">
2018-01-02
</time>
</span>
<div class="post-wordcount">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">字数统计:</span>
<span title="字数统计">
0
</span>
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">阅读时长 ≈</span>
<span title="阅读时长">
1
</span>
</div>
</div>
</header>
<div class="post-body" itemprop="articleBody">
</div>
<footer class="post-footer">
</footer>
</div>
</article>
<div class="post-spread">
</div>
</div>
</div>
</div>
<div class="sidebar-toggle">
<div class="sidebar-toggle-line-wrap">
<span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
</div>
</div>
<aside id="sidebar" class="sidebar">
<div class="sidebar-inner">
<section class="site-overview-wrap sidebar-panel sidebar-panel-active">
<div class="site-overview">
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image"
src="/images/avatar.png"
alt="申" />
<p class="site-author-name" itemprop="name">申</p>
<p class="site-description motion-element" itemprop="description"></p>
</div>
<nav class="site-state motion-element">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">1</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
</nav>
<div class="links-of-author motion-element">
</div>
</div>
</section>
</div>
</aside>
</div>
</main>
<footer id="footer" class="footer">
<div class="footer-inner">
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="copyright">© <span itemprop="copyrightYear">2018</span>
<span class="with-love">
<i class="fa fa-user"></i>
</span>
<span class="author" itemprop="copyrightHolder">申</span>
</div>
<div class="powered-by">
<i class="fa fa-user-md"></i><span id="busuanzi_container_site_uv">
本站访客数:<span id="busuanzi_value_site_uv"></span>
</span>
</div>
</div>
</footer>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
</div>
</div>
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/lib/canvas-nest/canvas-nest.min.js"></script>
<script type="text/javascript" src="/js/src/utils.js?v=5.1.3"></script>
<script type="text/javascript" src="/js/src/motion.js?v=5.1.3"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.3"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.3"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.3"></script>
<script type="text/javascript" src="/js/src/exturl.js?v=5.1.3"></script>
</body>
</html>
|
Yoree/Yoree.github.io
|
2018/01/02/【2018-1-1】-三个月的开始/index.html
|
HTML
|
mit
| 12,062
|
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.jms.connection;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.jms.Session;
import javax.jms.TransactionInProgressException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.transaction.support.ResourceHolderSupport;
import org.springframework.transaction.support.TransactionSynchronizationManager;
import org.springframework.util.Assert;
import org.springframework.util.CollectionUtils;
import org.springframework.util.ReflectionUtils;
/**
* JMS resource holder, wrapping a JMS Connection and a JMS Session.
* JmsTransactionManager binds instances of this class to the thread,
* for a given JMS ConnectionFactory.
*
* <p>Note: This is an SPI class, not intended to be used by applications.
*
* @author Juergen Hoeller
* @since 1.1
* @see JmsTransactionManager
* @see org.springframework.jms.core.JmsTemplate
*/
public class JmsResourceHolder extends ResourceHolderSupport {
private static final Log logger = LogFactory.getLog(JmsResourceHolder.class);
private ConnectionFactory connectionFactory;
private boolean frozen = false;
private final List<Connection> connections = new LinkedList<>();
private final List<Session> sessions = new LinkedList<>();
private final Map<Connection, List<Session>> sessionsPerConnection =
new HashMap<>();
/**
* Create a new JmsResourceHolder that is open for resources to be added.
* @see #addConnection
* @see #addSession
*/
public JmsResourceHolder() {
}
/**
* Create a new JmsResourceHolder that is open for resources to be added.
* @param connectionFactory the JMS ConnectionFactory that this
* resource holder is associated with (may be {@code null})
*/
public JmsResourceHolder(ConnectionFactory connectionFactory) {
this.connectionFactory = connectionFactory;
}
/**
* Create a new JmsResourceHolder for the given JMS Session.
* @param session the JMS Session
*/
public JmsResourceHolder(Session session) {
addSession(session);
this.frozen = true;
}
/**
* Create a new JmsResourceHolder for the given JMS resources.
* @param connection the JMS Connection
* @param session the JMS Session
*/
public JmsResourceHolder(Connection connection, Session session) {
addConnection(connection);
addSession(session, connection);
this.frozen = true;
}
/**
* Create a new JmsResourceHolder for the given JMS resources.
* @param connectionFactory the JMS ConnectionFactory that this
* resource holder is associated with (may be {@code null})
* @param connection the JMS Connection
* @param session the JMS Session
*/
public JmsResourceHolder(ConnectionFactory connectionFactory, Connection connection, Session session) {
this.connectionFactory = connectionFactory;
addConnection(connection);
addSession(session, connection);
this.frozen = true;
}
public final boolean isFrozen() {
return this.frozen;
}
public final void addConnection(Connection connection) {
Assert.isTrue(!this.frozen, "Cannot add Connection because JmsResourceHolder is frozen");
Assert.notNull(connection, "Connection must not be null");
if (!this.connections.contains(connection)) {
this.connections.add(connection);
}
}
public final void addSession(Session session) {
addSession(session, null);
}
public final void addSession(Session session, Connection connection) {
Assert.isTrue(!this.frozen, "Cannot add Session because JmsResourceHolder is frozen");
Assert.notNull(session, "Session must not be null");
if (!this.sessions.contains(session)) {
this.sessions.add(session);
if (connection != null) {
List<Session> sessions = this.sessionsPerConnection.get(connection);
if (sessions == null) {
sessions = new LinkedList<>();
this.sessionsPerConnection.put(connection, sessions);
}
sessions.add(session);
}
}
}
public boolean containsSession(Session session) {
return this.sessions.contains(session);
}
public Connection getConnection() {
return (!this.connections.isEmpty() ? this.connections.get(0) : null);
}
public Connection getConnection(Class<? extends Connection> connectionType) {
return CollectionUtils.findValueOfType(this.connections, connectionType);
}
public Session getSession() {
return (!this.sessions.isEmpty() ? this.sessions.get(0) : null);
}
public Session getSession(Class<? extends Session> sessionType) {
return getSession(sessionType, null);
}
public Session getSession(Class<? extends Session> sessionType, Connection connection) {
List<Session> sessions = this.sessions;
if (connection != null) {
sessions = this.sessionsPerConnection.get(connection);
}
return CollectionUtils.findValueOfType(sessions, sessionType);
}
public void commitAll() throws JMSException {
for (Session session : this.sessions) {
try {
session.commit();
}
catch (TransactionInProgressException ex) {
// Ignore -> can only happen in case of a JTA transaction.
}
catch (javax.jms.IllegalStateException ex) {
if (this.connectionFactory != null) {
try {
Method getDataSourceMethod = this.connectionFactory.getClass().getMethod("getDataSource");
Object ds = ReflectionUtils.invokeMethod(getDataSourceMethod, this.connectionFactory);
while (ds != null) {
if (TransactionSynchronizationManager.hasResource(ds)) {
// IllegalStateException from sharing the underlying JDBC Connection
// which typically gets committed first, e.g. with Oracle AQ --> ignore
return;
}
try {
// Check for decorated DataSource a la Spring's DelegatingDataSource
Method getTargetDataSourceMethod = ds.getClass().getMethod("getTargetDataSource");
ds = ReflectionUtils.invokeMethod(getTargetDataSourceMethod, ds);
}
catch (NoSuchMethodException nsme) {
ds = null;
}
}
}
catch (Throwable ex2) {
if (logger.isDebugEnabled()) {
logger.debug("No working getDataSource method found on ConnectionFactory: " + ex2);
}
// No working getDataSource method - cannot perform DataSource transaction check
}
}
throw ex;
}
}
}
public void closeAll() {
for (Session session : this.sessions) {
try {
session.close();
}
catch (Throwable ex) {
logger.debug("Could not close synchronized JMS Session after transaction", ex);
}
}
for (Connection con : this.connections) {
ConnectionFactoryUtils.releaseConnection(con, this.connectionFactory, true);
}
this.connections.clear();
this.sessions.clear();
this.sessionsPerConnection.clear();
}
}
|
boggad/jdk9-sample
|
sample-catalog/spring-jdk9/src/spring.jms/org/springframework/jms/connection/JmsResourceHolder.java
|
Java
|
mit
| 7,474
|
module HaSC.Prim.IntermedSyntax where
import HaSC.Prim.ObjInfo
type IProgram = [IDecl]
type IVar = ObjInfo
type Label = String
data IDecl = IVarDecl IVar
| IFunDecl IVar [IVar] [ICode]
deriving(Show, Eq, Ord)
data ICode = ILabel Label
| ILet IVar IVar
| ILi IVar Integer
| IAop String IVar IVar IVar
| IRelop String IVar IVar IVar
| IWrite IVar IVar
| IRead IVar IVar
| IAddr IVar IVar
| IJumpTr IVar Label
| IJumpFls IVar Label
| IJump Label
| ICall IVar IVar [IVar]
| IReturn IVar
| IRetVoid
| IPrint IVar
deriving(Show, Eq, Ord)
|
yu-i9/HaSC
|
src/HaSC/Prim/IntermedSyntax.hs
|
Haskell
|
mit
| 794
|
<?php
namespace GRT\MainBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GRTMainBundle extends Bundle
{
}
|
mwd410/GRT-Interview
|
src/GRT/MainBundle/GRTMainBundle.php
|
PHP
|
mit
| 122
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:30:20 CST 2007 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
接口 javax.lang.model.element.AnnotationValueVisitor 的使用 (Java Platform SE 6)
</TITLE><script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "//hm.baidu.com/hm.js?dd1361ca20a10cc161e72d4bc4fef6df";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm, s);})();</script>
<META NAME="date" CONTENT="2007-03-19">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="接口 javax.lang.model.element.AnnotationValueVisitor 的使用 (Java Platform SE 6)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>概述</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口"><FONT CLASS="NavBarFont1"><B>类</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>使用</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup> Platform<br>Standard Ed. 6</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
上一个
下一个</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?javax/lang/model/element//class-useAnnotationValueVisitor.html" target="_top"><B>框架</B></A>
<A HREF="AnnotationValueVisitor.html" target="_top"><B>无框架</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>所有类</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H2>
<B>接口 javax.lang.model.element.AnnotationValueVisitor<br>的使用</B></H2>
</CENTER>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
使用 <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口">AnnotationValueVisitor</A> 的软件包</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#javax.lang.model.element"><B>javax.lang.model.element</B></A></TD>
<TD>用于 Java 编程语言的模型元素的接口。 </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#javax.lang.model.util"><B>javax.lang.model.util</B></A></TD>
<TD>用来帮助处理<A HREF="../../../../../javax/lang/model/element/package-summary.html">程序元素</A>和<A HREF="../../../../../javax/lang/model/type/package-summary.html">类型</A>的实用工具。 </TD>
</TR>
</TABLE>
<P>
<A NAME="javax.lang.model.element"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<A HREF="../../../../../javax/lang/model/element/package-summary.html">javax.lang.model.element</A> 中 <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口">AnnotationValueVisitor</A> 的使用</FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">参数类型为 <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口">AnnotationValueVisitor</A> 的 <A HREF="../../../../../javax/lang/model/element/package-summary.html">javax.lang.model.element</A> 中的方法</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE><R,P> R</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B>AnnotationValue.</B><B><A HREF="../../../../../javax/lang/model/element/AnnotationValue.html#accept(javax.lang.model.element.AnnotationValueVisitor, P)">accept</A></B>(<A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口">AnnotationValueVisitor</A><R,P> v,
P p)</CODE>
<BR>
将一个 visitor 应用到此值。</TD>
</TR>
</TABLE>
<P>
<A NAME="javax.lang.model.util"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<A HREF="../../../../../javax/lang/model/util/package-summary.html">javax.lang.model.util</A> 中 <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口">AnnotationValueVisitor</A> 的使用</FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">实现 <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口">AnnotationValueVisitor</A> 的 <A HREF="../../../../../javax/lang/model/util/package-summary.html">javax.lang.model.util</A> 中的类</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../javax/lang/model/util/AbstractAnnotationValueVisitor6.html" title="javax.lang.model.util 中的类">AbstractAnnotationValueVisitor6<R,P></A></B></CODE>
<BR>
注释值的骨干 visitor,具有适用于 <A HREF="../../../../../javax/lang/model/SourceVersion.html#RELEASE_6"><CODE>RELEASE_6</CODE></A> 源版本的默认行为。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../javax/lang/model/util/SimpleAnnotationValueVisitor6.html" title="javax.lang.model.util 中的类">SimpleAnnotationValueVisitor6<R,P></A></B></CODE>
<BR>
注释值的简单 visitor,具有适用于 <A HREF="../../../../../javax/lang/model/SourceVersion.html#RELEASE_6"><CODE>RELEASE_6</CODE></A> 源版本的默认行为。</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>概述</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../javax/lang/model/element/AnnotationValueVisitor.html" title="javax.lang.model.element 中的接口"><FONT CLASS="NavBarFont1"><B>类</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>使用</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup> Platform<br>Standard Ed. 6</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
上一个
下一个</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?javax/lang/model/element//class-useAnnotationValueVisitor.html" target="_top"><B>框架</B></A>
<A HREF="AnnotationValueVisitor.html" target="_top"><B>无框架</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>所有类</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">提交错误或意见</a><br>有关更多的 API 参考资料和开发人员文档,请参阅 <a href="http://java.sun.com/javase/6/webnotes/devdocs-vs-specs.html">Java SE 开发人员文档</a>。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。 <p>版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守<a href="http://java.sun.com/javase/6/docs/legal/license.html">许可证条款</a>。另请参阅<a href="http://java.sun.com/docs/redist.html">文档重新分发政策</a>。</font>
</BODY>
</HTML>
|
piterlin/piterlin.github.io
|
doc/jdk6_cn/javax/lang/model/element/class-use/AnnotationValueVisitor.html
|
HTML
|
mit
| 12,010
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--http://paulrhayes.com/experiments/cube-3d/-->
<!--screen shots from F4BMS flight simulation. Please visit http://http://www.bmsforum.org-->
<title>Hangar_Spike Final Project June 2015 DaVinci Coders javaScript_cube test</title>
<meta name="F16 load out content=">
<meta name="author" content="HTsao">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<link href="css/GlassPitstylesheet.css" rel="stylesheet" type="text/css" />
<script src="resources/jssheets/mousetrap.min.js" type="text/javascript"></script><!-- cube mouse trap for cube. also see blow for js sheets for cube -->
<!--free gauges from justGauge.com--->
<script src="resources/jssheets/raphael.2.1.0.min.js"></script><!--link to justGage .js file-->
<script src="resources/jssheets/justgage.1.0.1_no alert message.js"></script><!--link to justGage .js file. use this one because modified to remove missing gauge alert-->
<script src="resources/jssheets/jquery-2.1.4.js"></script><!--for jQuery-->
<script src="resources/jssheets/jquery-ui 1.11.4.js"></script><!--for jQuery UI library on this pc-->
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"type="text/javascript"></script><!--for link to jQuery UI external library-->
<script type="text/javascript">
</script>
</head>
<body style="display: none;" class="experiment"><!--use inline style display: none; in order to work on firefox-->
<div id="Outer_wrapper" class=""><!--wrap entire page-->
<!--for this hangar html, set table width as % in order to work with f16 load out tables-->
<table id="patch_table">
<tr><td>
<h3 id="fortyeight_h3">48TH FT SQ<br><a class="no_blank" href="Homeairbase.html" ><img id="imgtest" src="img/patch_1.png" /></a><br>THE SOUND OF FREEDOM</h3>
</td></tr>
</table>
<!--top message board table starting here-->
<table id="eyebrow_messageboard">
<tr id="eyebrow_messagerow" class="class_blue">
<td id="ejection_signtd"><a title="EOD Warrior Foundation" href="http://www.eodwarriorfoundation.org/" target="_blank"><img id="ejection_sign_img" alt="Ejection Sign" src="img/ejection seat sign.png"/></a></td>
<td id="eyebrow_td_1" class="greybackgroundc" ><p id="eyebrow_iconbase" align="center"><a class="no_blank" href="Homeairbase.html" ><input id="airbasebut" class="eyebrowbtns" type="button" value="HOME AIR BASE"/></a></P></td>
<td id="eyebrow_td_2" class="greybackgroundc" ><p id="eyebrow_iconbase" align="center"><a class="no_blank" href="Hangar.html"><input id="hangarbut" class="eyebrowbtns" type="button" value="HANGAR"/></a></P></td>
<td id="eyebrow_td_middle"><p id="eyebrow_parap" class="eyebrow_paraclass"></p></td>
<td id="eyebrow_td_3" class="greybackgroundc" ><p id="eyebrow_iconbase" align="center"><a class="no_blank" href="powerplant.html"><input id="powerplantbut" class="eyebrowbtns" type="button" value="POWER PLANT"/></a></P></td>
<td id="eyebrow_td_4" class="greybackgroundc" ><p id="eyebrow_iconbase" align="center"><a class="no_blank" href="Pilotsclub.html"><input id="pilotsclubbut" class="eyebrowbtns" type="button" value="PILOTS CLUB"/></a></P></td>
<td id="ejection_signtd" width="60px"><a title="USAF Honoring All Fallen Members" href="https://www.odmp.org/agency/3942-united-states-air-force-security-forces-us-government" target="_blank"><img id="ejection_sign_img" alt="Ejection Sign" src="img/ejection seat sign.png"/></a></td>
</tr>
</table><!--top message board table ends here-->
<p id="hangarp">HANGAR</p>
<!--map starts here-->
<map name="f16nosecone">
<area shape="rect" coords="273, 64, 336, 103" href="http://www.f-16.net/" alt="F16.net" target="_blank">
</map>
<!--3D cube HTML block starts-->
<!--<p class="learn">
This is a demo, <a href="http://www.paulrhayes.com/2010-09/3d-css-cube-ii-touch-gestures-click-and-drag/">learn how it works</a>.
</p>-->
<article class="viewport">
<section class="cube">
<div>
MARK-84<br>
The MK 84 or BLU-117 is an American general-purpose bomb, it is also the larget of the Mark 80 series of weapons.<br>
<img class="cubeclass" src="img/MK84_US Navy.png" style=""/>
<object ><iframe class="cubeclass" src="https://www.youtube.com/embed/xhd9txj_6OQ" frameborder="0" allowfullscreen></iframe></object>
The AN/APG-68 radar is a long range (up to 296km) Pulse-doppler radar designed by Westinghouse (now Northrop Grumman) to
replace AN/APG-66 radar in the F-16 Viper.
<object><iframe class="cubeclass" src="https://www.youtube.com/embed/l8U8HmwzbLA" frameborder="0" allowfullscreen></iframe></object>
<img class="cubeclass" src="img/Radar_AN-APG-68.png" style=""/>
</div>
<div><!--F16 loadout-->
<p id="hangar_h2" class="loadout">F-16 MLU Viper Load Out</p>
<table id="loadout_firstrowbtns" align="center"><!--table for first row of buttons-->
<tr style="margin: 0px">
<td id="aa1" class="loadoutbtns" ><input type="button" id="aabutton1" value="A to A 1" style="outline: none;"/></td><!--incline css stays-->
<td id="aa2" class="loadoutbtns" ><input type="button" id="aabutton2" value="A to A 2" style="outline: none;"/></td>
<td id="aa3" class="loadoutbtns" ><input type="button" id="aabutton3" value="A to A 3" style="outline: none;"/></td>
<td id="cle" class="loadoutbtns" ><input type="button" id="aabuttoncle" value="Clean" style="outline: none;"/></td>
<td id="ag1" class="loadoutbtns" ><input type="button" id="agbutton1" value="A to G 1" style="outline: none;"/></td>
<td id="ag2" class="loadoutbtns" ><input type="button" id="agbutton2" value="A to G 2" style="outline: none;"/></td>
<td id="ag3" class="loadoutbtns" ><input type="button" id="agbutton3" value="A to G 3" style="outline: none;"/></td>
</tr>
</table><!--table ends-->
<table id="weightdisplay" align="center"><!--table for weight data-->
<tr>
<td id="maxweight" class="loadout2">Max Weight: 42300 Ib</td>
<td id="cleanweight" class="loadout2">Clean Weight: 20300 Ib</td>
<td id="munitions" class="loadout2">Munitions Weight: 0 Ib</td>
<td id="fuel" class="loadout2">Fuel Weight: 5924 Ib</td>
<td id="grossweight" class="loadout2">Gross Weight:
<form id="grossform">
<input id="grossnumber" type="text" size="5px" value=""/>
</form>
</td>
</tr>
</table><!--table ends-->
<table id="loadout_showroom" align="center"><!--pic table-->
<tr><td align="center" style="opacity: 0.9">
<img id="loadoutpic" src="img/f16empty.png" alt="f16" usemap="#f16nosecone" ismap="ismap" border="0">
</td></tr>
</table><!--pic table ends-->
<h3 id="load_table_h3" align="center">Clean</h3>
<table id="loadout_table" class="loadoutdatashow" align="center" ><!--keep table-layout-->
<tr id="row1">
<td id="r1_station9" class="color1" >*</td>
<td id="r1_station8" class="color1" >*</td>
<td id="r1_station7" class="color1" >*</td>
<td id="r1_station6" class="color1" >*</td>
<td id="r1_station5" class="color1" >*</td>
<td id="r1_station4" class="color1" >*</td>
<td id="r1_station3" class="color1" >*</td>
<td id="r1_station2" class="color1" >*</td>
<td id="r1_station1" class="color1" >*</td>
</tr>
<tr id="row2">
<td id="r2_station9" class="color1">*</td>
<td id="r2_station8" class="color1">*</td>
<td id="r2_station7" class="color1">*</td>
<td id="r2_station6" class="color1">*</td>
<td id="r2_station5" class="color1">*</td>
<td id="r2_station4" class="color1">*</td>
<td id="r2_station3" class="color1">*</td>
<td id="r2_station2" class="color1">*</td>
<td id="r2_station1" class="color1">*</td>
</tr>
<tr id="row3">
<td id="r3_station9" class="color1">*</td>
<td id="r3_station8" class="color1">*</td>
<td id="r3_station7" class="color1">*</td>
<td id="r3_station6" class="color1">*</td>
<td id="r3_station5" class="color1">*</td>
<td id="r3_station4" class="color1">*</td>
<td id="r3_station3" class="color1">*</td>
<td id="r3_station2" class="color1">*</td>
<td id="r3_station1" class="color1">*</td>
</tr>
<tr id="row4">
<td id="r4_station9" class="color1">*</td>
<td id="r4_station8" class="color1">*</td>
<td id="r4_station7" class="color1">*</td>
<td id="r4_station6" class="color1">*</td>
<td id="r4_station5" class="color1">*</td>
<td id="r4_station4" class="color1">*</td>
<td id="r4_station3" class="color1">*</td>
<td id="r4_station2" class="color1">*</td>
<td id="r4_station1" class="color1">*</td>
</tr>
<tr id="row5">
<td id="r5_station9" class="color1">*</td>
<td id="r5_station8" class="color1">*</td>
<td id="r5_station7" class="color1">*</td>
<td id="r5_station6" class="color1">*</td>
<td id="r5_station5" class="color1">*</td>
<td id="r5_station4" class="color1">*</td>
<td id="r5_station3" class="color1">*</td>
<td id="r5_station2" class="color1">*</td>
<td id="r5_station1" class="color1">*</td>
</tr>
</table>
<!--Fuel Comparing table-->
<table id="fuel_table" align="center">
<tr height="50px">
<td id="clefueltable" class="loadout">Clean Load Fuel Burn</td>
<td id="clethrottle" class="loadout">Clean Load Throttle Level<BR>
<form id="clefuelform" align="top" style="margin-top: 0px">
<select id="clethrottle_se" name="clethrottleadjust" onchange="cleThrottle_select()"><!--onchange will call function-->
<option id="aacleplease" value="clepleaseselect">Please Select</option>
<option id="aacleshowall" value="cleshowall">Show all data</option>
<option id="aacle10%" value="0"> Throttle Idle</option>
<option id="aacle20%" value="1">Throttle 20%</option>
<option id="aacle30%" value="2">Throttle 30%</option>
<option id="aacle40%" value="3">Throttle 40%</option>
<option id="aacle150%" value="4">Throttle 50%</option>
<option id="aacle160%" value="5">Throttle 60%</option>
<option id="aacle170%" value="6">Throttle 70%</option>
<option id="aacle180%" value="7">Throttle 80%</option>
<option id="aacle190%" value="8">Throttle 90%</option>
<option id="aacle100%" value="9">Throttle Military</option>
</select></form></td><!--td ends-->
<td id="aa2fueltable" class="loadout" >A-A 2 Fuel Burn</td>
<td id="aa2throttle" class="loadout" >A-A 2 Throttle Level<BR>
<form id="aa2fuelform" align="top" style="margin-top: 0px">
<select id="aa2throttle_se" name="aa2throttleadjust" onchange="aa2Throttle_select()"><!--onchange will call function-->
<option id="aa2please" value="aa2pleaseselect">Please Select</option>
<option id="aa2showall" value="aa2showall">Show all data</option>
<option id="aa2_10%" value="0"> Throttle Idle</option>
<option id="aa2_20%" value="1">Throttle 20%</option>
<option id="aa2_30%" value="2">Throttle 30%</option>
<option id="aa2_40%" value="3">Throttle 40%</option>
<option id="aa2_50%" value="4">Throttle 50%</option>
<option id="aa2_60%" value="5">Throttle 60%</option>
<option id="aa2_70%" value="6">Throttle 70%</option>
<option id="aa2_80%" value="7">Throttle 80%</option>
<option id="aa2_90%" value="8">Throttle 90%</option>
<option id="aa2_100%" value="9">Throttle Military</option>
</select></form></td><!--td ends-->
</tr>
<tr>
<td id="clefuelshow" class="fueldata">clean load fuel data</td><!--this td is underneath the select drop down aaclefuel-->
<td id="clepercentshow"></td><!--show throttle percentage-->
<td id="aa2fuelshow" class="fueldata">a-a 2 fuel data</td>
<td id="aa2percentshow"></td>
</tr>
</table><br><br><!--fuel comparing table ends-->
</div><!--F16 loadout ends-->
<div><!--can also generate using script, see just for fun, this is the 3rd div, for array [2], disable script block for now--->
HANDS ON THROTTLE-AND-STICK<br>
<a href="http://cougar.flyfoxy.com/cougarpics.php" target="_blank">Thrustmaster HOTAS Cougar</a><br>
<a href="http://amzn.com/B000062SSB" target="_blank"><img width="490" height="468" src="img/Thrustmaster HOTAS Cougar.png" style="float: left"/></a>
<object ><iframe class="cubeclass" src="https://www.youtube.com/embed/g9RA6stnnH0" frameborder="0" allowfullscreen></iframe></object>
<a href="http://www.thrustmaster.com/en_UK/products/hotas-warthog-dual-throttles">Thrustmaster HOTAS Warthog</a><br>
<object ><iframe class="cubeclass" src="https://www.youtube.com/embed/IYRn7SVjNKA" frameborder="0" allowfullscreen></iframe></object>
<a href="http://amzn.com/B00371R8P4 " target="_blank"><img width="490" height="442" src="img/Thrustmaster HOTAS Warthog.png" style="float: left; opacity: 0.8"/></a>
</div>
<div>
AGM-65 MAVERICK<br/>
The AGM-65 Maverick is an air-to-ground tacital missile designed for close air support.<br>
<img class="cubeclass" src="img/AGM-65_US_Navy.jpg" style=""/>
<object ><iframe class="cubeclass" src="https://www.youtube.com/embed/oh7K7xtm0_I" frameborder="0" allowfullscreen></iframe></object>
GBU-32 JDAM<br/>
The Joint Direct Attack Munition is a guidance kit that converts unguided bombs. or "dumb bombs" into all-weather "smart munitions".
<object><iframe class="cubeclass" src="https://www.youtube.com/embed/OtZ_6XTsWBg" frameborder="0" allowfullscreen></iframe></object>
<img class="cubeclass" src="img/GBU_JDAM_US Navy.png" style=""/>
</div>
<div>
AIM-9 SIDEWINDER<br>
The AIM-9 Sidewinder is a short-range air to air missile developed by the United States Navy in the 1950s.<br>
<img class="cubeclass" src="img/AIM-9_ITA resize.png" style=""/>
<object ><iframe class="cubeclass" src="https://www.youtube.com/embed/4b-BwMi19JE" frameborder="0" allowfullscreen></iframe></object>
AIM-120 AMRAAM<br/>
Is a modern beyond-visual-range air-to-air missile capable of all-weather day-and-night operations.
<object><iframe class="cubeclass" src="https://www.youtube.com/embed/CgMMC6PxE2U" frameborder="0" allowfullscreen></iframe></object>
<img class="cubeclass" src="img/AIM-120_AMRAAM.jpg" style=""/>
</div>
<div>
<h4>F16 loadout graphic sources from Falcon 4 BMS simulation</h4>
<p><a href="http://www.weapondeliveryplanner.nl/files/wdp/Mission%20Planning%20with%20WDP.pdf" target="_blank">Here</a> is a great article about BMS Mission Planning with Weapon Delivery Planner<br>
The below clip is a tutorial about planning a Falcon 4 BMS package. See more Falcon 4 BMS tutorials from <a href="https://www.youtube.com/channel/UCrMUCXYlGQvnGXFDPLbnadQ" target="_blank">Krause</a>
</p>
<object><iframe width="999" height="900" src="https://www.youtube.com/embed/EkBAmUhHDy4?list=PL3E09AA94FF0EACEC" frameborder="0" allowfullscreen></iframe></object>
</div>
</section>
</article>
<!--cube HTML block ends-->
<!--cube script block starts-->
<script src="resources/jssheets/cubeexperiment.js" type="text/javascript"></script>
<script src="resources/jssheets/cubemaster.js" type="text/javascript"></script>
<!--cube script block ends-->
<!--keep Spike's js sheet underneath cube js sheets-->
<script src="resources/jssheets/spikesheet05202015.js"></script><!--link to spikesheet05202015.js file. do not remove -->
</div><!--Outer_wrapper entire page ends-->
</body>
<script src="resources/jssheets/spikesheet05202015.js"></script><!--link to spikesheet05202015.js file. keep this syntax underneath justGauge's js links -->
<h2><a href="http://www.paulrhayes.com/2009-07/animated-css3-cube-interface-using-3d-transforms/" target="_blank">Learn how to make a cube</a></h2>
<p style="color: white">By Paul Hayes</p>
<p style="color: white">“A 3D cube can be created solely in CSS, with all six faces.”</p>
<p>Article: <a href="http://www.paulrhayes.com/2009-07/animated-css3-cube-interface-using-3d-transforms/" target="_blank">Cube explanation</a></p>
</html>
|
Skoshi/Aviation-site_new_
|
Hangar.html
|
HTML
|
mit
| 18,137
|
import { Component, Inject, OnInit } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { AuthService } from './auth.service';
import { IToastr, TOASTR_TOKEN } from '../common/toastr.service';
@Component({
templateUrl: 'app/user/profile.component.html',
styles: [
`
em {float:right;color:#e05c65;padding-left:10px;}
.error input{background-color:#e3c3c5;}
.error ::-webkit-input-placeholder {color:#999;}
.error ::-moz-placeholder {color:#999;}
.error :-ms-input-placeholder {color:#999;}
`,
],
})
export class ProfileComponent implements OnInit {
profileForm: FormGroup;
private firstName: FormControl;
private lastName: FormControl;
constructor(
private authService: AuthService,
private router: Router,
@Inject(TOASTR_TOKEN) private toastr: IToastr) { }
ngOnInit() {
this.firstName = new FormControl(
this.authService.currentUser.firstName, [Validators.required, Validators.pattern('[a-zA-Z].*')]);
this.lastName = new FormControl(this.authService.currentUser.lastName, Validators.required);
this.profileForm = new FormGroup({
firstName: this.firstName,
lastName: this.lastName,
});
}
cancel() {
this.router.navigate(['events'])
}
saveProfile(formValues) {
if (this.profileForm.valid) {
this.authService.updateCurrentUser(formValues.firstName, formValues.lastName)
.subscribe(() => {
this.toastr.success('Profile saved successfully!');
});
// this.router.navigate(['events'])
}
}
validateFirstName() {
return this.firstName.valid || this.firstName.untouched;
}
validateLastName() {
return this.lastName.valid || this.lastName.untouched;
}
logout(){
this.authService.logout().subscribe(()=> {
this.router.navigate(['/user/login']);
});
}
}
|
AdamNagy/FrontendTryouts
|
Angular/EventManager/app/user/profile.component.ts
|
TypeScript
|
mit
| 1,870
|
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
/* Body style, for the entire document */
body {
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1 {
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2 {
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3 {
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
h4 {
font-weight: normal;
font-size: 12pt;
margin: 0;
padding: 0 0 0 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a {
color: #1382CE;
}
/* Paragraph text (for longer informational messages) */
p {
font-size: 10pt;
}
/* Table styles */
table {
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th {
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td {
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
.NoBreakingChanges {
color: darkgreen;
font-weight:bold;
}
.FewBreakingChanges {
color: orange;
font-weight:bold;
}
.ManyBreakingChanges {
color: red;
font-weight:bold;
}
.BreakDetails {
margin-left: 30px;
}
.CompatMessage {
font-style: italic;
font-size: 10pt;
}
.GoodMessage {
color: darkgreen;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink {
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover {
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered {
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell {
width: 100%;
}
/* Padding around the content after the h1 */
#content {
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table {
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table {
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded {
min-width: 18px;
min-height: 18px;
background-repeat: no-repeat;
background-position: center;
}
/* Success icon encoded */
.IconSuccessEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+eMgQ77v3Xf3Pe51YKGqqisAEwCR1TIAsiAIblSo6xrdHeJR85Xle3mdmCQKb0PsfqyxxzM8K15HZADl/H5+sHpZwYfxyRjTs+kWwKBx8yoHd2mRiuzF8mkJniWH/13u3Fjrs/EdhsdDFHGB/DLXEJBDLh1MWPAhPo1BLB4WX5yQywHR+m3tVe/t97D52CB/ziG0nIgD/qDuYg8WuCcVZ2YGwlJ3YDugkpR/VNcAEx6GEKhERSr71FuO4YCM4XBdwKvecjIlkSnsO0Hyp/GxSeJAdzBKzpOtnPwyyiPdAZhpZptT04tU+zk7s8czeges//s5C5+CwqrR4/gw+AAAAABJRU5ErkJggg==);
}
/* Information icon encoded */
.IconInfoEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style>
</head>
<body>
<h1 _locid="PortabilityReport">.NET Portability Report</h1>
<div id="content">
<div id="submissionId" style="font-size:8pt;">
<p>
<i>
Submission Id
06265778-1f77-4d52-b41c-99883ac16beb
</i>
</p>
</div>
<h2 _locid="SummaryTitle">
<a name="Portability Summary"></a>Portability Summary
</h2>
<div id="summary">
<table>
<tbody>
<tr>
<th>Assembly</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
</tr>
<tr>
<td><strong><a href="#FM.WebSync.Chat">FM.WebSync.Chat</a></strong></td>
<td class="text-center">97.72 %</td>
<td class="text-center">97.72 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">97.72 %</td>
</tr>
</tbody>
</table>
</div>
<div id="details">
<a name="FM.WebSync.Chat"><h3>FM.WebSync.Chat</h3></a>
<table>
<tbody>
<tr>
<th>Target type</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
<th>Recommended changes</th>
</tr>
<tr>
<td>System.Security.Permissions.SecurityAction</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Security.Permissions.SecurityPermissionAttribute</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.Security.Permissions.SecurityAction)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Security.UnverifiableCodeAttribute</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p>
<a href="#Portability Summary">Back to Summary</a>
</p>
</div>
</div>
</body>
</html>
|
kuhlenh/port-to-core
|
Reports/fm/fm.websync.chat.ondemand.4.6.3/FM.WebSync.Chat-wp7.html
|
HTML
|
mit
| 13,777
|