Before Change
// barrier at the end to ensure that once we return from this method, all
// process groups including global variables are updated correctly on all
// ranks.
barrier()
def _new_process_group_helper(world_size,
rank,
group_ranks,
After Change
// barrier at the end to ensure that once we return from this method, all
// process groups including global variables are updated correctly on all
// ranks.
if backend == Backend.MPI:
// MPI doesn"t have store.
barrier()
else:
// Use store based barrier here since barrier() used a bunch of
// default devices and messes up NCCL internal state.
_store_based_barrier(rank, store, timeout)
def _new_process_group_helper(world_size,
rank,
group_ranks,
backend,


"On Your Best Phoniest Behavior" Gunshy
By Ross Anthony
A wonderful lead in sequence: the camera dollies merrily through a New York airport, working it's way into the men's room where a spooked plumber overhears a neurotic, dangerous-sounding Liam Neeson ramble to himself about life and death as he's sprawled on the cold tile floor of the handicapped stall. The wide-eyed plumber tiptoes out to safety as Neeson's flashbacks of a drug bust gone awry bring us up to speed. These flashbacks are produced beautifully and artistically. They're a ballet of bullets and bodies, blended with a marble-rich mix of humor, fear and hallucination. Bravo.
Though the overall concept is similar to last year's "Analyze This" where De Niro plays the softening Mafia thug and Billy Crystal, his tagalong psychiatrist; "Gunshy" is not redundant. Both movies are strong, funny and unique in their own ways. Here, Neeson is the tough undercover cop nearly crippled with fear over a near death experience during his last bust. But instead of Neeson coupling with a single shrink, that role is split between three other parties: four fellows in group therapy, Sandra Bullock as the puppy-love interest, and even Oliver Platt as the "I'm sick of being a cliché!" Italian thug.

Neeson continues his undercover gig as the money savvy conduit between Mafia thug (Platt) and drug dealer (Jose Zuniga). Andy Lauer's happy-go-lucky performance as the yuppie financial investor lends a contrasting and funny element to the quiet tough guy cast. Loosening up with Lauer's party-oriented hosting, Zuniga admits, "You know, it's sometimes a pain keeping up this Colombian Coke dealer stereotype - I never get to have any fun!"
During a medical visit intended to relieve stress, Neeson stumbles across Bullock. Later, when talking about her in group therapy he's asked, "How'd you meet her? Did you score?" Neeson replies, "She gave me an enema." A group guy conjectures, "I guess that's kinda like scoring?"
An over the shoulder shot of Bullock is surprisingly out of focus, and uncharacteristically shoddy scripting make her initial scenes with Neeson a little hard to digest. We feel rather rushed by the filmmakers to get her into the story swiftly. Still, these blemishes along with a few other highly implausibles seem minor and just don't slow this strong, fun production. It's clearly a good time with a good heart. Go see it.
Gunshy. Copyright © 2000. Rated R. Starring Liam Neeson, Oliver Platt, Jose Zuniga, Michael Delorenzo, Andy Lauer, Sandra Bullock. Written and Directed by Eric Blakeney. Produced by Sandra Bullock at Buena Vista/Fortis Films/Meat Hook.
Grade..........................A-
-- Copyright © 2000. Ross Anthony, currently based in Los Angeles, has scripted and shot documentaries, music videos, and shorts in 35 countries across North America, Europe, Africa and Asia. For more reviews visit: http://RossAnthony.com
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


Zocial
Discussion Service
Zocial
Service provides you to chat anonymously.
Discuss your doubts and develop your skills further.
-
-


Johnson says whistleblower complaint will make foreign relations tough for future presidents
by Andrew O'ReillySen. Ron Johnson, R-Wis., said Sunday the whistleblower’s complaint about President Trump’s July 25 phone call with the Ukrainian president is going to make it difficult for future presidents to have private conversations with fellow world leaders.
"You know it's going to be very difficult for future presidents to have a candid conversation with a world leader because now we’ve set the precedent of leaking transcripts, the weakening of executive privilege is not good," Johnson said on NBC's "Meet the Press."
TRUMP DEFENDS TWEETING ABOUT YOVANOVITCH DURING HER TESTIMONY: 'I HAVE THE RIGHT TO SPEAK'
Johnson added: "If the whistleblower's goal is to improve President Trump's relationship with Ukraine he utterly failed.”
Johnson, a member of the Senate Foreign Relations Committee, also dismissed the allegations at the heart of the House impeachment inquiry that Trump made a military aid package to Ukraine contingent on Kiev publicly investigating former Vice President Joe Biden and his son Hunter’s dealings in the eastern European nation.
CLICK HERE TO GET THE FOX NEWS APP
Democrats argue that there is evidence of “quid pro quo” during the phone call and that Trump made the release of military aid to Ukraine contingent on Kiev investigating Biden – one of the president’s main 2020 political challengers – and his son. Hunter Biden was on the board of Ukrainian natural gas firm, Burisma Holdings, which in 2015 was subject to an investigation by Ukrainian officials.
The whistleblower complaint, which concerned the purported “quid pro quo” Trump laid out in the phone call, sparked the impeachment inquiry and the president has since been highly critical of the unnamed person – questioning the whistleblower’s credibility and asking for the disclosure of the person’s name.


Made by Mashiro_Sorata.Available on GitHub.Licensed MIT.
A cute music player on GitHub
Author : DIYGOD
Read More


| Methods' Details |
collapseToCurrentRegion
| void |
| collapseToCurrentRegion(); |
- Description
- expands the cursor into the region containing the cells to which
it currently points.
A region is a cell range bounded by empty cells.
|
|
collapseToCurrentArray
| void |
| collapseToCurrentArray(); |
- Description
- collapses the cursor into the range of the array formula to which
it is currently pointing.
To get the correct result, the top left cell of the original
cursor must point to any cell containing an array formula.
If not, the cursor is left unchanged.
|
|
collapseToMergedArea
| void |
| collapseToMergedArea(); |
- Description
- expands the cursor to merged cell ranges.
Expands the current cursor range in a way so that all merged
cell ranges intersecting the current range will fit completely.
If the cursor does not point to any range with merged cells, it
is left unchanged.
|
|
expandToEntireColumns
| void |
| expandToEntireColumns(); |
- Description
- expands the cursor to include the entire columns of the cells
to which it is currently pointing.
|
|
expandToEntireRows
| void |
| expandToEntireRows(); |
- Description
- expands the cursor to include the entire rows of the cells to
which it is currently pointing.
|
|
collapseToSize
| void |
| collapseToSize( |
[in] long |
nColumns, |
| [in] long |
nRows ); |
- Description
- changes the size of a cursor range.
The top left cell of the cursor keeps unmodified.
- Parameter nColumns
- the number of columns of the new cursor range.
- Parameter nRows
- the number of rows of the new cursor range.
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


{{ solution.description }}
{{ solution.businessUnit.name }}
{{ solution.team.name }}
{{ solution.costCentre }}
{{ solution.applications && solution.applications.length }}
{{ solution.team.name }}
{{ solution.lastUpdated }}
The purpose of a Sandbox is to test and drive innovation that it is not entirely understood at the time of deployment.
Once deployed the Sandbox will consist of a single project under a hierarchy of folders. The project will have labels attached to it to aid with reporting and billing. The project’s assigned team will be able to create resources and enable APIs within the project. It will have no network configured by default, but the team will be able to configure a network themselves. The project’s team will have the minimal set of IAM roles assigned to enable this functionality.
{{ solution.ci.value }}
{{ solution.sourceControl.value }}
{{ solution.cd.value }}


public class LocationIndexedLine
extends java.lang.Object
Geometry
using LinearLocation
s as the index.| Constructor and Description |
|---|
LocationIndexedLine(Geometry linearGeom)
Constructs an object which allows linear referencing along
a given linear
Geometry . |
| Modifier and Type | Method and Description |
|---|---|
LinearLocation |
clampIndex(LinearLocation index)
Computes a valid index for this line
by clamping the given index to the valid range of index values
|
Geometry |
extractLine(LinearLocation startIndex,
LinearLocation endIndex)
Computes the
LineString for the interval
on the line between the given indices. |
Coordinate |
extractPoint(LinearLocation index)
Computes the
Coordinate for the point
on the line at the given index. |
Coordinate |
extractPoint(LinearLocation index,
double offsetDistance)
Computes the
Coordinate for the point
on the line at the given index, offset by the given distance. |
LinearLocation |
getEndIndex()
Returns the index of the end of the line
|
LinearLocation |
getStartIndex()
Returns the index of the start of the line
|
LinearLocation |
indexOf(Coordinate pt)
Computes the index for a given point on the line.
|
LinearLocation |
indexOfAfter(Coordinate pt,
LinearLocation minIndex)
Finds the index for a point on the line
which is greater than the given index.
|
LinearLocation[] |
indicesOf(Geometry subLine)
Computes the indices for a subline of the line.
|
boolean |
isValidIndex(LinearLocation index)
Tests whether an index is in the valid index range for the line.
|
LinearLocation |
project(Coordinate pt)
Computes the index for the closest point on the line to the given point.
|
public Coordinate extractPoint(LinearLocation index)
Coordinate
for the point
on the line at the given index.
If the index is out of range the first or last point on the
line will be returned.
The Z-ordinate of the computed point will be interpolated from
the Z-ordinates of the line segment containing it, if they exist.index
- the index of the desired pointpublic Coordinate extractPoint(LinearLocation index, double offsetDistance)
Coordinate
for the point
on the line at the given index, offset by the given distance.
If the index is out of range the first or last point on the
line will be returned.
The computed point is offset to the left of the line if the offset distance is
positive, to the right if negative.
The Z-ordinate of the computed point will be interpolated from
the Z-ordinates of the line segment containing it, if they exist.index
- the index of the desired pointoffsetDistance
- the distance the point is offset from the segment
(positive is to the left, negative is to the right)public Geometry extractLine(LinearLocation startIndex, LinearLocation endIndex)
LineString
for the interval
on the line between the given indices.
If the start location is after the end location,
the computed linear geometry has reverse orientation to the input line.startIndex
- the index of the start of the intervalendIndex
- the index of the end of the intervalpublic LinearLocation indexOf(Coordinate pt)
The supplied point does not necessarily have to lie precisely
on the line, but if it is far from the line the accuracy and
performance of this function is not guaranteed.
Use project(com.vividsolutions.jts.geom.Coordinate)
to compute a guaranteed result for points
which may be far from the line.
pt
- a point on the lineproject(Coordinate)
public LinearLocation indexOfAfter(Coordinate pt, LinearLocation minIndex)
project(com.vividsolutions.jts.geom.Coordinate)
to compute a guaranteed result for points
which may be far from the line.pt
- a point on the lineminIndex
- the value the returned index must be greater thanproject(Coordinate)
public LinearLocation[] indicesOf(Geometry subLine)
subLine
- a subLine of the linepublic LinearLocation project(Coordinate pt)
pt
- a point on the linepublic LinearLocation getStartIndex()
public LinearLocation getEndIndex()
public boolean isValidIndex(LinearLocation index)
index
- the index to testtrue
if the index is in the valid rangepublic LinearLocation clampIndex(LinearLocation index)


--- layout: post title: Isimux categories: - News tags: - club - isimm - isimux - linux - Ubuntu status: publish type: post published: true meta: _publicize_done_external: a:1:{s:8:"facebook";a:1:{i:100003508657658;b:1;}} _wpas_done_4060388: '1' publicize_twitter_user: JacerOmri _wpas_done_4060389: '1' _wpas_done_4060390: '1' _wpas_done_4060391: '1' _wpas_skip_4060388: '1' geo_public: '0' _wpas_skip_4060389: '1' _wpas_skip_4060390: '1' _wpas_skip_4060391: '1' author: ---
this photo was taken by Chokri Khalifa during the first session of the ISIMUX free software club in October 2012.
The session was meant to be the opening event of the club, and host an install party for newly released Ubuntu version that time: 12.10.


(.) children physical time study (−. intervention participants weight group program activity food child mean obesity parents significant sleep data questionnaire. studies (%) Child healthy BMI intake overweight screen self-efficacy parent randomized times outcomes used using {border-style childhood Percentage Sleep px;} #ffffff;} Health eHealth information change trial activity, age difference discretionary frequency interventions months (SD) body controlled groups health prevention Participants Table dietary feeding included preschool-aged questions TimebHealthy behaviors internet-based parent-focused week, (/, Med Nutr baseline comparison early fruit helpful mass modeling nutrition -hour -month Obesity children: conducted day delivered index measured preschool sedentary −., (n=) Facebook Intervention Obes Pediatr analysis changes collection meta-analysis module participating post primary questionnaire received results time, −.; (/) Australian Behav Okely Research Screen Servings University Wollongong appropriate completed differences improve intake, intensity parental practices provided px; recall review systematic years {font-family (adjusted Diet Internet Rev access agreed analyses assessed based child-feeding children's child’s compared duration focus font-size group-by-time height lifestyle number obese obesity-related parent, programs range reported secondary social status traditionally (hours) ./oby.. BMI. Comparison Early Int Jones Organization Parent Psychol cognitive cohort consumption delivery demonstrated double; dyads eating effect fat feeding–pressure follow-up foods group. improvement improvements interaction measures modules online percentile possible research sample saturated similar size sugary vegetable young ./j.-...x Act Australia Body Clin Healthy Nutrition Overweight P=.), Parental Phys Res Social Statistics Variable World accelerometer age, assess baseline, behavior border-color border-width cakes, cereals; chips compliance content cookies, covariance diet doughnuts, efficacy face-to-face fast food; groups. kJ/kg key measure measures. modules. months, muffins. participant phone potato potential recruitment salty showed solid; sugar sweet sweets; takeaway theory therefore, van {font-style {font-weight −.) %), (Silver (and (estimate (n=). Baranowski CI) Children Clinical Diary/Foodworks. Easy Figure Hammersley Hesketh New Outcome P=.) Participant Participating Prev RCT Responses Results Secondary Spring) Statistical Trials Weight adolescents align analyzed attended baseline. bold cFrom care centers, children, children. coded collected courier; dScored day, dietary-related dietitian. difficulty displayed eSelf-efficacy education em; feeding–restriction fiftieth following foods; goal goals group, high home however, individual informed involving jFrom measurements media mixed mode moderate, moderate-to-vigorous month, mothers need objectively obtain parent-reported parent’s pilot point points practices, process proportion pt;} rarely, reluctance required respectively, risk role score. study, study. successful summed tests traditional vegetables vigorous website


Preparation time
over 2 hours
Cooking time
1 to 2 hours
Serves
Serves 10-14
Dietary
James Martin’s supersized doughnut with homemade ice cream takes the dude food trend to the next level.
Equipment and preparation: For the giant doughnut you will need a 38cm/15in deep-sided, non-stick cake tin, and a 12.5cm/5in cake tin or ovenproof ramekin. For the ice cream you will need either a Pacojet machine or an ice cream maker.
For the ice cream, in a saucepan, whisk the malted milk powder with a splash of milk until dissolved, then add the remaining milk and the cream and bring the mixture to a simmer.
In a bowl, whisk the egg yolks and caster sugar until pale and fluffy, then pour the warm milk mixture over the egg mixture, whisking continuously until well combined.
Return the mixture to the saucepan and cook over a gentle heat, whisking all the time, until the mixture thickens just enough to coat the back of a spoon.
If using a Pacojet machine, fill (but do not overfill) the container, then place it in the freezer for at least 4 hours, or until frozen solid. Alternatively, pour the mixture into an ice cream machine and churn until frozen, then transfer the ice cream to an airtight, freezeable container and freeze until needed.
Meanwhile, for the doughnut, mix the flour and sugar in a large mixing bowl, or in the bowl of a free-standing mixer.
Heat 100g/3½oz of the butter and half of the milk in a saucepan over a low heat. When the butter is just melting, remove the pan from the heat and whisk in the yeast until dissolved. Set aside.
Add the remaining milk to the pan containing the yeast mixture, then pour all of the liquid over the dry ingredients. Mix for 5 minutes in the free-standing mixer or using an electric whisk fitted with a bread hook attachment, on a medium speed, until the mixture has come together as a soft, sticky dough. Alternatively, knead by hand on a lightly floured work surface for 5 minutes.
Place the dough into a large bowl and cover with cling film, then set aside at room temperature to prove for 1 hour, or until well risen, spongey and nearly doubled in size.
Grease the insides of a 38cm/15in deep-sided, non-stick cake tin with butter, and grease the outside edge of a 12.5cm/5in cake tin or ovenproof ramekin. Place one inside the other.
Melt the remaining 150g/5oz of butter and pour into a large, high-sided roasting tray.
Mix together the demerara sugar and cinnamon in another high-sided roasting tray.
Turn out the proved dough onto a lightly floured work surface. Knead it gently for a couple of minutes until smooth and elastic, then roll it into a big bun shape. Using a pair of scissors, snip the dough in the centre to create a hole reaching all the way from the top to the bottom of the bun; use your fingers to gently increase the size of the hole.
Dip the monster doughnut into the melted butter until completely coated, then dust it on all sides with the cinnamon sugar. Transfer the doughnut to the prepared tin, easing the doughnut hole around the smaller cake tin or ramekin. Cover the doughnut loosely with cling film and set aside at room temperature for 40-45 minutes, or until the dough is well risen.
Preheat the oven to 180C/160C Fan/Gas 4.
When the monster doughnut has proved, remove the cling film and bake in the oven for 25-30 minutes, or until golden-brown on top and cooked through. Carefully remove the inner tin, then turn the whole doughnut out onto a large serving platter.
Stir the icing sugar and bourbon together in a bowl until smooth, then spoon the mixture into a small piping bag and drizzle it over the top of doughnut.
 Serve immediately.


This example searches for jQuery locally at ../node_modules/jquery/dist/jquery.min.js
, but
jQuery was not found there. Please eather install jQuery (via npm or manually)
or modify this HTML file and change the src attribute of the script tag loading jQuery
to specify a different local path or a CDN URL.
This example searches for jQuery.scrollTo locally at ../node_modules/jquery-folding-arrow-icon/dist/jquery-folding-arrow-icon-min.js
, but
it was not found there. Folding-arrow-icon is an optional dependency:
It's not necessary to use the showOrHideSection plug-in, but both plug-ins can optionally
be combined. However, this demo page is to demonstrate this combination, i.e. this page won't work
as intended without this additional plug-in!
This plug-in contains a script file named enable-default-links(-min).js
which
you can use directly or simply see as an example or inspiration for your own scripts.
This script file aims to be a generic JavaScript file which you can simply include in some web pages where your code then simply has to follow some simple conventions in order to support showing or hiding some sections. So this is mainly for people who don't want to write custom JavaScript code for every page, but who want to have some generic script, re-usable across many web pages, at least for some simple purposes.
What this demo script does is…
hideable
and hides them. If these have IDs
and the script finds corresponding heading elements (elements with the same ID suffixed with "_h",
see default value of the heading
option), these will get assigned the "hidden" class.
And if it finds default toggle elements (e.g. fist link insinde the aforementioned heading class,
see default toggle selector), these will also be initialized by adding the attribute
aria-expanded="false"
.showOrHideLink
and binds a JavaScript event handler
to them that will show or hide the next hideable
following after the link.ul.showOrHideGroups
) and prepends folding-arrows to
their list items. Also, it defines an onToggle event which will apply the
transformFoldingArrowIcon
plug-in function to these icons if their corresponding
sections (identified by ID naming convention, see below) get shown or hidden.Firstly, we insert a link of class showOrHideLink
somewhere.
This will be followed by a div of class hideable
.
This div.hideable will be hidden on page load, and clicking the link above will show or hide it:
This is the first element of class hideable
following the above
«link of class showOrHideLink
», which will thus be hidden or shown by clicking
the link. Nothing more. Nothing less.
This example does not make use of the heading, toggle and store options: There is no indicator (heading) showing whether the section is visible or not, not store (input for transmitting the visibility state) and the link is not fitted with an aria-exapanded attribute.
Just a very simple example, really.
Let's now add a heading element containing a showOrHideLink, followed by a hideable section:
So this is yet another div of class hideable
and thus automatically shown or hidden
by the preceding showOrHideLink
. But in this case, this section also has an ID:
"sec2"
. And the heading above has the ID "sec2_h". And due to the default naming
scheme (see default value for option heading
), this heading will now automatically
get assigned a CSS class showing
or hidden
depending on the visibility state,
and the inline CSS code of this example page uses that to visualize the state.
Also the first link inside the heading will (as defined by the default value of the toggle
option) be recognized as the toggle and thus be equipped with an aria-expanded
attribute.
showOrHideGroups
This simple enable-default-links
also supports combination of such links and sections
with unordered lists and the jquery-folding-arrow-icon
plug-in (although the
examples in demo page withFoldingArrows.html are probably more elegant,
since they require less HTML markup (and don't rely on IDs following specific naming conventions as in this case):

, this script will auto-configure
it for the folding-arrows-plug-in (if loaded), i.e. prepend folding arrow icons
to each list item.
hideable
, equipped with the
same ID as the list item, only without the "_h" suffix.


{{+bindTo:partials.standard_nacl_api}}
| PP_Resource(* | Create )(PP_Instance instance, PP_TimeTicks time_stamp, uint32_t modifiers, const struct PP_FloatPoint *wheel_delta, const struct PP_FloatPoint *wheel_ticks, PP_Bool scroll_by_page) |
| PP_Bool(* | IsWheelInputEvent )(PP_Resource resource) |
| struct PP_FloatPoint(* | GetDelta )(PP_Resource wheel_event) |
| struct PP_FloatPoint(* | GetTicks )(PP_Resource wheel_event) |
| PP_Bool(* | GetScrollByPage )(PP_Resource wheel_event) |
The PPB_WheelIputEvent
interface contains pointers to several functions related to wheel input events.
| PP_Resource(* PPB_WheelInputEvent::Create)(PP_Instance instance, PP_TimeTicks time_stamp, uint32_t modifiers, const struct PP_FloatPoint *wheel_delta, const struct PP_FloatPoint *wheel_ticks, PP_Bool scroll_by_page) |
Create() creates a wheel input event with the given parameters.
Normally you will get a wheel event passed through the HandleInputEvent
and will not need to create them, but some applications may want to create their own for internal use.
| [in] | instance | The instance for which this event occurred. |
| [in] | time_stamp | A PP_TimeTicks indicating the time when the event occurred. |
| [in] | modifiers | A bit field combination of the PP_InputEvent_Modifier flags. |
| [in] | wheel_delta | The scroll wheel's horizontal and vertical scroll amounts. |
| [in] | wheel_ticks | The number of "clicks" of the scroll wheel that have produced the event. |
| [in] | scroll_by_page | When true, the user is requesting to scroll by pages. When false, the user is requesting to scroll by lines. |
PP_Resource
containing the new wheel input event. struct PP_FloatPoint(* PPB_WheelInputEvent::GetDelta)(PP_Resource wheel_event) [read] |
GetDelta() returns the amount vertically and horizontally the user has requested to scroll by with their mouse wheel.
A scroll down or to the right (where the content moves up or left) is represented as positive values, and a scroll up or to the left (where the content moves down or right) is represented as negative values.
This amount is system dependent and will take into account the user's preferred scroll sensitivity and potentially also nonlinear acceleration based on the speed of the scrolling.
Devices will be of varying resolution. Some mice with large detents will only generate integer scroll amounts. But fractional values are also possible, for example, on some trackpads and newer mice that don't have "clicks".
| [in] | wheel_event | A PP_Resource corresponding to a wheel event. |
| PP_Bool(* PPB_WheelInputEvent::GetScrollByPage)(PP_Resource wheel_event) |
GetScrollByPage() indicates if the scroll delta x/y indicates pages or lines to scroll by.
| [in] | wheel_event | A PP_Resource corresponding to a wheel event. |
PP_TRUE
if the event is a wheel event and the user is scrolling by pages. PP_FALSE
if not or if the resource is not a wheel event. struct PP_FloatPoint(* PPB_WheelInputEvent::GetTicks)(PP_Resource wheel_event) [read] |
GetTicks() returns the number of "clicks" of the scroll wheel that have produced the event.
The value may have system-specific acceleration applied to it, depending on the device. The positive and negative meanings are the same as for GetDelta().
If you are scrolling, you probably want to use the delta values. These tick events can be useful if you aren't doing actual scrolling and don't want or pixel values. An example may be cycling between different items in a game.
| [in] | wheel_event | A PP_Resource corresponding to a wheel event. |
| PP_Bool(* PPB_WheelInputEvent::IsWheelInputEvent)(PP_Resource resource) |
IsWheelInputEvent() determines if a resource is a wheel event.
| [in] | wheel_event | A PP_Resource corresponding to an event. |
PP_TRUE
if the given resource is a valid wheel input event.


FITSIO Home
Next: 5.7.6 Column Binning or
Up: 5.7 ASCII and Binary
Previous: 5.7.4 Read and Write
Contents
These routines all parse and evaluate an input string containing a user
defined arithmetic expression. The first 3 routines select rows in a
FITS table, based on whether the expression evaluates to true (not
equal to zero) or false (zero). The other routines evaluate the
expression and calculate a value for each row of the table. The
allowed expression syntax is described in the row filter section in the
`Extended File Name Syntax' chapter of this document. The expression
may also be written to a text file, and the name of the file, prepended
with a '@' character may be supplied for the 'expr' parameter (e.g.
'@filename.txt'). The expression in the file can be arbitrarily
complex and extend over multiple lines of the file. Lines that begin
with 2 slash characters ('//') will be ignored and may be used to add
comments to the file.
- 1
- Evaluate a boolean expression over the indicated rows, returning an
array of flags indicating which rows evaluated to TRUE/FALSE.
Upon return,
*n_good_rows contains the number of rows that evaluate to TRUE.
int fits_find_rows / fffrow
(fitsfile *fptr, char *expr, long firstrow, long nrows,
> long *n_good_rows, char *row_status, int *status)
- 2
- Find the first row which satisfies the input boolean expression
int fits_find_first_row / ffffrw
(fitsfile *fptr, char *expr, > long *rownum, int *status)
- 3
- Evaluate an expression on all rows of a table. If the input and output
files are not the same, copy the TRUE rows to the output file; if the output
table is not empty, then this routine will append the new
selected rows after the existing rows. If the
files are the same, delete the FALSE rows (preserve the TRUE rows).
int fits_select_rows / ffsrow
(fitsfile *infptr, fitsfile *outfptr, char *expr, > int *status )
- 4
- Calculate an expression for the indicated rows of a table, returning
the results, cast as datatype (TSHORT, TDOUBLE, etc), in array. If
nulval==NULL, UNDEFs will be zeroed out. For vector results, the number
of elements returned may be less than nelements if nelements is not an
even multiple of the result dimension. Call fits_test_expr to obtain
the dimensions of the results.
int fits_calc_rows / ffcrow
(fitsfile *fptr, int datatype, char *expr, long firstrow,
long nelements, void *nulval, > void *array, int *anynul, int *status)
- 5
- Evaluate an expression and write the result either to a column (if
the expression is a function of other columns in the table) or to a
keyword (if the expression evaluates to a constant and is not a
function of other columns in the table). In the former case, the
parName parameter is the name of the column (which may or may not already
exist) into which to write the results, and parInfo contains an
optional TFORM keyword value if a new column is being created. If a
TFORM value is not specified then a default format will be used,
depending on the expression. If the expression evaluates to a constant,
then the result will be written to the keyword name given by the
parName parameter, and the parInfo parameter may be used to supply an
optional comment for the keyword. If the keyword does not already
exist, then the name of the keyword must be preceded with a '#' character,
otherwise the result will be written to a column with that name.
int fits_calculator / ffcalc
(fitsfile *infptr, char *expr, fitsfile *outfptr, char *parName,
char *parInfo, > int *status)
- 6
- This calculator routine is similar to the previous routine, except
that the expression is only evaluated over the specified
row ranges. nranges specifies the number of row ranges, and firstrow
and lastrow give the starting and ending row number of each range.
int fits_calculator_rng / ffcalc_rng
(fitsfile *infptr, char *expr, fitsfile *outfptr, char *parName,
char *parInfo, int nranges, long *firstrow, long *lastrow
> int *status)
- 7
- Evaluate the given expression and return dimension and type information
on the result. The returned dimensions correspond to a single row entry
of the requested expression, and are equivalent to the result of fits_read_tdim().
Note that strings are considered to be one element regardless of string length.
If maxdim == 0, then naxes is optional.
int fits_test_expr / fftexp
(fitsfile *fptr, char *expr, int maxdim > int *datatype, long *nelem, int *naxis,
long *naxes, int *status)
FITSIO Home
Next: 5.7.6 Column Binning or
Up: 5.7 ASCII and Binary
Previous: 5.7.4 Read and Write
Contents