Classes | |
| class | CommandLoadTranslation |
| This class represents a command that loads a translation. More... | |
| class | CommandPerformSearch |
| This class represents a command that searches the translations for a given string. More... | |
| class | ICommand |
| This class represents a generic command interface. More... | |
| class | ISearchResults |
| This class represents an interface for accumulating translation search results. More... | |
| class | SearchResultsSerial |
| This class implements the ISearchResults interface using a serial linear search. More... | |
| class | SearchStringParser |
| class | Translation |
| This class represents a specific translation of the Bible. More... | |
| struct | StaticDescriptorInitializer_TranslationBuffer_2eproto |
| class | VerseBuffer |
| class | TranslationBuffer |
| class | TranslationIterator |
| This class represents an iterator which is used to iterate the translations in the translation manager. More... | |
| class | TranslationLoader |
| This class represents the factory used to create Translation objects. More... | |
| class | TranslationManager |
| This class represents a collection of read-only translations. More... | |
| class | TranslationNotFound |
| This class represents an exception that is thrown when a Translation object of the given name is not found in the TranslationManager. More... | |
| class | Verse |
| This class represents a single verse in a Translation object. More... | |
| class | VerseDisplay |
| This class respresents the information necessary to display a given verse. This include the verse ID, the number of context verses, and Translation object. More... | |
| class | VerseTreeItem |
| This class is used to represent a verse and its relationship to other verses in a Translation object that allow it to be displayed in a tree view. More... | |
Enumerations | |
| enum | SearchOption { CaseSensitive = 0, CaseInsensitive = 1, MatchWholeWord = 2 } |
This enum represents the options available for a search of the Translation. It is used as a bit field. More... | |
Functions | |
| std::string | verse_collection_to_title_and_string_wrapped (const std::vector< boost::shared_ptr< const Verse > > &verse_collection, boost::shared_ptr< const Translation > translation) |
| Get the text representation and title of a collection of verses. | |
| std::string | verse_collection_to_string (const std::vector< boost::shared_ptr< const Verse > > &verse_collection) |
| Get the text representation of a collection of verses. | |
| std::string | verse_collection_title (const std::vector< boost::shared_ptr< const Verse > > &verse_collection, boost::shared_ptr< const Translation > translation) |
| Get the title of a collection of verses. | |
| void | protobuf_AssignDesc_TranslationBuffer_2eproto () |
| void | protobuf_ShutdownFile_TranslationBuffer_2eproto () |
| void | protobuf_AddDesc_TranslationBuffer_2eproto () |
| bool | case_insensitive_character_comparison (char character1, char character2) |
Variables | |
| struct BibleDatabase::StaticDescriptorInitializer_TranslationBuffer_2eproto | static_descriptor_initializer_TranslationBuffer_2eproto_ |
This enum represents the options available for a search of the Translation. It is used as a bit field.
Definition at line 19 of file Translation.h.
00020 { 00021 CaseSensitive = 0, 00022 CaseInsensitive = 1, 00023 MatchWholeWord = 2 00024 };
| bool BibleDatabase::case_insensitive_character_comparison | ( | char | character1, | |
| char | character2 | |||
| ) |
| void BibleDatabase::protobuf_AddDesc_TranslationBuffer_2eproto | ( | ) |
| void BibleDatabase::protobuf_AssignDesc_TranslationBuffer_2eproto | ( | ) |
| void BibleDatabase::protobuf_ShutdownFile_TranslationBuffer_2eproto | ( | ) |
| BIBLE_DATABASE_EXPORT std::string BibleDatabase::verse_collection_title | ( | const std::vector< boost::shared_ptr< const Verse > > & | verse_collection, | |
| boost::shared_ptr< const Translation > | translation | |||
| ) |
Get the title of a collection of verses.
| BIBLE_DATABASE_EXPORT std::string BibleDatabase::verse_collection_to_string | ( | const std::vector< boost::shared_ptr< const Verse > > & | verse_collection | ) |
Get the text representation of a collection of verses.
| BIBLE_DATABASE_EXPORT std::string BibleDatabase::verse_collection_to_title_and_string_wrapped | ( | const std::vector< boost::shared_ptr< const Verse > > & | verse_collection, | |
| boost::shared_ptr< const Translation > | translation | |||
| ) |
Get the text representation and title of a collection of verses.


The "PUB" is a graphical UML Editor that allows the user to create, edit, and save UML diagrams in multiple formats for use in the software development lifecycle. It was developed as a class project for CSCI 420: Software Engineering taught by Dr. David Hutchens at Millersville University in Spring 2015.
Project Website: https://github.com/MillersvilleCS/pumlbuilder
The MIT License (MIT)
Copyright (c) 2015 Millersville University Computer Science
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.
 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.


Archive can be created in several ways
1. From file system, select necessary files and directories
in file list, press button Archive in toolbar, menu or press key F5.
2. From file system or inside archive, drag files from explorer into program window.
3. Paste files from clipboard (Ctrl + V).
Then screen will show a window with compression settings.
If archive exists, it will be opened for appending files.
Update compressed archive can be very long.
First need to unpack all files, and then archiving.
There are several ways to extract files from the archive
1. From file system, select necessary archives
in file list, press button Unarchive in toolbar, menu or press key F6.
2. Inside archive select necessary files and directories in file list to unpack, press button Unarchive.
3. Copy files to clipboard (Ctrl + C). Then paste to explorer (Ctrl + V).
Then screen will show a window with uncompression settings (method 1 and 2).
Before copying files to clipboard, they will be unpacked to temp directory.
If data has been encrypted with a password, corresponding window will be displayed before unpacking.
Archive testing is intended to verify data integrity.
Test archives can also be from the file system.
Press button Test in toolbar, menu or press key F7.
From file system displays information about files, directories and archives.
Inside archive displays information about current opened archive.
Press button Information in toolbar, menu or press key F8.
Then screen will show a window with information.
Files and directories can be deleted both from file system and from archive.
Press button Delete in toolbar, menu or press key delete on keyboard.
Deleting files from a compressed archive can be very long.
First need to unpack all files, and then archiving.
You can rename files and directories from file system as well as from archive.
Press button Rename in menu or press key F2 on keyboard.


Trial One:
Prep. - 3grams, boiled in vodka for a few minutes. More vodka added and boiled a second time. Filtered and drank.
T 0:30 - Mild, pleasant affect. Warmth and relaxation. Began drinking alcohol and effects subsided quickly.
Trial Two:
Prep. - 6 grams, boiled in 2 cups water for 10 minutes. Another 1 cup water added, boiled for 15 minutes. Drank
T 0:30 - Dazed, sounds and lights seem brighter, intrusive.
T 0:45 - Waves of nausea, legs feeling week, body feels hot, deep waves of pleasure
T 0:1:00 - Difficulty walking and sitting straight. Eyes can barely stay open. Strong nausea. Body feels numb. Difficulty speaking. All I want is a large, comfortable couch, dark lighting and quiet. The world seems cruelly unappreciative of my state.
T 0:1:30 - No longer able to stay out in the social scene, retire to my home and lay on the couch. Eyes closed. Waves of pleasure.
T 0:3:00 - Nausea until I vomit. Slight headache.
Conclusions: Tea extraction is most effective. Doseage of 3-5grams is best. Setting should be one of sedentary comfort. Will try again at a lower dose. Maybe a tea party with one or two close friends.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Thank you for participating in our market research study. From each collection of 3 products, please choose the one you would be most likely to purchase. After 25 trials you will have the option of completing 10 more trials or viewing the results.
10 More Trials
Show Results


uselect
– wait for events on a set of streams¶
|see_cpython_module| python:select
.
This module provides functions to efficiently wait for events on multiple streams <stream> (select streams which are ready for operations).
Functions¶
-
uselect.
poll
()¶ Create an instance of the Poll class.
-
uselect.
select
(rlist, wlist, xlist[, timeout])¶ Wait for activity on a set of objects.
This function is provided by some MicroPython ports for compatibility and is not efficient. Usage of
Poll
is recommended instead.
class Poll
¶
Methods¶
-
poll.
register
(obj[, eventmask])¶ Register stream obj for polling. eventmask is logical OR of:
uselect.POLLIN
- data available for readinguselect.POLLOUT
- more data can be written
Note that flags like
uselect.POLLHUP
anduselect.POLLERR
are not valid as input eventmask (these are unsolicited events which will be returned from poll() regardless of whether they are asked for). This semantics is per POSIX.eventmask defaults to
uselect.POLLIN | uselect.POLLOUT
.It is OK to call this function multiple times for the same obj. Successive calls will update obj’s eventmask to the value of eventmask (i.e. will behave as modify()).
-
poll.
unregister
(obj)¶ Unregister obj from polling.
-
poll.
modify
(obj, eventmask)¶ Modify the eventmask for obj. If obj is not registered, OSError is raised with error of ENOENT.
-
poll.
poll
(timeout=-1, /)¶ Wait for at least one of the registered objects to become ready or have an exceptional condition, with optional timeout in milliseconds (if timeout arg is not specified or -1, there is no timeout).
Returns list of (
obj
,event
, …) tuples. There may be other elements in tuple, depending on a platform and version, so don’t assume that its size is 2. Theevent
element specifies which events happened with a stream and is a combination ofuselect.POLL*
constants described above. Note that flagsuselect.POLLHUP
anduselect.POLLERR
can be returned at any time (even if were not asked for), and must be acted on accordingly (the corresponding stream unregistered from poll and likely closed), because otherwise all further invocations of poll() may return immediately with these flags set for this stream again.In case of timeout, an empty list is returned.
Difference to CPython
Tuples returned may contain more than 2 elements as described above.
-
poll.
ipoll
(timeout=-1, flags=0, /)¶ Like
poll.poll()
, but instead returns an iterator which yields a callee-owned tuple. This function provides an efficient, allocation-free way to poll on streams.If flags is 1, one-shot behavior for events is employed: streams for which events happened will have their event masks automatically reset (equivalent to
poll.modify(obj, 0)
), so new events for such a stream won’t be processed until new mask is set with poll.modify(). This behavior is useful for asynchronous I/O schedulers.Difference to CPython
This function is a MicroPython extension.


