diskimage.c
diskimage.c is an ANSI C library for manipulating Commodore disk
images.
The following formats are supported:
- D64 - single sided 1541 disk image, with optional error info (currently ignored).
- D71 - double sided 1571 disk image.
- D81 - 3.5" 1581 disk image (only root directory)
The following operations are implemented:
- Open file ($ reads directory).
- Read file.
- Write file.
- Close file.
- Delete file.
- Rename file.
- Format disk.
- Allocate sector.
- Deallocate sector.
Download
diskimage-0.95.zip
- The latest release.
diskimage-0.96b.zip
- The latest beta release.
diskimage-20090111.zip
- The latest CVS snapshot, with the unfinished merge of Groepaz patches.
Sample Code
test_bam.c
- Prints out the BAM.
test_dir.c
- Lists the directory.
test_read.c
- Copies a file from a disk image.
test_write.c
- Copies a file to a disk image.
test_format.c
- Creates an empty disk image.
API
Image Mounting
DiskImage *di_load_image(char *name);
Loads an image from disk and returns a pointer to the DiskImage
structure.
DiskImage *di_create_image(char *name, int size);
Creates an empty image. The type is determined from the size. Needs
to be formatted before it can be used.
void di_free_image(DiskImage *di);
Frees an image in memory. If the image has been modified, the
changes will be written to disk.
void di_sync(DiskImage *di);
Writes the image to disk.
Status
int di_status(DiskImage *di, char *status);
Returns the drive status and copies the message to status.
File I/O
ImageFile *di_open(DiskImage *di, unsigned char *rawname, FileType type, char *mode);
Open a file for reading or writing. Mode should be either "rb" (for
reading) or "wb" for writing. If "$" is given instead of the raw
filename, the directory will be read.
void di_close(ImageFile *imgfile);
Close a file.
int di_read(ImageFile *imgfile, unsigned char *buffer, int len);
Read len bytes of data into the buffer. Returns the number of bytes
actually read.
int di_write(ImageFile *imgfile, unsigned char *buffer, int len);
Write len bytes of data from the buffer. Returns the number of bytes
actually written.
Disk Commands
int di_format(DiskImage *di, unsigned char *rawname, unsigned char *rawid);
Formats the image. If rawid is given, a full format is performed. If
rawid is NULL, a quick format is performed.
int di_delete(DiskImage *di, unsigned char *rawpattern, FileType type);
Deletes files matching the pattern.
int di_rename(DiskImage *di, unsigned char *oldrawname, unsigned char *newrawname, FileType type);
Renames a file.
Disk Geometry
int di_sectors_per_track(ImageType type, int track);
Returns the number of sectors in a given track.
int di_tracks(ImageType type);
Returns the number of tracks in the image.
BAM
unsigned char *di_title(DiskImage *di);
Returns a pointer to the disk title and id in the BAM.
int di_track_blocks_free(DiskImage *di, int track);
Returns the number of free sectors in a given track.
int di_is_ts_free(DiskImage *di, TrackSector ts);
Returns non-zero if the given track and sector is free, and zero if
it's allocated.
void di_alloc_ts(DiskImage *di, TrackSector ts);
Allocate a given track and sector.
void di_free_ts(DiskImage *di, TrackSector ts);
Free a given track and sector.
Name Conversion
int di_rawname_from_name(unsigned char *rawname, char *name);
Converts a NULL-terminated string to 16-byte 0xa0 padding. Returns
the length.
int di_name_from_rawname(char *name, unsigned char *rawname);
Converts a 0xa0 padded string to a NULL-terminated string. Returns
the length.
History
- diskimage.c v0.9, 2004-02-12
- Initial release.
- diskimage.c v0.91, 2004-06-02
- Bugfix: sector allocation would allocate from directory track.
Thanks to Ethan Dicks for finding this one.
- diskimage.c v0.92, 2005-08-06
- Bugfix: 1541 ignores T/S link in BAM.
Thanks to Henrik Jansson for finding the bug.
- diskimage.c v0.93, 2005-11-05
- Bugfix: 1541 ignores T/S link in BAM. Again.
Thanks to Henrik Jansson for finding the bug. Again.
- diskimage.c v0.94, 2005-11-05
- Bugfix: 1571 also ignores T/S link in BAM.
Added support for D64s with error info (but info is ignored).
- diskimage.c v0.95, 2006-04-25
- Bugfix: di_load_image didn't close the filehandle.
Added file name pattern matching.
Added di_delete and di_rename.
Added preliminary support for DOS status.
Links
Applications that use diskimage.c
License
diskimage.c and the sample code is released under a slightly modified
BSD license. In addition I'd appreciate if you let me know if you use
it so that I can provide a link above, and that you link back to this
page from your home page.
Copyright (c) 2003-2006, Per Olofsson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.


