drmaa_attr_values_s (3) Linux Manual Page
drmaa_attr_values_s – SynopsisAuthorGenerated automatically by Doxygen for torque from the source code.
Section 3: library functions
drmaa_attr_values_s – SynopsisAuthorGenerated automatically by Doxygen for torque from the source code.
drmaa_attr_names_s – SynopsisAuthorGenerated automatically by Doxygen for torque from the source code.
– DRMAA2 list routines Synopsis#include drmaa.h struct drmaa2_list_s; /*forward*/ typedef struct drmaa2_list_s *drmaa2_list; typedef struct drmaa2_list_s *drmaa2_string_list; typedef struct drmaa2_list_s *drmaa2_j_list; typedef struct drmaa2_list_s *drmaa2_queueinfo_list; typedef struct drmaa2_list_s *drmaa2_machineinfo_list; typedef struct drmaa2_list_s *drmaa2_slotinfo_list; typedef struct drmaa2_list_s *drmaa2_r_list; typedef enum drmaa2_listtype { DRMAA2_STRINGLIST, DRMAA2_JOBLIST, DRMAA2_QUEUEINFOLIST, DRMAA2_MACHINEINFOLIST, DRMAA2_SLOTINFOLIST, DRMAA2_RESERVATIONLIST } drmaa2_listtype; typedef void (*drmaa2_list_entryfree)(void **value); drmaa2_list drmaa2_list_create…
drmaa2_dict_create, drmaa2_dict_free, drmaa2_dict_list, drmaa2_dict_has, drmaa2_dict_get, drmaa2_dict_del, drmaa2_dict_set – DRMAA2 dictionary routines Synopsis#include drmaa.h typedef struct drmaa2_dict_s *drmaa2_dict; typedef void (*drmaa2_dict_entryfree)(char **key, char **val); drmaa2_dict drmaa2_dict_create (const drmaa2_dict_entryfree callback); void drmaa2_dict_free(drmaa2_dict *d); drmaa2_string_list drmaa2_dict_list(const drmaa2_dict d); drmaa2_bool drmaa2_dict_has(const drmaa2_dict d, const char *key); const char *drmaa2_dict_get(const drmaa2_dict d, const char *key); drmaa2_error drmaa2_dict_del(drmaa2_dict d, const char…
DRMAA interface. – ModulesVector iteration functions. The drmaa_get_next_X() functions SHALL store up to value_len bytes of the next attribute name / attribute value / job identifier from the values opaque string vector in the value buffer. Job template operations. The function drmaa_allocate_job_template() SHALL allocate a new job template, returned in jt. Functionsint drmaa_init (const char…
src/drmaa.h – DRMAA library for Torque/PBS. Synopsis#include <stddef.h> #include <stdio.h> Functionsint drmaa_init (const char *contact, char *error_diagnosis, size_t error_diag_len) The drmaa_init() function SHALL initialize DRMAA library and create a new DRMAA session, using the contact parameter, if provided, to determine to which DRMS to connect. int drmaa_exit (char *error_diagnosis, size_t error_diag_len) The drmaa_exit() function SHALL…
drmModeGetResources – retrieve current display configuration information Synopsis#include <xf86drm.h>#include <xf86drmMode.h> drmModeResPtr drmModeGetResources(int fd);DescriptiondrmModeGetResources allocates, populates, and returns a drmModeRes structure containing information about the current display configuration. The structure contains the following fields: typedef struct _drmModeRes { int count_fbs; uint32_t *fbs; int count_crtcs; uint32_t *crtcs; int count_connectors; uint32_t *connectors; int count_encoders; uint32_t *encoders; uint32_t min_width, max_width;…
drmHandleEvent – read and process pending DRM events Synopsis#include <xf86drm.h> int drmHandleEvent(int fd, drmEventContextPtr evctx);DescriptiondrmHandleEvent processes outstanding DRM events on the DRM file-descriptor passed as fd. This function should be called after the DRM file-descriptor has polled readable; it will read the events and use the passed-in evctx structure to call function pointers with the parameters noted…
drmAvailable – determine whether a DRM kernel driver has been loaded Synopsis#include <xf86drm.h> int drmAvailable(void);DescriptiondrmAvailable allows the caller to determine whether a kernel DRM driver is loaded. Return ValuedrmAvailable returns 1 if a DRM driver is currently loaded. Otherwise 0 is returned. Reporting BugsBugs in this function should be reported to http://bugs.freedesktop.org under the "Mesa"…
Driver Programming – The set of interface functions that the driver author must implement to create a driver and the functions to assist in the creation. Typedefstypedef void(* globus_xio_driver_callback_t )(globus_xio_operation_t op, globus_result_t result, void *user_arg) typedef void(* globus_xio_driver_data_callback_t )(globus_xio_operation_t op, globus_result_t result, globus_size_t nbytes, void *user_arg) typedef globus_result_t(* globus_xio_driver_attr_init_t )(void **out_driver_attr) typedef globus_result_t(* globus_xio_driver_attr_copy_t )(void…
QuantLib::ExtendedBinomialTree – Binomial tree base class. Synopsis#include <ql/experimental/lattices/extendedbinomialtree.hpp> Inherits Tree< T >. Public Typesenum Branches { branches = 2 } Public Member FunctionsExtendedBinomialTree (const boost::shared_ptr< StochasticProcess1D > &process, Time end, Size steps) Size size (Size i) const Size descendant (Size, Size index, Size branch) const Protected Member FunctionsReal driftStep (Time driftTime) const Protected AttributesReal x0_…
QuantLib::ExtendedBinomialTree – Binomial tree base class. Synopsis#include <ql/experimental/lattices/extendedbinomialtree.hpp> Inherits Tree< T >. Public Typesenum Branches { branches = 2 } Public Member FunctionsExtendedBinomialTree (const boost::shared_ptr< StochasticProcess1D > &process, Time end, Size steps) Size size (Size i) const Size descendant (Size, Size index, Size branch) const Protected Member FunctionsReal driftStep (Time driftTime) const Protected AttributesReal x0_…
QuantLib::ExtendedBlackScholesMertonProcess – experimental Black-Scholes-Merton stochastic process Synopsis#include <ql/experimental/processes/extendedblackscholesprocess.hpp> Inherits QuantLib::GeneralizedBlackScholesProcess. Public Typesenum Discretization { Euler, Milstein, PredictorCorrector } Public Member FunctionsExtendedBlackScholesMertonProcess (const Handle< Quote > &x0, const Handle< YieldTermStructure > ÷ndTS, const Handle< YieldTermStructure > &riskFreeTS, const Handle< BlackVolTermStructure > &blackVolTS, const boost::shared_ptr< discretization > &d=boost::shared_ptr< discretization >(new EulerDiscretization), Discretization evolDisc=Milstein) Real drift (Time t,…
drem, dremf, dreml, remainder, remainderf, remainderl – floating-point remainder function Synopsis#include <math.h> /* The C99 versions */ double remainder(double x, double y); float remainderf(float x, float y); long double remainderl(long double x, long double y); /* Obsolete synonyms */ double drem(double x, double y); float dremf(float x, float y); long double dreml(long double x, long…
drem, dremf, dreml, remainder, remainderf, remainderl – floating-point remainder function Synopsis#include <math.h> /* The C99 versions */ double remainder(double x, double y); float remainderf(float x, float y); long double remainderl(long double x, long double y); /* Obsolete synonyms */ double drem(double x, double y); float dremf(float x, float y); long double dreml(long double x, long…
drem, dremf, dreml, remainder, remainderf, remainderl – floating-point remainder function Synopsis#include <math.h> /* The C99 versions */ double remainder(double x, double y); float remainderf(float x, float y); long double remainderl(long double x, long double y); /* Obsolete synonyms */ double drem(double x, double y); float dremf(float x, float y); long double dreml(long double x, long…
drawing_mode – Sets the graphics drawing mode. Allegro game programming library. Synopsis#include <allegro.h> void drawing_mode(int mode, BITMAP *pattern, int x_anchor, int y_anchor); DescriptionSets the graphics drawing mode. This only affects the geometric routines like putpixel, lines, rectangles, circles, polygons, floodfill, etc, not the text output, blitting, or sprite drawing functions. The mode should be one…
draw_trans_sprite – Draws a sprite blending it with the destination. Allegro game programming library. Synopsis#include <allegro.h> void draw_trans_sprite(BITMAP *bmp, BITMAP *sprite, int x, int y); DescriptionUses the global color_map table or truecolor blender functions to overlay the sprite on top of the existing image. This must only be used after you have set up the…
draw_trans_rle_sprite – Draws a translucent RLE sprite. Allegro game programming library. Synopsis#include <allegro.h> void draw_trans_rle_sprite(BITMAP *bmp, const RLE_SPRITE *sprite, int x, int y); DescriptionTranslucent version of draw_rle_sprite(). See the description of draw_trans_sprite(). This must only be used after you have set up the color mapping table (for 256-color modes) or blender functions (for truecolor modes)….
draw_sprite_v_flip, draw_sprite_h_flip, draw_sprite_vh_flip – Draws the sprite transformed to the destination bitmap. Allegro game programming library. Synopsis#include <allegro.h> void draw_sprite_v_flip(BITMAP *bmp, BITMAP *sprite, int x, int y); void draw_sprite_h_flip(BITMAP *bmp, BITMAP *sprite, int x, int y); void draw_sprite_vh_flip(BITMAP *bmp, BITMAP *sprite, int x, int y); DescriptionThese are like draw_sprite(), but they additionally flip the image…