Little Scholar's Nest Preschool follows the San Ramon Unified School District official calendar for all holiday closures and breaks. The following Google Calendar includes our official holidays as well as our weekly preschool events. If you are a Little Scholar parent and you would like to link this calendar your smart device, contact us and we will send you the share link! Additionally, our official list of closures are listed towards the bottom of the page.
Here is an overview of the holidays included in each month. The dates are subject to change each year and can be seen on our calendar (above).
January
Winter Break (as per SRUVSD) and Martin King Luther DayFebruary
President's Day
March
None
April
Easter Holiday and Spring Break (as per SRVUSD)
May
Memorial Day
June
None
July
Independence Day and Summer Break
August
None
September
Labor Day
October
None
November
Veterans Day and Thanksgiving Break (as per SRVUSD)
December
Winter Break (as per SRVUSD)


Ready to get your phone fixed? Email us or message us on any of our social media platforms!
613iphonerepair
{{ site.email }}


Toggles
Section 1 (open by default)
Blah blah blah.
Section 2 (open with aria-expanded=true)
Blah blah blah.
Section 3 (closed with aria-expanded=false)
Blah blah blah.
Section 4 (closed with content aria-hidden=true)
Blah blah blah.
Section 5 (open with content aria-hidden=false)
Blah blah blah.
Section 6 (prevents close)
Blah blah blah.
Section 7 (prevents open)
Blah blah blah.
Section 8 (toggle via setAttribute())
close
or
open
this section
Blah blah blah.
Section 9 (toggle via methods)
close
or
open
this section
Blah blah blah.
Section 10 (disabled)
Blah blah blah.

Exclusive Section 2
Blah blah blah.
Exclusive Section 3
Blah blah blah.


| Attack Type | Description |
|---|---|
| Denial-Of-Service(DOS) Attack |
It is a cyber-attack in which the perpetrator seeks to make a machine or network resource unavailable to its intended users by temporarily or indefinitely disrupting services of a host connected to the Internet. |
| User to Root (U2R) Attack |
Initially, attackers access normal user account, later gain access to the root by exploiting the vulnerabilities of the system. |
| Probe Attack | Have an access to entire network information before introducing an attack. |
| Root to Local (R2L) Attack |
By exploiting some of the vulnerabilities of the network, attacker gains local access by sending packets on a remote machine. |


'Apt Pupil' (1998)
A movie review by Walter Frith
Member of the 'Internet Movie Critics Association' http://www.geocities.com/Hollywood/Studio/5713/index.html
and
Member of the 'Online Film Critics Society' http://ofcs.org/ofcs/
It took me a little while to figure out why I didn't like 'Apt Pupil'. At first, I was intrigued by its thoroughly original premise. A high school student (Brad Renfro) digs up some information about one of his elderly neighbors (Ian McKellen). He comes up with information that proves beyond a shadow of a doubt that the old man is a Nazi war criminal who escaped punishment after World War II and now lives in America. Renfro uses the information in his possession to essentially blackmail his latest study. Study, you ask? Yes. Renfro's plan is to have the old man tell him stories about the Holocaust, perhaps things that aren't in any of the history books that the Nazi himself remembers.
The tables are turned on Renfro in a way that will land him in a lot of trouble if the authorities find out he knew about the old Nazi and didn't report it. There are some other plot twists that occur in the film that are clever but they're only executed with about half the strength they're capable of.
The film is directed by Bryan Singer ('The Usual Suspects') and Singer has made a reasonably well crafted film that could have used a little more thought in its writing (the screenplay is by Brandon Boyce based on the novella by Stephen King) that it unfortunately relies too much in some spots on the "schlock" value which is contained in many of Stephen King's stories that are turned into films. These elements of the film undermine and undercut the value of the film's principal psychological subject matter which are memories of the Holocaust. The film, unintentionally I'm sure but nevertheless cheapens the memory of this historic injustice One scene has McKellen cradling a cat from his backyard and bringing in to the house and trying to throw it into his gas powered oven and another scene involves McKellen's torture and murder of a derelict male prostitute (Elias Koteas) to an extent where he involves Renfro in the crime. I still couldn't figure out what the point of these two things were, significant to the film except to illustrate that McKellen is shown to be an unrepentant Nazi, past redemption and not seeming to care about it.
What's also upsetting is the way the adult characters are portrayed in this film. Renfro's father (Bruce Davison) is made to look like an uninformed stooge, unaware of his son's activities which I suppose no one can really blame him for but the situation is still annoying to watch at times and Renfro's high school guidance counselor (David Schwimmer) is portrayed basically as a jack ass whose job it is to socially guide the students under him and he has the table turned on him by a high school kid to the extent where he will be in serious hot water legally.
I saw so many directions this film could have gone in and while I don't usually judge films for what they COULD have been rather than what they are, the paths of choice about the way the subject matter is handled in every aspect from start to finish are so obviously the wrong ones that in some respects, a first year film student could have diagnosed a better treatment.
The film's saving grace from getting a thoroughly negative review is the totally convincing and chilling performance by Ian McKellen. His performance as a former Nazi living with a soul that is no doubt damned for eternity is so chilling because his character is one who would live his life over again exactly the same way if given the chance without any remorse for what he's done. McKellen could get an Oscar nomination for this role but it may be a long shot.
'Apt Pupil' is not a disappointing film to a large extent but it is a disappointing after thought when you consider what might have been. Another missed opportunity on celluloid to push a film's subject matter to memorable proportions.
OUT OF 5 > * * 1/2
Visit FILM FOLLOW-UP by Walter Frith http://www.cgocable.net/~wfrith/movies.htm
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Email: Phone:
Coding Running Eating Sleeping Reading Coding
Heard about us via * Choose.. Press Internet Word of mouth Other..
Message (20 chars min, 100 max) :


- Click on Generate button to generate sample report,
to see the result on current page you have to click on Show on Current page button.
- Use show data in new page button to see the result of report in new web page.
- Use clear button to clean the current page report.
Generate
Show on current page
Clear
Show data in new page