|
SCIDB4GDAL
|
A structure for storing temporal reference of an array stored in SciDB. More...
#include <scidb_structs.h>
Public Member Functions | |
| SciDBTemporalReference () | |
| Standard constructor. More... | |
| SciDBTemporalReference (string t0text, string dttext) | |
| The constructor using a temporal datum and an interval period. More... | |
| ~SciDBTemporalReference () | |
| Standard destructor. More... | |
| bool | isTemporal () |
| Checks if the temporal reference information are set. More... | |
| void | createTRS (string const &t0, string const &dt) |
| Creates and sets the temporal datum and resolution. More... | |
| void | setTPoint (TPoint *point) |
| Sets the temporal datum. More... | |
| void | setTInterval (TInterval *interval) |
| Sets the temporal resolution. More... | |
| TPoint * | getTPoint () |
| Getter for the temporal datum. More... | |
| TInterval * | getTInterval () |
| Getter for the temporal resolution. More... | |
| Public Member Functions inherited from scidb4geo::TReference | |
| TReference (string t0text, string dttext) | |
| Representation of a Temporal Reference. More... | |
| TPoint | getStart () |
| Getter for the temporal starting point. More... | |
| TInterval | getCellsize () |
| Getter for the temporal resolution. More... | |
| TPoint | datetimeAtIndex (int index) |
| Returns the date/time at a given index. More... | |
| int | indexAtDatetime (TPoint &t) |
| Returns the index at a specific date/time. More... | |
Public Attributes | |
| string | tdim |
Additional Inherited Members | |
| Protected Attributes inherited from scidb4geo::TReference | |
| TPoint * | _t0 |
| TInterval * | _dt |
| TResolution | _r |
A structure for storing temporal reference of an array stored in SciDB.
This structure holds information about the temporal reference of the array in SciDB. It inherits from the class scidb4geo::TReference, which is also used in the SciDB plugin for transforming between dates or date time statements into the discrete dimension value used in the SciDB array.
Similar to scidb4gdal::SciDBSpatialReference this struct simply extends the prior mentioned scidb4geo::TReference, by carrying also the name of the temporal dimension stated in SciDB
|
inline |
Standard constructor.
This is the standard constructor which invokes the parents standard constructor and sets the name of the temporal dimension to the scidb4gdals default temporal dimension name (scidb4gdal::SCIDB4GDAL_DEFAULT_TDIMNAME)
|
inline |
The constructor using a temporal datum and an interval period.
This constructor uses valid ISO 8601 strings to state the temporal datum (t0 value) and the intented temporal resolution by stating a temporal interval statement. The mentioned strings are passed to the parent class scidb4geo::TReference.
| t0text | temporal datum of the data set as a ISO 8601 conform date or date-time string, e.g. "2004-06-14" (date),"2004-06-14T23:34:30" (date-time) or "2004W28" (weeks) |
| dttext | interval statement conform to ISO 8601 time periods, e.g. "P1D" (one day interval) or "P14D" (14 days) |
|
inline |
Standard destructor.
Standard destructor
|
inline |
Creates and sets the temporal datum and resolution.
If the standard constructor was used the temporal datum and resolution are not set. To do this after creating the object this function will achieve this by taking valid ISO 8601 strings.
| t0 | temporal datum of the data set as a ISO 8601 conform date or date-time string, e.g. "2004-06-14" (date),"2004-06-14T23:34:30" (date-time) or "2004W28" (weeks) |
| dt | interval statement conform to ISO 8601 time periods, e.g. "P1D" (one day interval) or "P14D" (14 days) |
|
inline |
Getter for the temporal resolution.
Returns a pointer to the scidb4geo::TInterval carried by the parent class that represents the temporal resolution of the SciDB array.
|
inline |
Getter for the temporal datum.
Returns a pointer to the scidb4geo::TPoint that is assumed to be the temporal datum of the SciDB array.
|
inline |
Checks if the temporal reference information are set.
The function checks whether the information about the dimension name, the temporal datum and the temporal resolution was set.
|
inline |
Sets the temporal resolution.
If a scidb4geo::TInterval was created manually, this function overwrites the temporal interval with the steated temporal interval.
|
inline |
Sets the temporal datum.
If a scidb4ge::TPoint was created manually, this function overwrites the temporal datum with the stated temporal point.
| string scidb4gdal::SciDBTemporalReference::tdim |
The assigned name of the temporal dimension in SciDB.