THE OBJECT OF MY AFFECTION Reviewed by Jamie Peck
Aniston plays Nina Borowski, a New York social worker who strikes up an immediate friendship with gay schoolteacher George Hanson (Paul Rudd) when they meet at a dinner party one night. During the course of the evening, George's self-centered college professor lover (Tim Daly) dumps him for a student, so Nina offers the spare bedroom in her Brooklyn apartment to George. He graciously accepts, and the living situation seems ideal; even Nina's lawyer boyfriend Vince ("Mad About You"'s John Pankow) takes a liking to George. But before long, Nina unexpectedly finds herself amorously attracted to her roommate, and makes a surprise decision that puts a kink in her dilapidating relationship with Vince.
A large part of "Object"'s success is due to the performances of and chemistry between Jennifer Aniston and Paul Rudd. Because there's quite a bit of emotional weight in the story, Aniston's required to show range, and that she does; those who think of her only as her indecisive "Friends" alter-ego might be surprised. Rudd ("Clueless") exudes bonafide charm -- he plays George as a three-dimensional person, not a two-dimensional stereotype. Director Nicholas Hytner, best known for "The Madness of King George" and "The Crucible," also deserves some of the credit. His genuine knack for depicting character dynamics -- watch "The Crucible"'s Daniel Day-Lewis and Joan Allen and take notes -- certainly doesn't hinder either actor, letting "The Object of My Affection" come off with a central relationship that's downright electric.
Despite these strengths, the story sometimes becomes a little hard to swallow in its dealings with vaguely-rendered Vince. Though ably performed by Pankow, Vince never quite turns into the superficial jerk that he at first seems to be, but, since he is a major participant in the film's conflict-heavy plot, matters would have improved if we were allowed to get to know him a little better; I questioned a few of his actions and reactions because I wasn't quite sure what was going on in his head. Some could also dismiss "The Object of My Affection" as too pat and sunny, but I think it's less that than the movie never loses sight -- even in its heavier moments -- of its upbeat cheerfulness. Pat, perhaps, but it's not contrived or manipulative like most romantic comedies.
A happy ending (but not the one you might expect) allows a few reassuring answers to those tough questions posed by the movie, thus capping off its satisfying meditation on the obstacles -- be they sexual orientation, heartfelt emotion or whatever -- that can affect platonic companionship for better or worse. And to further illustrate the importance of having friends, the filmmakers have gone one step further than just hiring one; they've widened their playing field to incorporate several priceless supporting roles, the apex of which is a sad theatre critic (Nigel Hawthorne, whom Hytner directed in "King George") who acts as a world-weary foil for Nina. Due in part to this nifty, character-emphasized focus, "Object" is more than worthy of its audience's affection.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Helper class for passing parameters to, and executing, prepared statements.
More...
#include <prepared_statement.hxx>
Detailed Description
Helper class for passing parameters to, and executing, prepared statements.
Constructor & Destructor Documentation
| pqxx::prepare::invocation::invocation |
( |
transaction_base & |
home, |
|
|
const std::string & |
statement |
|
) |
| |
Member Function Documentation
| bool pqxx::prepare::invocation::exists |
( |
| ) |
const |
Has a statement of this name been defined?
| invocation& pqxx::prepare::invocation::operator() |
( |
| ) |
|
template<typename T >
| invocation& pqxx::prepare::invocation::operator() |
( |
const T & |
v | ) |
|
Pass parameter value.
- Parameters
-
| v | parameter value; will be represented as a string internally. |
Pass binary parameter value for a BYTEA field.
- Parameters
-
| v | binary string; will be passed on directly in binary form. |
template<typename T >
| invocation& pqxx::prepare::invocation::operator() |
( |
const T & |
v, |
|
|
bool |
nonnull |
|
) |
| |
Pass parameter value.
- Parameters
-
| v | parameter value (will be represented as a string internally). |
| nonnull | replaces value with null if set to false. |
Pass binary parameter value for a BYTEA field.
- Parameters
-
| v | binary string; will be passed on directly in binary form. |
| nonnull | determines whether to pass a real value, or NULL. |
template<typename T >
| invocation& pqxx::prepare::invocation::operator() |
( |
T * |
v, |
|
|
bool |
nonnull = true |
|
) |
| |
Pass C-style parameter string, or null if pointer is null.
This version is for passing C-style strings; it's a template, so any pointer type that to_string
accepts will do.
- Warning
- Be very careful with the special constant
NULL!
Since NULL
in C++ is an int
, not a pointer, a value of NULL
would cause the wrong version of this template to be invoked. To all intents and purposes it would look like you were trying to pass a regular zero as an integer value, instead of a null string. This is not a problem with pointer variables that may happen to be NULL
, since in that case the value's type is not subject to any confusion. So if you know at compile time that you want to pass a null value, use the zero-argument version of this operator; if you don't want to do that, at least add a second argument of false
to make clear that you want a null, not a zero.
- Parameters
-
| v | parameter value (will be represented as a C++ string internally) |
| nonnull | replaces value with null if set to false |
| invocation& pqxx::prepare::invocation::operator() |
( |
const char * |
v, |
|
|
bool |
nonnull = true |
|
) |
| |
Pass C-style string parameter, or null if pointer is null.
This duplicates the pointer-to-template-argument-type version of the operator, but helps compilers with less advanced template implementations disambiguate calls where C-style strings are passed.
The documentation for this class was generated from the following files:


RxPlayer Architecture documentation
Overview
The files in this directory and subdirectories establish a documentation about the RxPlayer’s architecture.
They are here to help you understand the way the player works, by describing the different bricks and algorithms that come into play.
Note: As some terms used here might be too foreign or slightly different than the one you’re used to, we also wrote a list of terms and definitions used by the RxPlayer here.
Organization of the documentation
The RxPlayer is heavily modularized.
This helps us maintaining the code and providing evolutions more quickly, as the various modules use few well-defined interfaces with the rest of the code. As such, the impact an evolution on a particular module has on the rest of the code is controlled and limited to these interfaces.
Like the code, the documentation is also divided in multiple parts, which link one by one to a module in the code.
Such modules are (with link to their respective documentation, if one):
-
the API
Defines the public API of the RxPlayer and provides abstractions to help implementing it.
-
the Stream
starts playing a content and connects the different modules between one another to allow continuous playback.
Various files documenting the Stream architecture should be available in the
doc/architecture/stream
directory. -
the EMEManager
Allows to handle contents with DRM (Digital Right Management).
-
the ABRManager
Helps to choose the best quality in the current content by analyzing the current network, user settings and viewing conditions.
-
the Buffer
Choose which segments to download and push them to the corresponding SourceBuffer.
Various files documenting the Stream architecture should be available in the
doc/architecture/buffer
directory. -
the Source Buffers
Provides abstractions on top of the SourceBuffers, which are used to push media segments. These files help to handle “native” SourceBuffers already defined by the browser (for audio and video segments), but also define custom ones for media managed entirely by the RxPlayer (example: subtitles and thumbnails).
-
the Networking code
Perform manifest/segment requests, and parse them. “net” in essence abstracts the transport protocol used (example: HSS/DASH) to provide an unified definition of a segment or manifest to the other modules. In theory, it should be the only directory to update when adding / modifying / deleting a transport protocol
Various files documenting the Net architecture should be available in the
doc/architecture/net
directory. -
the Pipelines
Link the Net module with the rest of the code, to download segments, download/refresh the manifest and collect data (such as the user’s bandwidth) for the other modules.
Various files documenting the Stream architecture should be available in the
doc/architecture/pipelines
directory.
The RxPlayer also has multiple isolated helpers (for manifest management, segment parsing, browser compatibility) which are used by these different modules.
A documentation about the file organization of the project is also available here.


Boxes are vital components in any workspace because of their flexibility. Boxes promote corporate workflow because of their organizational capabilities, employee happiness because of a clean workspace, and overall happiness because of easy item accessibility.
Boxes have been used certainly at least since the inception of office workspace, although this company cannot confirm any further back than that. However, office workspace tradition is to have boxes. We suggest that not only should your company have boxes, but it should have superior boxes. Our boxes.


jQuery plugin to handle most common events associated with the form 'select' tag.
Make ajax call and redirect call-redirect
Make ajax call and reload the page call-reload
Make ajax call and replace content call-replace
First
Second
Make ajax call and replace elements call-replace-with
First
Second
Make ajax call and perform action returned with the response call-action
First
Second
Third
Fourth
Navigate to go-to
Show selected and hide others show-hide
First
Second
Third


HEAD
3555 Farnam Street Suite 1440
Omaha, NE 68131
Official Home Page
FOR A FREE CAR INSURANCE RATE QUOTE THAT COULD SAVE YOU SUBSTANSIAL MONEY WWW.GIECO.COM OR CALL<PHONE_NUMBER>, 24 HOURS A DAY
IF you have any comments about our WEB page, you can either write us at the address shown aboce due to the limited number of personnel in our coporate office, we are unable to provide a direct response.
Legal DisclaimerCopyright © 1978-2014 Berkshire Hathaway INC.
FOR A FREE CAR INSURANCE RATE QUOTE THAT COULD SAVE YOU SUBSTANTIAL MONEY
WWW.GEICO.COM OR CALL 1-888-395-6349, 24 HOURS A DAY
If you have any comments about our WEB page, you can either write us at the address shown above or e-mail us at<EMAIL_ADDRESS>However, due to the limited number of personnel in our corporate office, we are unable to provide a direct response.


The single-direction margin declarations have been changed to the bottom. All text elements use margin-bottom (24px desktop, 16px mobile).
Top padding is added to headings after paragraphs.
H2 using no class
H3 using no class
H4 using no class
H5 using no class
H6 using no class
H2 using override nhsuk-u-margin-top-9
This is a paragraph using no class. Nam quis posuere nisl, this is what a link looks like eget vulputate eros. Duis non mollis mi. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
- Unordered list item using no class
- Unordered list item using no class
- Ordered list item using no class
- Ordered list item using no class
H2 using no class
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
H3 using no class
This is a paragraph using override nhsuk-u-margin-bottom-7. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
H2 using no class
H3 using no class
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Address styling
7 Test Road
Village
LS16 2JE
H1 using nhsuk-heading-l
H2 using nhsuk-heading-xl
H3 using nhsuk-heading-l
H4 using nhsuk-heading-m
H5 using nhsuk-heading-s
H6 using nhsuk-heading-xs
P using nhsuk-body-l
P using nhsuk-body
P using nhsuk-body-s
Page heading
Page heading
Page heading
Page heading
Page heading
Page heading
Page heading
Page heading
Page heading
Span using nhsuk-heading-l Span using nhsuk-heading-m Span using nhsuk-heading-s Span using nhsuk-heading-xs Span using nhsuk-heading-xxs Span using nhsuk-body-l Span using nhsuk-body Span using nhsuk-body-s
Typography with components
This is a paragraph using nhsuk-u-font-weight-bold. Nam quis posuere nisl, eget vulputate eros. Duis non mollis mi. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
List (Unordered list)
List (Ordered list)
Bulleted list
- Unordered list item using no class
- Unordered list item using no class
Numbered list
- Ordered list item using no class
- Ordered list item using no class
Typography with images
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
H3 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
If you drive you must tell the DVLA about your vertigo. Visit the GOV.UK website for more information on driving with vertigo
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Non-urgent advice: Speak to a GP if:
- you're not sure it's chickenpox
- the skin around the blisters is red, hot or painful (signs of infection)
- your child is dehydrated
- you're concerned about your child or they get worse
Tell the receptionist you think it's chickenpox before going in. They may recommend a special appointment time if other patients are at risk.
If you drive you must tell the DVLA about your vertigo. Visit the GOV.UK website for more information on driving with vertigo
H2 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Non-urgent advice: Speak to a GP if:
- you're not sure it's chickenpox
- the skin around the blisters is red, hot or painful (signs of infection)
- your child is dehydrated
- you're concerned about your child or they get worse
Tell the receptionist you think it's chickenpox before going in. They may recommend a special appointment time if other patients are at risk.
Urgent advice: Ask for an urgent GP appointment if:
- you're an adult and have chickenpox
- you're pregnant and haven't had chickenpox before and you've been near someone with it
- you have a weakened immune system and you've been near someone with chickenpox
- you think your newborn baby has chickenpox
Non-urgent advice: Call 999 if you have sudden chest pain that:
- spreads to your arms, back, neck or jaw
- makes your chest feel tight or heavy
- also started with shortness of breath, sweating and feeling or being sick
You could be having a heart attack. Call 999 immediately as you need immediate treatment in hospital.
H2 heading
Non-urgent advice: Speak to a GP if:
- you're not sure it's chickenpox
- the skin around the blisters is red, hot or painful (signs of infection)
- your child is dehydrated
- you're concerned about your child or they get worse
Tell the receptionist you think it's chickenpox before going in. They may recommend a special appointment time if other patients are at risk.
Non-urgent advice: Speak to a GP if:
- you're not sure it's chickenpox
- the skin around the blisters is red, hot or painful (signs of infection)
- your child is dehydrated
- you're concerned about your child or they get worse
Tell the receptionist you think it's chickenpox before going in. They may recommend a special appointment time if other patients are at risk.
H3 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Do
- cover blisters that are likely to burst with a soft plaster or dressing
- wash your hands before touching a burst blister
- allow the fluid in a burst blister to drain before covering it with a plaster or dressing
Don't
- do not burst a blister yourself
- do not peel the skin off a burst blister
- do not pick at the edges of the remaining skin
- do not wear the shoes or use the equipment that caused your blister until it heals
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
H2 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Where can I find my NHS number?
An NHS number is a 10 digit number, like<PHONE_NUMBER>.
You can find your NHS number on any document sent to you by the NHS. This may include:
- prescriptions
- test results
- hospital referral letters
- appointment letters
- your NHS medical card
Ask your GP practice for help if you can't find your NHS number.
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
H2 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Important:
If you develop symptoms of anaphylaxis, such as difficulty breathing, you should inject yourself in the outer thigh before seeking emergency medical help.
H2 heading
Important:
If you develop symptoms of anaphylaxis, such as difficulty breathing, you should inject yourself in the outer thigh before seeking emergency medical help.
H2 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Skin symptoms and possible causes
| Skin symptoms | Possible cause |
|---|---|
| Blisters on lips or around the mouth | cold sores |
| Itchy, dry, cracked, sore | eczema |
| Itchy blisters | shingles, chickenpox |
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
H2 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
- Unordered list item using no class
- Unordered list item using no class
Content with images
H3 heading
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
This is a paragraph using no class. Aliquam pulvinar posuere elementum. Fusce tincidunt interdum mauris non pretium.
Section spacing
nhsuk-section-break nhsuk-section-break--xl nhsuk-section-break--visible
nhsuk-section-break nhsuk-section-break--l nhsuk-section-break--visible
nhsuk-section-break nhsuk-section-break--m nhsuk-section-break--visible
nhsuk-section-break nhsuk-section-break--visible


Development¶
This section only needs to be read by developers of the ibm.zhmc Ansible Galaxy collection project. People that want to make a fix or develop some extension, and people that want to test the project are also considered developers for the purpose of this section.
Repository¶
The repository for the ibm.zhmc Ansible Galaxy collection project is on GitHub:
Setting up the development environment¶
The development environment is pretty easy to set up.
Besides having a supported operating system with a supported Python version (see Supported environments), it is recommended that you set up a virtual Python environment.
Then, with a virtual Python environment active, clone the Git repo of this
project and prepare the development environment with make develop
:
$ git clone git@github.com:zhmcclient/zhmc-ansible-modules.git
$ cd zhmc-ansible-modules
$ make develop
This will install all prerequisites the project needs for its development.
Generally, this project uses Make to do things in the currently active
Python environment. The command make help
(or just make
) displays a
list of valid Make targets and a short description of what each target does.
Building the documentation¶
The documentation for the ibm.zhmc Ansible Galaxy collection is published on GitHub pages at https://zhmcclient.github.io/zhmc-ansible-modules/.
That page represents the master
branch of the Git repo for this collection
and automatically gets updated whenever the master
branch of the Git repo
changes.
In order to build the documentation locally from the Git work directory, issue:
$ make docs
The top-level document to open with a web browser will be docs/index.html
.
Testing¶
Again, an invocation of Make runs against the currently active Python environment.
There are four kinds of tests currently, available as make targets:
make linkcheck
- Check links in documentationmake test
- Run unit and function tests with test coveragemake sanity
- Run Ansible sanity tests (includes flake8, pylint, validate-modules)make end2end
- Run end2end tests (against a real environment)
For the unit and function tests, the testcases and options for pytest
can be specified via the environment variable TESTOPTS
, as shown in these
examples:
$ make test # Run all unit and function tests
$ TESTOPTS='-vv' make test # Specify -vv verbosity for pytest
$ TESTOPTS='-k test_partition.py' make test # Run only this test source file
Releasing a version¶
This section shows the steps for releasing a version to Ansible Galaxy.
It covers all variants of versions that can be released:
Releasing the master branch as a new major or minor version (M+1.0.0 or M.N+1.0)
Releasing a stable branch as a new update version (M.N.U+1)
This description assumes that you are authorized to push to the upstream repo
at https://github.com/zhmcclient/zhmc-ansible-modules and that the upstream repo
has the remote name origin
in your local clone.
Switch to your work directory of your local clone of the zhmc-ansible-modules Git repo and perform the following steps in that directory.
Set shell variables for the version and branch to be released:
MNU
- Full version number M.N.U this release should haveMN
- Major and minor version numbers M.N of that full versionBRANCH
- Name of the branch to be released
When releasing the master branch (e.g. as version
1.0.0
):MNU=1.0.0 MN=1.0 BRANCH=master
When releasing a stable branch (e.g. as version
0.8.1
):MNU=0.8.1 MN=0.8 BRANCH=stable_$MN
Check out the branch to be released, make sure it is up to date with upstream, and create a topic branch for the version to be released:
git status # Double check the work directory is clean git checkout $BRANCH git pull git checkout -b release_$MNU
Edit the change log:
vi docs_source/changes.rst
and make the following changes in the section of the version to be released:
Finalize the version to the version to be released.
Change the release date to today’s date.
Make sure that all changes are described.
Make sure the items shown in the change log are relevant for and understandable by users.
In the “Known issues” list item, remove the link to the issue tracker and add text for any known issues you want users to know about.
Remove all empty list items in the section of the version to be released.
Edit the Galaxy metadata file:
vi galaxy.yml
and set the ‘version’ parameter to the version to be released:
version: M.N.U
Commit your changes and push them upstream:
git add docs_source/changes.rst git commit -sm "Release $MNU" git push --set-upstream origin release_$MNU
On GitHub, create a Pull Request for branch
release_$MNU
. This will trigger the CI runs in Travis.Important: When creating Pull Requests, GitHub by default targets the
master
branch. If you are releasing a stable branch, you need to change the target branch of the Pull Request tostable_M.N
.On GitHub, close milestone
M.N.U
.Perform a complete test in your preferred Python environment:
make clobber all
This should not fail because the same tests have already been run in the Travis CI. However, run it for additional safety before the release.
If this test fails, fix any issues until the test succeeds. Commit the changes and push them upstream:
git add <changed-files> git commit -sm "<change description with details>" git push
Wait for the automatic tests to show success for this change.
On GitHub, once the checks for this Pull Request succeed:
Merge the Pull Request (no review is needed).
Delete the branch of the Pull Request (
release_M.N.U
)
Checkout the branch you are releasing, update it from upstream, and delete the local topic branch you created:
git checkout $BRANCH git pull git branch -d release_$MNU
Tag the version:
Create a tag for the new version and push the tag addition upstream:
git status # Double check the branch to be released is checked out git tag $MNU git push --tags
If the previous commands fail because this tag already exists for some reason, delete the tag locally and remotely:
git tag --delete $MNU git push --delete origin $MNU
and try again.
On GitHub, edit the new tag
M.N.U
, and create a release description on it. This will cause it to appear in the Release tab.You can see the tags in GitHub via Code -> Releases -> Tags.
Publish the collection to Ansible Galaxy:
make upload
This will show the package version and will ask for confirmation.
Important: Double check that the correct package version (
M.N.U
, without any development suffix) is shown.Attention!! This only works once for each version. You cannot re-release the same version to Ansible Galaxy, or otherwise update it.
Verify that the released version arrived on Ansible Galaxy at https://galaxy.ansible.com/ibm/zhmc/
If you released the master branch, it needs a new fix stream.
Create a branch for its fix stream and push it upstream:
git status # Double check the branch to be released is checked out git checkout -b stable_$MN git push --set-upstream origin stable_$MN
On GitHub, go to “Settings” and change the branch from which the Github pages are built, to
stable_$MN
.
Starting a new version¶
This section shows the steps for starting development of a new version.
These steps may be performed right after the steps for Releasing a version, or independently.
This section covers all variants of new versions:
A new major or minor version for new development based upon the master branch.
A new update (=fix) version based on a stable branch.
This description assumes that you are authorized to push to the upstream repo
at https://github.com/zhmcclient/zhmc-ansible-modules and that the upstream repo
has the remote name origin
in your local clone.
Switch to your work directory of your local clone of the zhmc-ansible-modules Git repo and perform the following steps in that directory.
Set shell variables for the version to be started and its base branch:
MNU
- Full version number M.N.U of the new version to be startedMN
- Major and minor version numbers M.N of that full versionBRANCH
- Name of the branch the new version is based upon
When starting a (major or minor) version (e.g.
1.1.0
) based on the master branch:MNU=1.1.0 MN=1.0 BRANCH=master
When starting an update (=fix) version (e.g.
0.8.2
) based on a stable branch:MNU=0.8.2 MN=0.8 BRANCH=stable_$MN
Check out the branch the new version is based on, make sure it is up to date with upstream, and create a topic branch for the new version:
git status # Double check the work directory is clean git checkout $BRANCH git pull git checkout -b start_$MNU
Edit the change log:
vi docs_source/changes.rst
and insert the following section before the top-most section:
Version 1.1.0 ^^^^^^^^^^^^^ Released: not yet **Incompatible changes:** **Deprecations:** **Bug fixes:** **Enhancements:** **Cleanup:** **Known issues:** * See `list of open issues`_. .. _`list of open issues`: https://github.com/zhmcclient/zhmc-ansible-modules/issues
Edit the Galaxy metadata file:
vi galaxy.yml
and update the version to the new version plus ‘-dev1’ to indicate it is in development:
version: M.N.U-dev1
Note: The version must follow the rules for semantic versioning 2.0 including the description of development/alpha/etc suffixes, as described in https://semver.org/
Commit your changes and push them upstream:
git add docs/changes.rst git commit -sm "Start $MNU" git push --set-upstream origin start_$MNU
On GitHub, create a Pull Request for branch
start_M.N.U
.Important: When creating Pull Requests, GitHub by default targets the
master
branch. If you are starting based on a stable branch, you need to change the target branch of the Pull Request tostable_M.N
.On GitHub, create a milestone for the new version
M.N.U
.You can create a milestone in GitHub via Issues -> Milestones -> New Milestone.
On GitHub, go through all open issues and pull requests that still have milestones for previous releases set, and either set them to the new milestone, or to have no milestone.
On GitHub, once the checks for this Pull Request succeed:
Merge the Pull Request (no review is needed)
Delete the branch of the Pull Request (
start_M.N.U
)
Checkout the branch the new version is based on, update it from upstream, and delete the local topic branch you created:
git checkout $BRANCH git pull git branch -d start_$MNU


|
|
IFXRenderWindow Class ReferenceInterface and data storage struct to pass window parameters to an IFXRenderContext object.
More...
List of all members.
Detailed Description
Interface and data storage struct to pass window parameters to an IFXRenderContext object.
- See also:
- IFXRenderContext::Initialize(), IFXRenderContext::SetWindow()
Constructor & Destructor Documentation
| IFXRenderWindow::IFXRenderWindow |
( |
|
) |
|
|
| IFXRenderWindow::~IFXRenderWindow |
( |
|
) |
[virtual] |
|
Member Function Documentation
| IFXenum IFXRenderWindow::GetAntiAliasingEnabled |
( |
|
) |
const |
|
|
|
Gets the antialiasing enabled status to be used for rendering.
- Returns:
- The antialiasing enabled mode (IFXenum).
- See also:
- SetAntiAliasingEnabled()
|
| IFXenum IFXRenderWindow::GetAntiAliasingMode |
( |
|
) |
const |
|
|
|
Gets the antialiasing mode to be used for rendering.
- Returns:
- The antialiasing mode (IFXenum).
- See also:
- SetAntiAliasingMode()
|
| BOOL IFXRenderWindow::GetDTS |
( |
|
) |
const |
|
|
|
Gets the direct to screen rendering state.
- Returns:
- Boolean value.
- Return values:
-
| TRUE | Direct-to-screen mode is enabled. |
| FALSE | Direct-to-screen mode is disabled |
- See also:
- SetDTS()
|
| IFXHANDLE IFXAPI IFXRenderWindow::GetHDC |
( |
|
) |
const |
|
| BOOL IFXRenderWindow::GetTransparent |
( |
|
) |
const |
|
|
|
Gets whether or not the window is transparent.
- Returns:
- Boolean value.
- Return values:
-
| TRUE | The window is transparent. If this and DTS is TRUE, then the window's background will show through this window. |
| FALSE | The window is not transparent. |
|
| void * IFXRenderWindow::GetWindowPtr |
( |
|
) |
const |
|
|
|
Gets the OS and DTS dependent parent area pointer.
- Returns:
- The parent window or buffer pointer.
- See also:
- SetWindowPtr()
|
| const IFXRect & IFXRenderWindow::GetWindowSize |
( |
|
) |
const |
|
|
|
Gets the size and position of the rendering area within the "parent" area.
- Returns:
- The set window size.
- See also:
- SetWindowSize()
|
| void IFXRenderWindow::GetWindowSizeVC |
( |
IFXRect & |
rcIn |
) |
const |
|
|
|
Gets the Window size and position in screen coordinates (monitor space).
- Parameters:
-
| rcIn | Input IFXRect that will receive the window size in monitor space. |
- Returns:
- void
|
| void IFXRenderWindow::InitData |
( |
|
) |
|
|
|
|
Initializes all data to default data.
Default values are:
- AntiAliasing Enabled: IFX_AA_DEFAULT
- AntiAliasing Mode: IFX_AA_DEFAULT
- Direct To Screen: TRUE
- Window Size: (X,Y,Width,Height) = (0,0,320,240)
- Device Number: 0 (primary adapter)
- Window Pointer: NULL
- X11 Display: NULL
|
| IFXRESULT IFXRenderWindow::SetAntiAliasingEnabled |
( |
IFXenum |
eAAEnabled |
) |
|
|
|
|
Sets the antialiasing enabled setting for the render context.
- Parameters:
-
| eAAMode | Input IFXenum specifying the antialiasing mode to be used for rendering. Possible values are:
- IFX_NONE: No antialiasing.
- Others: Need to determine this.
|
- Returns:
- An IFXRESULT code.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The value specified for eAAMode is invalid. |
|
| IFXRESULT IFXRenderWindow::SetAntiAliasingMode |
( |
IFXenum |
eAAMode |
) |
|
|
|
|
Sets the antialiasing mode for the render context.
- Parameters:
-
| eAAMode | Input IFXenum specifying the antialiasing mode to be used for rendering. Possible values are:
- IFX_NONE: No antialiasing.
- Others: Need to determine this.
|
- Returns:
- An IFXRESULT code.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The value specified for eAAMode is invalid. |
|
| IFXRESULT IFXRenderWindow::SetDTS |
( |
BOOL |
bDTS |
) |
|
|
|
|
Specifies whether or not to use direct to screen (DTS) mode or not.
If bDTS is TRUE, rendering occurs normally (i.e. back buffer is copied directly to the screen on IFXRenderContext::Swap()). If bDTS is FALSE, then the data is copied from the back buffer to the memory location specified by SetWindowPtr().
- Parameters:
-
| bDTS | Input boolean specifying whether or not to use direct to screen rendering. |
- Returns:
- An IFXRESULT code
- Return values:
-
|
| IFXRESULT IFXRenderWindow::SetTransparent |
( |
BOOL |
bTransparent |
) |
|
|
|
|
Specifies whether or not this object has a transparent background.
This only takes effect if the DTS is false (see SetDTS()).
- Parameters:
-
| bTransparent | Input BOOL that is TRUE if the window is to have a transparent background, FALSE otherwise. |
- Returns:
- An IFXRESULT code.
- Return values:
-
|
| IFXRESULT IFXRenderWindow::SetWindowPtr |
( |
IFXHANDLE |
pvWindow |
) |
|
|
|
|
Specifies the "parent" window or memory location for rendering.
If direct to screen (DTS) is enabled, then this should be a window pointer. If DTS is disabled, then this should be a memory buffer.
- Parameters:
-
| pvWindow | An OS and DTS dependent pointer to the rendering area's "parent" area. |
| pvDisplay | This is used under X11 for the X Display* pointer. This paramter is ignored under other windowing systems. Defaults to 0. |
- Returns:
- An IFXRESULT code.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_POINTER | pvWindow was NULL. |
- Todo:
- Should we allow pvWindow to be NULL?
|
| IFXRESULT IFXRenderWindow::SetWindowSize |
( |
const IFXRect & |
rcWindow |
) |
|
|
|
|
Sets the size (and position) of the renderable area.
If full screen mode is being used, then the iWidth and iHeight parameters specify the screen resolution. If windowed mode is used, then all four parameters define where (relative to the passed in window or memory location pointer) the rendering occurs. This, in effect, creates a sub window region for the renderer to use. The upper left corner of the "parent" area is (0,0).
- Parameters:
-
| rcWindow | Input IFXRect specifying the size and position of the window relative to the parent window. If fullscreen mode is enabled, then only the m_Width and m_Height of rcWindow are used. |
- Returns:
- An IFXRESULT code
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | If full screen mode is used, then the rcWindow.m_Width and/or rcWindow.m_Height parameters are not valid display resolutions. If windowed mode is used, then the rcWindowm_Width or rcWindow.m_Height parameters are <= 0. |
|
Member Data Documentation
|
|
Direct to screen BOOL flag.
|
|
|
Is this window "transparent"?
|
|
|
handle to a display device context
|
|
|
Destination surface (or window) for rendering.
|
|
|
Size of window or desired resolution for full screen mode.
|
© 1999 - 2006 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
|
|


{% extends "global/Page.html" %} {% load otree %} {% block title %} Read the following sentence {% endblock %} {% block content %}
The names of persons and places in the narrative will be familiar to the audience.
{% next_button %} {{ form.errors }} {% endblock %}


ARM Template Generator
Add from gallery
Clear
Download
Name
Publisher
×
Add from gallery
Name
Publisher


Sir Arthur Conan Doyle
Elementary, my dear Watson.
Timeline of Sir Arthur Conan Doyle
- 1859 – Conan Doyle is born on May 22 in Edinburgh, Scotland to Charles and Mary Doyle.
- 1868 – Conan Doyle is sent to Jesuit boarding school in England.
- 1876 – Charles Doyle enters a nursing facility to receive treatment for his alcoholism. Conan Doyle attends the University of Edinburgh Medical School where he meets Dr. Joseph Bell, the person who inspired the character of Sherlock Holmes.
- 1879 – Conan Doyle’s work is published for the first time. The story is The Mystery of the Sasassa Valley.
- 1881 – A Bachelor of Medicine and Master of Surgery are awarded to Conan Doyle. He leaves from Liverpool to serve as shipboard medical officer on the steamer Mayumba.
- 1885 – On August 5th, Conan Doyle marries Louise “Toulie” Hawkins.
- 1887 – A Study in Scarlet, the first Sherlock Holmes story, is published.
- 1890 – The Sign of Four is published.
- 1892 – Louise gives birth to Arthur Allyne Kingsley. The Adventures of Sherlock Holmes is published.
- 1893 – Conan Doyle visits Reichenbach Falls. Louise is diagnosed with tuberculosis. Conan Doyle’s father, Charles, dies. Conan Doyle takes Louise to Switzerland because of her health. Conan Doyle joins the British Society for Psychical Research. The Adventure of the Final Problem is published.
- 1894 – The Memoirs of Sherlock Holmes is published. Conan Doyle goes on a lecture tour of the United States.
- 1900 – Serves in the Boer War.
- 1901 – The Hound of the Baskervilles is published in The Strand magazine.
- 1904 – Conan Doyle is made a member of the Crimes Club. The Return of Sherlock Holmes is published.
- 1912 – The Lost World is published. Lena Jean Annette is born to Jean and Arthur. Conan Doyle argues with George Bernard Shaw about the Titanic.
- 1915 – The Valley of Fear is published in book form.
- 1927 – The Case-Book of Sherlock Holmes is published.
- 1930 – Sir Arthur Conan Doyle dies on July 7. They bury him at the rose garden in Windlesham.
"When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth."
--Arthur Conan Doyle, The Case-Book of Sherlock Holmes


Bhagavad-gītā As It Is
Śrīmad-Bhāgavatam
Sanskrit
English
Wtw meaning
Translation
Purport
Please write feedback and suggestions to
anjaneysharma25@gmail.com


US will hike tariffs if there's no China trade deal: Trump
WASHINGTON : The US will raise tariffs on Chinese imports if no deal is reached with Beijing to end a trade war, US President Donald Trump said on Tuesday, threatening an escalation of the spat that has damaged economic growth worldwide.
Speaking at a Cabinet meeting at the White House, Mr Trump said he had a good relationship with China, noting that China was "moving along". However, he said China would have to make a deal "I like".
"If we don't make a deal with China, I'll just raise the tariffs even higher," he told a room filled with senior US officials.
The US and China have been locked in successive waves of tit-for-tat tariffs that have roiled financial markets and threatened to drag growth in the global economy to its lowest rate since the 2007-2008 financial crisis.
Hopes were high that a partial trade deal could be signed at a summit in Santiago, Chile, that was scheduled for mid-November. But the summit was cancelled amid unrest in Chile and a path forward for a deal remains unclear.
Sticking points include how and when to reduce tariffs and how much US agricultural products China would commit to buy.
White House economic adviser Larry Kudlow said last week that the two countries were getting close to an agreement to end the 16-month-long trade war, but he gave no further details on the timing of a possible deal.
Still, Chinese state media outlet Xinhua said "constructive talks" were held by phone on Saturday between China's Vice-Premier Liu He, US Trade Representative Robert Lighthizer and Treasury Secretary Steven Mnuchin. - REUTERS


val randomState: Random
Overrides EnvironmentFacade.randomState
Provides access to the environments random state.
This allows the entire framework to share the random state (as a singleton) to allow deterministic runs.


Why Coding?
I am here to use my creativity and chanel it to the digital world and connect and create connections through websites and mobile apps. My inspiration is the nature of things, beings and the extraordinary talent that surrounds, humbles and inspires me. Hard work knows no bounds. I love what beliving in one self, presistence, company of supportive peers and humility can do for a person.Why Art?
My name is Amber. I have been painting for a long time. I still remember when I signed up for my first painting class in community college. I was shocked how expensive it was to buy supplies. I was certain this class would not lead to much, but I was excited about playing with colors. Who doesn't like to get their hands dirty with paint, we've all finger painted as some point, its liberating. I took the class and eureka! Art is AWESOME! Twenty years later, still painting. It's therapy. It's happy. It's expression without words!More of this...
≈ Abstract Painting - I love the freedom of expression it gives you. It is boundless and each stroke is unique to the artist and their emotion. ≈ Travel - I love how much it can broaden your mind, enrich your life. To meet new people, to feel helpless at the hands of a new language. Its humbling and various levels of amazing. ≈ Code - an happy addiction. To teach a machine to do exactly as I code. It's exjilarating. ≈ Netflix - I just love it, enough said.


Social Distancing Visualizer
A visualiser for defining how social distancing can mean to the less spread of infection in 30 days time
Input the amount of social distancing in percent
%
Start


Celebrity Matchmaker!
Welcome to the Celebrity Matchmaker. Tell us about some of your favorite things, and we'll tell you who is your
destiny
!
What is your favorite animal?
Please select
Lizard
Koala
Grizzly Bear
Baby Seal
Eagle
What is your favorite food?
Please select
Pizza
Tacos
Sushi
Quinoa
Ice Cream
What is your favorite hobby?
Please select
Hiking
Cooking
Surfing
Pottery
Cleaning
Submit
You belong with Madonna!
You belong with Peter Lorre!
You belong with Patrick Swayze!


Note the following refers to the sequence set in which you are finding motifs as the primary sequences and to the comparative sequence set as the control sequences. In all cases, an E-value refers to a p-value corrected for multiple tests by multiplying by the number of motifs in all the databases used.
CentriMo can perform either central or local motif enrichment analysis. Central enrichment is determined by finding the highest likelihood ('best') site for the motif in each sequence in a given set. Central enrichment is quantified by a binomial p-value based on the a uniform distribution of best sites within or outside a central bin. CentriMo searches for the bin width that with the maximum significance. The same procedure is used for local motif enrichment analysis, except the center of the optimal bin may be anywhere along the sequences, not just aligned to their centers. CentriMo reports the position, width and significance of the most enriched bin, and it plots the distribution of 'best' sites. The algorithm proceeds as follows:CentriMo supports DNA, RNA, protein and custom sequence alphabets. The alphabet is specified in the motif file, and the sequences being searched must be compatible with that alphabet. (DNA motifs can be used to search RNA sequences and vice-versa.) If the motif alphabet is "complementable" (e.g., DNA-like alphabets), You can also override the the alphabet specified in the motif file with an alphabet that contains all the core symbols specified in the motif alphabet but which may contain additional core symbols. The motifs will be expanded to match this new alphabet with 0's filling in the probabilities for the new symbols (prior to applying pseudocounts).
These sequences should all be in the same sequence alphabet and be of the same length. CentriMo will ignore all sequences whose lengths don't match the first sequence. They can, for example, a set of ChIP-seq regions aligned on the summits or centers of the peaks, or be a set of promoters thought to be co-regulated aligned on the TSS. By default, CentriMo detects motifs enriched in the centers of these sequences, relative to the flanks. CentriMo can also search for motifs aligned locally (non-centrally) within the primary sequences.
CentriMo requires sequences derived using a method that causes motif sites to be distributed with a bias to be near (or at a fixed distance) from some landmark. Sequences should have sufficient flanking data around the likely binding site to achieve statistical significance. For ChIP-seq sequences centered on the peak summit (or peak center), a sequence length of 500 works well.
CentriMo can perform differential local motif enrichment if you provide a control set. These sequences should be the same length as the primary sequences, and aligned on the same type of landmark. After determining if a motif is enriched in the primary sequences, CentriMo will then test the relative enrichment of the motif in the same region in the control sequences. CentriMo reports two p-values for all the motifs that are enriched in the primary sequences--their primary enrichment and their relative enrichment.
A typical use case is comparing different ChIP-seq cell lines that may differ in one or more variables (e.g., karotype, development stage, tissue type). It is best to run this sort of study twice as a reality check, reversing the roles of the positive and negative set, since it is possible that statistical significance arising from the comparison of the positive and negative sets could be an artifact of the two sequence sets achieving their highest central enrichment with different central bin widths.You must specify one or more files containing motifs MEME Motif Format. CentriMo is fast enough to use a large numbers of motifs for general motif enrichment studies. You can achieve higher statistical power by using a more specific set of motifs if you have prior knowledge of what motifs might be enriched in your sequences.
The primary basis for determining central (local) enrichment is the central (local) enrichment E-value. It is also useful to examine the shape of the site probability plot and the width of the bin with lowest E-value.
Note, however, that it is dangerous to directly compare the E-values of two motifs unless the motifs have approximately the same information content. This is because motifs with higher information content are more likely to accurately pin-point the actual binding site in a ChIP-seq experiment, for example. So a more specific version of the "true" binding motif can receive a lower E-value, even though it is not a "better" motif.
Note also that CentriMo is extremely sensitive, and when your sequence set is large, even motifs that are only slightly similar to the actual motif can show significant enrichment.
With ChIP-seq peaks, the width of the bin with lowest E-value is also an indication of a tendency to central enrichment; typically a best bin width of about 100 bases indicates direct binding, especially if the E-value is low and the plot has a clear peak.
With ChIP-seq peaks, if the maximum of the plot is off-center, that may indicate an offset inherent in the peak-calling method used in the ChIP-seq experiment. If the primary binding TF's motif is sharply centered, and other motifs have less clearly centered maxima, that may indicate binding partners. If there is no clear central enrichment, that may indicate a failure of the ChIP-seq method, the absence of a motif in the motif file(s) used that accurately represents binding, or indirect binding of the TF via some motif not contained in the motif file(s).
The shape of the graph and the best bin width are subjective, so we prefer to use the E-value as a discriminator between different degrees of central (local) enrichment.


This tutorial book was written to interactively display technical information, demos, and code to help the user learn more about Java Advanced Imaging. The book-like format allows turning of pages, selection of pages via an index, and display of demos with associated source code via tabs. Technical information, interactive demos, and source code are readily accessible. Source code is also available for the display widgets used in the tutorial. This code can be found in the distribution's src directory.
To access the index, click on the left page tab labeled "Index." Technical discussions are obtained by clicking the right page tab labeled "Text." Selecting an item from the index will load the appropriate page. Use the arrows next to the page numbers at the bottom to move back and forth a single page. Technical discussions are typically partitioned into three sections:
Demo - gives instructions about how to use the demo located on the right page. JAI - gives technical descriptions of Java Advanced Imaging features being demonstrated. Theory - gives brief theoretical descriptions of demonstrated topics.
The right page of the book contains interactive demos. Toggle between running the demo and viewing source code by clicking on the "Demo" or "Code" tabs, respectively. The top page label will show the currently selected option. The source code shown is the actual source code used for the current demo. For example, the demo on the right page contains a magnifier window which can be moved by clicking and dragging the mouse in the image window. The button located in the lower right hand corner of the page near the page number allows moving to the next page. The book can be resized and for pages larger than the book, scrollbars are available for scrolling.


Priestess Athenia:
I am waiting on Iason Heine's decision. Only with his support can we rejuvinate this zone to its original splendor. Do you perhaps know of him?
"I do. I've brought you a letter from the man, actually."


Nova, our new code editor, is here!
The beautiful, fast, flexible, native Mac code editor.
Supports Panic Sync
Need to transfer files? The ultimate macOS SFTP + FTP + S3 client.
A very nice SSH client for your iPhone or iPad.
An adventure video game set in the Wyoming wilderness for Mac, PC, PlayStation 4 and Xbox One.

An interactive exploration into the aesthetics of food.
Coming in 2021.


Migrating from TensorRT 4 to 5¶
TensorRT 5.0 includes an all new Python API. The python bindings have been entirely rewritten, and significant changes and improvements were made. This page highlights some of these changes and outlines the steps you can take to migrate your existing Python code to TensorRT 5.
Legacy Compatibility¶
It is possible to continue using the legacy API by importing the TensorRT legacy package.
Simply replace import tensorrt as trt
(for example) with import tensorrt.legacy as trt
in your scripts.
Eventually, legacy support will be dropped, so it is still advisable to migrate to the new API.
Submodules¶
The new API removes the infer
, parsers
, utils
, and lite
submodules. Instead, all functionality is now included in the top-level tensorrt
module.
Create and Destroy Functions¶
The new API no longer includes create and destroy functions. Constructors are used for object creation and
destruction is instead handling by scoping (that is, when an object goes out of scope,
the garbage collecter can free it). It is also possible to destroy objects manually with
del trt_object
. Note that del
only decrements the reference count of the object
- it is still up to the garbage collecter to free it. If you really want to free memory immediately, you can instead
invoke the object’s __del__
function.
The above changes apply to the following classes:
| Legacy API | New API |
G_LOGGER = trt.infer.ConsoleLogger(trt.infer.LogSeverity.WARNING) |
TRT_LOGGER = trt.Logger(trt.Logger.WARNING) |
builder = trt.infer.create_infer_builder(logger) |
builder = trt.Builder(logger) |
runtime = trt.infer.create_infer_runtime(logger) |
runtime = trt.Runtime(logger) |
parser = trt.parsers.caffeparser.create_caffe_parser() |
parser = trt.CaffeParser() |
parser = trt.parsers.uffparser.create_uff_parser() |
parser = trt.UffParser() |
parser.destroy() # Or any other TensorRT object |
del parser # with … as … clauses strongly preferred (see below) |
It is generally advisable to scope objects using with ... as ...
clauses.
TensorRT classes implement __exit__
in such a way that
instances are destroyed immediately. Therefore, unlike the del
operator,
with ... as ...
clauses free memory immediately when a TensorRT object goes out of scope.
For example, building an engine from an ONNX file using with ... as ...
might look something like this:
import tensorrt as trt
TRT_LOGGER = trt.Logger(trt.Logger.WARNING)
ONNX_MODEL = "mnist.onnx"
def build_engine():
with trt.Builder(TRT_LOGGER) as builder, builder.create_network() as network, trt.OnnxParser(network, TRT_LOGGER) as parser:
# Configure the builder here.
builder.max_workspace_size = 2**30
# Parse the model to create a network.
with open(ONNX_MODEL, 'rb') as model:
parser.parse(model.read())
# Build and return the engine. Note that the builder, network and parser are destroyed when this function returns.
return builder.build_cuda_engine(network)
Data Types¶
Data types have been given short-hand aliases to better align with naming conventions established by Python libraries such as NumPy.
| Legacy API | New API |
trt.infer.DataType.FLOAT |
trt.float32 |
trt.infer.DataType.HALF |
trt.float16 |
trt.infer.DataType.INT32 |
trt.int32 |
trt.infer.DataType.INT8 |
trt.int8 |
Getters and Setters¶
Where possible, the new API exposes attributes rather than getters and setters. Importantly, getters that take an argument, and setters that either take multiple arguments or have a return value have been preserved, as these do not correspond directly to a single object attribute.
In general, attribute and function names align with NumPy naming conventions.
That is, shape
is used in place of get_dimensions
, dtype
instead of get_type
,
nbytes
instead of size
, num
instead of nb
and so on.
In most cases, it is enough to simply drop the get_
or set_
prefix:
| Legacy API | New API |
builder.set_fp16_mode(True) |
builder.fp16_mode = True |
int8_mode = builder.get_int8_mode() |
int8_mode = builder.int8_mode |
builder.set_max_workspace_size(1 << 20) |
builder.max_workspace_size = 1 << 20 |
In other cases, you can apply the aforementioned rules:
| Legacy API | New API |
num_inputs = network.get_nb_inputs() |
num_inputs = network.num_inputs |
input_shape = network.get_input(0).get_dimensions() |
input_shape = network.get_input(0).shape |
input_type = network.get_input(0).get_type() |
input_type = network.get_input(0).dtype |
tensorrt.Dims
, tensorrt.Permutation
Behave Like Iterables¶
The tensorrt.Dims
class, and all its subclasses as well as the tensorrt.Permutation
class are interchangeable with Python iterables (such as tuples and lists).
Where previously you would have written code like this:
# Legacy API
dims = network.get_input(0).get_dimensions().to_DimsCHW() # Need to explicitly convert to DimsCHW.
arr = np.random.randint(5, size=(dims.C(), dims.H(), dims.W())) # Cannot directly use Dims where iterables are expected.
dims2 = engine.get_binding_dimensions(1).to_DimsCHW()
# Compute volume. This will differ between different subclasses of Dims.
elt_count = dims2.vol() # This will not work for DimsHW or DimsNCHW, for example.
# Or equivalently,
elt_count = dims2.C() * dims2.H() * dims2.W()
It is now possible to write:
# New API
dims = network.get_input(0).shape # All Dims subclasses behave like iterables, so we don't care about the exact subclass.
arr = np.random.randint(5, size=dims) # Dims act exactly like any other iterable.
dims2 = engine.get_binding_shape(1)
# Compute volume. Works for any iterable, including lists and tuples.
elt_count = trt.volume(dims2)
# Or equivalently,
elt_count = reduce(lambda x, y: x * y, dims2)
Lightweight tensorrt.Weights
¶
Previously, the tensorrt.Weights
class would perform deep-copies of any buffers used to create weights.
To better align with the C++ API, and for the sake of efficiency, the new bindings no longer create
these deep copies, but instead increment the reference count of the existing buffer.
Therefore, modifying the buffer used to create a tensorrt.Weights
object
will also modify the tensorrt.Weights
object.
Note that the tensorrt.ICudaEngine
will still create its own copies of weights internally.
The above only applies to tensorrt.Weights
created before engine construction (when using the Network API, for example).
tensorrt.Weights
Behave like NumPy Arrays¶
The tensorrt.Weights
class is now interchangeable with NumPy arrays.
More concretely, this means that NumPy arrays can be used directly wherever
tensorrt.Weights
objects are expected - no explicit conversion required.
Furthermore, the API now returns NumPy arrays instead of Weights objects.
tensorrt.CaffeParser
Returns NumPy Arrays¶
The parse_binary_proto
function of the tensorrt.CaffeParser
now returns NumPy arrays instead of BinaryProtoBlob
objects.
enqueue
Is Now execute_async
¶
To better match CUDA naming conventions, tensorrt.IExecutionContext
‘s enqueue
function has been renamed to execute_async
.
Keyword Arguments and Default Parameters¶
All functions and constructors in the new API now use named parameters. Additionally, they include default arguments where possible to better mirror the C++ API.
Where previously, you had to order function parameters correctly:
# Legacy API
context.enqueue(batch_size, bindings, stream.handle, None)
You can now use keyword arguments instead:
# New API
context.execute_async(stream_handle=stream.handle, bindings=bindings, batch_size=batch_size)
Serializing and Deserializing Engines¶
The tensorrt.IHostMemory
class now implements Python’s buffer interface.
This means that serialized engines can be treated like any other Python buffer.
Serializing An Engine¶
# New API
with open("sample.engine", "wb") as f:
f.write(engine.serialize())
Deserializing An Engine¶
# New API
with open("sample.engine", "rb") as f, trt.Runtime(TRT_LOGGER) as runtime:
engine = runtime.deserialize_cuda_engine(f.read())
Migrating Plugins¶
Using Pybind11¶
SWIG-based wrappers are incompatible with TensorRT’s pybind11-based bindings. In order to migrate existing plugins, you need to write a pybind11-based wrapper for the plugin. Typically, this involves writing bindings for the plugin itself, as well as the PluginFactory. For more details, refer to the fc_plugin_caffe_mnist sample.
You can refer to the Pybind11 User Guide for detailed information on pybind11 usage.
Using the Plugin Registry¶
Alternatively, it is possible to bypass the need for bindings completely by using the plugin registry. This involves two steps:
- Build a shared object file for the plugin. Make sure the
REGISTER_TENSORRT_PLUGIN
macro is used in the plugin implementation.- In python, load the file created above using
ctypes.CDLL()
At this point, you can add plugins to your network using the tensorrt.IPluginRegistry
which can be retrieved with tensorrt.get_plugin_registry()
. For more details, refer to the uff_custom_plugin sample.


Contacts
Call-Logs
Messages
Name
Contact
Email
Shravan
9790853602
<EMAIL_ADDRESS>Note:
Fields marked as
*
are
Mandatory
Name(
*
)
Contact Number(
*
)
Email(
*
)
Name
Number
Time
Sent from
Sent to
Message


|
ConcurrentPriorityQueue
1.0.0
A .NET 3.5 C# implementation of a thread-safe priority queue, suitable for use with MonoGame/Unity3D.
|
The ConcurrentPriorityQueue class is a thread-safe generic priority queue using a binary heap for sorting elements by priority. The underlying binary heap uses a min-heap property, therefore the element with the highest priority will always be dequeued first. If several items share the same priority, they are dequeued in the same order that they were enqueued (FIFO). More...
Public Member Functions | |
| ConcurrentPriorityQueue () | |
| Create a new default priority queue. More... | |
| ConcurrentPriorityQueue (int initialCapacity) | |
| Create a new priority queue with the given initial size of the heap implementing it internally. More... | |
| void | Add (PriorityValuePair< T > element) |
| Enqueues a PriorityValuePair as a new element into the queue. More... | |
| void | Clear () |
| Clears the queue of all elements. More... | |
| bool | Contains (PriorityValuePair< T > element) |
| Returns whether or not the queue contains the given PriorityValuePair element. More... | |
| void | CopyTo (PriorityValuePair< T >[] array, int arrayIndex) |
| Copies the elements of the priority queue to an Array, starting at a particular index. More... | |
| PriorityValuePair< T > | Dequeue () |
| Dequeues the element with the highest priority and returns it. More... | |
| void | Enqueue (PriorityValuePair< T > element) |
| Enqueues an existing PriorityValuePair element into the priority queue. More... | |
| void | Enqueue (double priority, T value) |
| Enqueues an element into the priority queue. More... | |
| IEnumerator< PriorityValuePair< T > > | GetEnumerator () |
| Returns an enumerator that iterates through the queue's elements. This enumerator is not guaranteed to iterate through elements in sorted order. More... | |
| PriorityValuePair< T > | Peek () |
| Returns the element with the highest priority, but doesn't remove it from the queue. More... | |
| bool | Remove (PriorityValuePair< T > element) |
| Removes the first occurrence of the given PriorityValuePair element within the queue. More... | |
Public Attributes | |
| const double | EPSILON = 0.00000000001 |
| This value defines the step used to increment the PriorityAdjustment for each item enqueued. It should be set to approximately one ten-billionth, such that priority values of up to 9999.99999999999 are valid. The suggested range for priority values is between 1000 and 9999 and that priority values should be separated by at least 100 from eachother if the priority queue will run for long periods without being cleared or becoming empty. More... | |
Properties | |
| int | Capacity [get] |
| Returns the number of elements the queue can hold without auto-resizing. More... | |
| int | Count [get] |
| Return the number of elements in the queue. More... | |
| bool | IsEmpty [get] |
| Returns whether or not the queue is empty. More... | |
| bool | IsReadOnly [get] |
Returns whether or not the collection is read-only. For a priority queue this property returns false . More... | |
| long | NumQueuedItems [get] |
| The number of items that have been queued since the priority queue was created or it was last cleared using the Clear() method. More... | |
| double | PriorityAdjustment [get] |
| The adjustment applied to the priority of the most recently queued item. This adjustment is applied by subtracting this value from the priorty of the item requested by the caller of Enqueue() to ensure that items of the same priority are dequeued in the same order which they were queued (ensures the queue has the FIFO property). More... | |
The ConcurrentPriorityQueue class is a thread-safe generic priority queue using a binary heap for sorting elements by priority. The underlying binary heap uses a min-heap property, therefore the element with the highest priority will always be dequeued first. If several items share the same priority, they are dequeued in the same order that they were enqueued (FIFO).
Using priorities of larger than 9999 can jeopardize the FIFO behaviour of queued items that have the same priority. Conversely, using priorities of 1 or smaller can as well. It is advised that you use priorities in the range [1000, 9000] to play it safe, and separate your priority levels by at least 100 priority units from eachother if the queue will run for long durations without emptying or being cleared.
| T | The type of data to be queued. |
Create a new default priority queue.
| ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.ConcurrentPriorityQueue | ( | int | initialCapacity | ) |
Create a new priority queue with the given initial size of the heap implementing it internally.
| initialCapacity | The initial size of the heap underlying priority queue. |
| void ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Add | ( | PriorityValuePair< T > | element | ) |
Enqueues a PriorityValuePair as a new element into the queue.
| item | PriorityValuePair to add as a new element. |
| void ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Clear | ( | ) |
Clears the queue of all elements.
| bool ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Contains | ( | PriorityValuePair< T > | element | ) |
Returns whether or not the queue contains the given PriorityValuePair element.
| item | The PriorityValuePair to locate in the queue. |
true
if item is found in the queue; otherwise, false
.| void ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.CopyTo | ( | PriorityValuePair< T >[] | array, |
| int | arrayIndex | ||
| ) |
Copies the elements of the priority queue to an Array, starting at a particular index.
This method does not copy the queued elements in the order they would be dequeued. This method returns the items in the queue as they are stored in memory. The binary min-heap underlying this queue does not store elements in a sorted order, the result of this method is not sorted either.
| array | The one-dimensional Array that is the destination of the elements copied from the priority queue. The Array must have zero-based indexing. |
| arrayIndex | The zero-based index in array at which copying begins. |
| PriorityValuePair<T> ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Dequeue | ( | ) |
Dequeues the element with the highest priority and returns it.
If the queue becomes empty because of the requested dequeue operation, the PriorityAdjustment will be reset to 0 since when the queue is empty, we know that resetting this value will not affect the ordering of any pre-existing elements.
| void ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Enqueue | ( | PriorityValuePair< T > | element | ) |
Enqueues an existing PriorityValuePair element into the priority queue.
Increments the PriorityAdjustment by one EPSILON value for each queued item to ensure FIFO ordering of elements with the same priority.
| element | A PriorityValuePair element. |
| void ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Enqueue | ( | double | priority, |
| T | value | ||
| ) |
Enqueues an element into the priority queue.
Increments the PriorityAdjustment by one EPSILON value for each queued item to ensure FIFO ordering of elements with the same priority.
| priority | A double-precision floating-point priority. |
| value | A generically-typed object. |
| IEnumerator< PriorityValuePair<T> > ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through the queue's elements. This enumerator is not guaranteed to iterate through elements in sorted order.
| PriorityValuePair<T> ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Peek | ( | ) |
Returns the element with the highest priority, but doesn't remove it from the queue.
Because this does not change the contents of the queue, it has no impact upon the PriorityAdjustment.
| bool ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.Remove | ( | PriorityValuePair< T > | element | ) |
Removes the first occurrence of the given PriorityValuePair element within the queue.
If the queue becomes empty because of the requested dequeue operation, the PriorityAdjustment will be reset to 0 since when the queue is empty, we know that resetting this value will not affect the ordering of any pre-existing elements.
| item | The PriorityValuePair element to remove from the queue. |
true
if item was successfully removed from the priority queue. This method returns false
if item is not found in the collection.| const double ca.axoninteractive.Collections.ConcurrentPriorityQueue< T >.EPSILON = 0.00000000001 |
This value defines the step used to increment the PriorityAdjustment for each item enqueued. It should be set to approximately one ten-billionth, such that priority values of up to 9999.99999999999 are valid. The suggested range for priority values is between 1000 and 9999 and that priority values should be separated by at least 100 from eachother if the priority queue will run for long periods without being cleared or becoming empty.
|
get |
Returns the number of elements the queue can hold without auto-resizing.
|
get |
Return the number of elements in the queue.
|
get |
Returns whether or not the queue is empty.
|
get |
Returns whether or not the collection is read-only. For a priority queue this property returns false
.
|
get |
The number of items that have been queued since the priority queue was created or it was last cleared using the Clear() method.
This property implements Monitor-based thread synchronization to protect __numQueuedItems from being accessed by more than 1 thread at a time. It is the only property that does this, since most thread-safety is implemented by the heap.
|
get |
The adjustment applied to the priority of the most recently queued item. This adjustment is applied by subtracting this value from the priorty of the item requested by the caller of Enqueue() to ensure that items of the same priority are dequeued in the same order which they were queued (ensures the queue has the FIFO property).
If the queue becomes empty, this adjustment will be reset to 0, since it is based upon the number of items queued since start or the last clear operation. It is ideal to empty the queue regularly to keep this value in a safe range.


Toggle navigation
Wireless Debugging
Home
Current Session
Historical Session
Upload Logs
Logout
Login
${flash['content']}