No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach function for JavaScript.
We don't need junky 30K async libs. Really.
For browsers and node.js.
npm install async-each
if you’re using node.js.component install paulmillr/async-each
if you’re using component(1).bower install async-each
if you’re using Twitter Bower.each(array, iterator, callback);
— Array
, Function
, (optional) Function
iterator(item, next)
receives current item and a callback that will mark the item as done. next
callback receives optional error, transformedItem
arguments.callback(error, transformedArray)
optionally receives first error and transformed result Array
.Node.js:
var each = require('async-each');
each(['a.js', 'b.js', 'c.js'], fs.readFile, function(error, contents) {
if (error) console.error(error);
console.log('Contents for a, b and c:', contents);
});
Browser:
// component(1)
var each = require('async-each');
each(list, fn, callback);
// Default:
window.asyncEach(list, fn, callback);
The MIT License (MIT)
Copyright (c) 2013 Paul Miller paulmillr.com
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.


amrza.Modal samples
Empty, with no options.
With title and content.
Content with line breaks.
Custom width.
Custom position.
Custom Ok button.
With all buttons.
RTL
RTL with translation.
RTL with translation and all buttons.
Inject and using values.
Custom HTML
Custom HTML advanced!


As of the 2010 census, zip code 90012 is located in Congressional District 34, CA.
See all District Zip Codes714,351
22.9%
31.5 minutes
19,211
51.5% | 48.9%
Men out-populate women in District 34 of California by 2.2%.
To put this in perspective, District 34 of California has a lower percentage of women and a higher percentage of men than California.
Taking a look at the big picture, District 34 of California has a low percentage of women and a high percentage of men for the United States.
Click to see more about gender demographics in California and the United States.
District 34 | CA | USA
81.5% of K-12 public school students in this District participate in the National School Lunch Program (NSLP).
To qualify for free lunch, children's family income must be under $15,171 in 2015 (below 130% of the poverty line). 76.7% of students in this District receive free lunch.
To qualify for reduced lunch, children's family income must be below $21,590 annual income in 2015 (185% of the poverty line). 4.9% of students in this District receive reduced lunch.
Learn education facts about K-12 public and private schools, colleges and more for District 34 of California, CA here.
Eric Garcetti is the 42nd Mayor of Los Angeles. As the city’s chief executive, he has led L.A. to raise its minimum wage, lower its business tax, bring Hollywood jobs home, and pass a groundbreaking initiative to house the homeless.
Gilbert Cedillo has proven himself a champion for the working poor and a public servant who brings people together to make strong public policy. He brings 14 years of legislative experience to the City Council having served in the California State Assembly and the State Senate.
Supervisor Hilda L. Solis was sworn in as Los Angeles County Supervisor for the First District of Los Angeles County on December 1, 2014. Prior to becoming Supervisor she served as Secretary of Labor. Supervisor Solis was confirmed on February 24, 2009, becoming the first Latina to serve in the United States Cabinet.
(213)974-4111
856 Kenneth Hahn
Hall of Administration
500 West Temple Street
Los Angeles, CA 90012
Brown was elected Governor in 1974 and reelected in 1978, by a margin of 21%. During Governor Brown's tenure, California created 1.9 million new jobs. Brown marshaled both Democrats and Republicans in the legislature to slow the growth of state government, and eliminated capital gains taxes for many small businesses.
Senator Kevin de León (is setting a bold agenda to give every kid a fair shot at a higher education, and to combat climate change while building a new, low-carbon economy with opportunities for all Californians. Leading the Senate of the largest state in the union, Senator de León takes on challenging issues that strengthen the national reach of California’s policy-making.
Jimmy Gomez was elected to the California State Assembly in 2012 and reelected in 2014 and most recently in 2016. In the Assembly, Jimmy is a national champion on Paid Family Leave. He authored and passed Assembly Bill 908, the nation’s most progressive expansion of Paid Family Leave that President Obama hailed as a model for Congress.
Dianne Goldman Berman Feinstein is the senior United States Senator from California. A member of the Democratic Party, she has served in the Senate since 1992. She also served as the 38th Mayor of San Francisco from 1978 to 1988.
Senator-elect Kamala D. Harris is the first African American and first woman to serve as Attorney General of California and the second African American woman to be elected to the United States Senate in history. Throughout her career as a prosecutor, Harris has been a tireless advocate for the most voiceless and vulnerable Californians.
Xavier Becerra became California Attorney General in January 2017 to defend the rights of the nearly 40 million people statewide. His work as chief law enforcement officer follows more than two decades of service to the people of Los Angeles in the U.S. House of Representatives, where he was also was elected to serve in leadership.


WITNESS LIST Natural Resources Committee March 6, 1997-3:30P SB 1 For: Anderson, Dwayne (Clean Water Action), Austin Beecherl, Louis A. Jr. (Trinity Improvement Asc), Dallas Ellis, Greg (Edwards Aquifer Auth.), League City Johnson, Russell S. (S.A. Water System), San Antonio Kaiser, Ronald (self), College Sta. Kramer, Ken (Sierra Club), Austin Perrenot, Frederick A. (City of Houston), Houston Rothe, Greg (S.A. Water System), San Antonio Rusk, David W. (Champion International), Lufkin Stansell, Wade (AECT), Dallas Swobodu, Melvin T. (TCC), Orange Thuss, Michael F. (S.A. Water System), San Antonio West, William E. Jr (GBRA), Seguin On: Akers, Monte Edward (TML), Austin Bartosh, Dan V. Jr. (Am Elec. Assoc.), Dallas Booth, Michael J. (Tarrant Reg. Water Dist), Austin Bowers, Richard S. (North Plains G.W. Dist.), Dumas Box, Jim C. (Harris Galveston Coast.), Houston Briesemeister, Janee (Consumers Union), Austin Bull, Ken (McCulloch Cnty Prop Own), Rochelle Culbertson, Tom M. (Regional Cln Air & Wtr), San Antonio Frossard, Gus W. (Tarrant Reg Water Dist.), Ft. Worth Goss, Randy J. (City of Austin), Austin Halbert, Wane (Tx Irrigation Council), Harlingen Kowis, James (TNRCC), Austin Lange, Allan J. (Lipan-Kickapoo Dist), Vancourt Moore, Joe G. Jr. (self), Austin Oliver, Jim M. (Tarrant Reg. Water Dist), Ft. Worth Reed, Cyrus (Tx Cntr. for Policy Std), Austin Williams, C.E. (Tx Alliance Ground Dist), White Deer Registering, but not testifying: For: Lawson, Noel G. (Southeast Neighbor Assn), Austin Rivero, Hector L. (Tx Assoc of Realtors), Austin Turner, Dan R. (Edwards Aquifer), Manchaca On: Ahrens, Carolyn (Tarrant Reg Water Dist), Austin Gutierrez, Hector (El Paso Water Utilities), Austin Loeffler, Cindy L. (TPWD), Austin McKinney, Larry D. (TPWD), Austin Rice, Irvin M. (Trinity Improvemnt Asso), Dallas Shelton, Lisa M. (Am. Elec. Assoc/Motorol), Austin Wise, Andrew M. (American Electronics), Austin


0
| Name |
Gender |
| Daenerys Targaryen |
Female |
| Joffrey Baratheon |
Male |
| Tyrion Lannister |
Male |
| Sansa Stark |
Female |
| Eddard Stark |
Male |
| Cersei Lannister |
Female |
| Arya Stark |
Female |
| Tywin Lannister |
Male |
| Brienne of Tarth |
Female |
| Robert Baratheon |
Male |
| Jaime Lannister |
Male |
| Margaery Tyrell |
Female |
| Khal Drogo |
Male |
| Jon Snow |
Male |
| Viserys Targaryen |
Male |
| Jorah Mormont |
Male |
| Davos Seaworth |
Male |
| Petyr Baelish |
Male |
| Renly Baratheon |
Male |
| Olenna Tyrell |
Female |
0
- House Baratheon
- House Bolton
- House Florent
- House Lannister
- House Martell
- House Redwyne
- House Stark
- House Umber
- House Targaryen
- House Tully


{% extends "base.html" %} {% block title %} Homepage {% endblock %} {% block content %}
Since we are in the NBA Playoff season, this web app contains a database of teams, and their players, who made it to the Conference Finals for the 2018 NBA Playoffs. You can view the contents of each table within the database from the navigation bar. You can continue to update the database as the games continue within each table's webpage. Enjoy the site and the playoffs!


Force an element to shrink wrap its contents using float left (blue). Force an element to fill its parent (pink).
u-sizeWrap
u-sizeFill
Force an element to shrink wrap its contents using float right (blue).


Basis class supports the evaluation of a basis function.
More...
|
| def | __init__ (self, basisType, nbasis, ndim) |
| | The constructor of Basis. More...
|
| |
| def | get (self, x) |
| | obtain basis functions at specific points, block-diagonal More...
|
| |
|
| def | _get_1d (self, x) |
| | obtain basis functions at specific points More...
|
| |
| def | _getBasisRbf (self, x_vec, nbasis) |
| | evaluates the rbf basis function More...
|
| |
| def | _getBasisRbfVector (self, x_sca, nbasis) |
| | evaluates the rbf basis function for a single x More...
|
| |
| def | _funcRbf (self, x, mu1, sig1) |
| | evaluates a single rbf basis function for a single x More...
|
| |
| def | _getBasisBernstein (self, x_vec, nbasis) |
| | evaluates the Bernstein basis function in [0, 1] using the formula More...
|
| |
| def | _getBasisBernsteinVector (self, x_sca, nbasis) |
| | evaluates the Bernstein basis function in [0, 1] using the formula for a single x More...
|
| |
Basis class supports the evaluation of a basis function.
These Basis functions function on the domain [0,1], however produce these on multiple dimensions by returning a block-diagonal matrix. Hence an identical basis function gets returned on each dimension.
§ __init__()
| def teetool.basis.Basis.__init__ |
( |
|
self, |
|
|
|
basisType, |
|
|
|
nbasis, |
|
|
|
ndim |
|
) |
| |
The constructor of Basis.
- Parameters
-
| self | object pointer |
| basisType | 'rbf' or 'bernstein' basis-type where 'rbf' = uniformly distributed basis functions and 'bernstein' = Bernstein polynomials |
| nbasis | number of basis functions used |
| ndim | number of dimensions trajectories |
§ _funcRbf()
| def teetool.basis.Basis._funcRbf |
( |
|
self, |
|
|
|
x, |
|
|
|
mu1, |
|
|
|
sig1 |
|
) |
| |
|
private |
evaluates a single rbf basis function for a single x
- Parameters
-
| self | The object pointer. |
| x | point to evaluate [1 x 1] |
| mu1 | centre of rbf |
| sig1 | standard deviation of rbf |
- Returns
- values of rbf basis functions [1 x nbasis]
§ _get_1d()
| def teetool.basis.Basis._get_1d |
( |
|
self, |
|
|
|
x |
|
) |
| |
|
private |
obtain basis functions at specific points
- Parameters
-
| self | The object pointer. |
| x | points to evaluate [npoints x 1] |
- Returns
- values of basis functions [npoints x nbasis]
§ _getBasisBernstein()
| def teetool.basis.Basis._getBasisBernstein |
( |
|
self, |
|
|
|
x_vec, |
|
|
|
nbasis |
|
) |
| |
|
private |
evaluates the Bernstein basis function in [0, 1] using the formula
- Parameters
-
| self | The object pointer. |
| x_vec | points to evaluate [npoints x 1] |
| nbasis | number of basis functions (= polynomial degree + 1) |
- Returns
- values of Bernstein basis functions [npoints x nbasis]
§ _getBasisBernsteinVector()
| def teetool.basis.Basis._getBasisBernsteinVector |
( |
|
self, |
|
|
|
x_sca, |
|
|
|
nbasis |
|
) |
| |
|
private |
evaluates the Bernstein basis function in [0, 1] using the formula for a single x
- Parameters
-
| self | The object pointer. |
| x_sca | point to evaluate [1 x 1] |
| nbasis | number of basis functions (= polynomial degree + 1) |
- Returns
- values of Bernstein basis functions [npoints x nbasis]
§ _getBasisRbf()
| def teetool.basis.Basis._getBasisRbf |
( |
|
self, |
|
|
|
x_vec, |
|
|
|
nbasis |
|
) |
| |
|
private |
evaluates the rbf basis function
- Parameters
-
| self | The object pointer. |
| x_vec | points to evaluate [npoints x 1] |
| nbasis | number of basis functions |
- Returns
- values of rbf basis functions [npoints x nbasis]
§ _getBasisRbfVector()
| def teetool.basis.Basis._getBasisRbfVector |
( |
|
self, |
|
|
|
x_sca, |
|
|
|
nbasis |
|
) |
| |
|
private |
evaluates the rbf basis function for a single x
- Parameters
-
| self | The object pointer. |
| x_sca | point to evaluate [1 x 1] |
| nbasis | number of basis functions |
- Returns
- values of rbf basis functions [1 x nbasis]
§ get()
| def teetool.basis.Basis.get |
( |
|
self, |
|
|
|
x |
|
) |
| |
obtain basis functions at specific points, block-diagonal
- Parameters
-
| self | The object pointer. |
| x | points to evaluate [npoints x 1] |
- Returns
- values of basis functions [ndim*npoints x ndim*nbasis]
§ _basisType
| teetool.basis.Basis._basisType |
|
private |
'rbf' or 'bernstein' basis type
§ _nbasis
| teetool.basis.Basis._nbasis |
|
private |
number of basis functions
§ _ndim
| teetool.basis.Basis._ndim |
|
private |
§ _range
| teetool.basis.Basis._range |
|
private |
defines range of basis function
The documentation for this class was generated from the following file:


Replace indentation levels
Trim leading whitespace from CSS and JS
Change placement of curly brackets
Switch back and forth from tabs/spaces
Source code on Github


[[Active Jobs|Active Jobs card title, displayed on Cron Job details page.]]
[[There are currently no Jobs managed by this Cron Job.|]]
[[Inactive Jobs|Inactive Jobs card title, displayed on Cron Job details page.]]
[[There are currently no inactive Jobs managed by this Cron Job.|]]


The number of users boosting this guild.
var PremiumSubscriptionCount: number
The value of this property is the number users that are using their nitro subscription to boost this server.