Specify Architecture Information To Gcc - C And C++?
Sep 21, 2009
Our project is to optimize gcc's instruction scheduling. It requires us to specify architecture information
(basically number of cycles per instruction, stall and branch delays) to gcc, to optimize structural hazard detection.
Problem: Is there any specific format in which we can specify this information to gcc? Is it possible to embed this additional architecture specific detail, in .md files?[code]...
View 2 Replies
ADVERTISEMENT
Jul 20, 2005
I am faced with the task of porting a client application to a web
architecture platform, e.g. to make it browser based. The technology I
used was J2EE, e.g. servlets/JSP pages and HTML/javascript.
The application I'm talking about is displaying data from database in
grids, roughly speaking from 3 tables, that have parent-child
relationship between them, and when you click on a row in a parent
grid the content in the child grid should change.
I decided for two design patterns, that I'm now beginning to doubt,
which is the reason I'm posting this.
In order to make the design similar I created a javascript component,
Table using the rather awkard javascript notation for object oriented
programming. The usage of that table is similar to the table in Swing
or SWT: Code:
View 2 Replies
View Related
Jul 20, 2005
I have been browsing through the Mozzilla source and have been impressed
at the level to which javascript decends. Clearly there is a lot of
javascript that ends up embedded in the binaries and not as stand alone
ASCII scripts. Anybody know how this works?
View 2 Replies
View Related
Mar 4, 2010
I was trying to use dTree navigation menu as follows:
d.add(4,0,'Profile','a href="page_1.html" target="content"');
Intention was, when i will click on profile (from my left sided menu) then the linked pages will appear on my right side frame named 'content'. But every time that is giving me the following error:Firefox can't find the file at /C:/Users/Faisal/Desktop/friday/a href=.How to use dTree menu with frame architecture?
View 1 Replies
View Related
Oct 29, 2010
I have a HTML form containing two text box controls in it and a submit button. When a user enters information in those two textboxes and click on submit, the information is sent to a function in Javascript. In the javascript, the information from those textboxes is stored in a javascript variable. The problem is as follows:When I am inputting string text in the html text boxes and in the javascript when I am trying to print those values, it is giving me out an error saying NaN. However when i input integer values in the text boxes it is printing those numbers. Is there a conversion that I have to do for the string to be printed. I am new to Javascript and need your help. This is a basic code of Javascript. Below is the code that I have.
<html>
<script type = "text/javascript">
function square(form)
[code]....
View 2 Replies
View Related
Mar 25, 2011
I have been away from development for a while and I'm looking for a way to get back into it. I have two questions:
1) Is the choice of javascript framework independent of the choices of all the other application parts like the object-relational mapping layer, the app server, etc? Right now, I'm looking at JQuery, and ExtJS.
2) Does anyone know where I can get a complete sample application made of open source parts and using all the best practices that I can just copy to get started?
And I mean complete... as if a real life functioning enterprise the likes of Google just zipped up their whole open-source production and development hard drives and made it all available for people to download, unzip, and run... mysql database, bug tracking system, build system, version control, connection pooling services, web server, app server, javascript libraries, internationalization resources, configured IDE, etc. etc. All of everything configured and wrapped up in a single zip file ready to go with just a few changes to IP addresses and passwords. From that we could just change things to build our own first app.I've tried getting started with a bunch of different open source application stacks and I always get stuck. And every time it happens I wonder why I can't just copy someone's entire web development folder. It's open-source and it's just ones and zeroes. Why can't we just copy it and skip the setup process and the time of figuring out best practices on our own?
View 1 Replies
View Related
Jul 23, 2005
I want to open a popup window and the window should not display the URL
information anywhere on the browser....
View 7 Replies
View Related
Apr 1, 2011
If I have this [code]...
I want to call the tags inside, the question is how can I do that?
View 3 Replies
View Related
Nov 21, 2010
Before i submit my problem just to let you know i've been using jquery and javascripting for about a month or 2 now so i appologise in advance if this is something stupid. My main issue is that i want this to select from a database so i found out that you can get information from php files i just couldn't figure out how to get the variables it submits. I then found out that i can use xml to get the information to the script. but the code i have written doesn't seem to display anything. The code in red is what i think the issue is.
[Code]...
View 1 Replies
View Related
Nov 14, 2001
I would like to put a welcome message on one of my sites... something like "welcome username!" with the username being the login name that that person used to login to their computers.
Is it possible to gather this information using client-side js? if not, how can i accomplish this without having each person enter their name upon entering the page?
View 3 Replies
View Related
Aug 24, 2010
I am currently in the process of writing an interactive calendar in jscript. It's my first major project so bear with me please, I'm quite new :P.
I was hoping to add a section of code to the calendar which would allow me to display events happening on a certain date and add new ones etc.
However I was not sure how best to store the information as I know javascript is not 'designed' to access files. I was wondering maybe a cookie or learning how to use SQL? Or is there something that I haven't come accross yet?
View 2 Replies
View Related
Jul 23, 2005
Page works fine...however I get a little message on the bottom left of the page (on the bar) that says there is an error with the page.
How do I tell the page to tell me what's wrong?
View 3 Replies
View Related
Sep 8, 2005
I am doing this:
window.location="page2.php?subj="+subj+"&body="+body;
to send information to another page.
However, I don't want that second page to show up or display in any way.
There is only behind-the-scenes work going on in that page.
How do I pass the information to that page so that it is only processed and
does not launch a window?
View 10 Replies
View Related
Jul 20, 2005
Is there anyway I can get the username and domain of the user accessing a
webpage using somekind of client side script. Users accessing the page are
always Windows users.
The actual scenario is, I need to allow the access to the page only if the
user is logged onto a domain. If user is not logged in to the domain deny
access.
View 1 Replies
View Related
Jul 20, 2005
Is there anyway to use javascript to be able to retrieve information from
someone, then have it post to a text document on a server? Without
overwriting whats in the document at the time. The server I'm using doesn't
support php, asp, or anything to be able to database (that and i don't even
know how, yet). Plus, I don't need it to retrieve from a database...just a
simple text file that can be written to and read from.
View 3 Replies
View Related
Jan 15, 2009
ok lets see if i can explain this correctly...
i have a div up here and the id is inuse it chooses the first selection automatically to use
below that is a "menu" when one of the items are clicked it moves the information pulled via php from whichever one is clicked to the inuse div... as you can tell i am new to js and am trying to start out doing some different things with menu onlick items etc..
View 1 Replies
View Related
Mar 31, 2009
Is there any way to obtain the value in the <title> element with javascript, in the same way that window.location obtains the url?
View 3 Replies
View Related
May 18, 2010
I am looking for help creating javascript auto-apearing box, which will appear when someone onmouse on the hyperlink.
View 10 Replies
View Related
Jan 9, 2007
This functions great, but when the form is submitted the fields that rely on the script are not transmitted. I am using FrontPage for my forms and would like to continue, if possible. The fields "Option1" & "Option2" are the fields that aren't being submitted correctly. If I don't select these options then EMPTY is submitted, correctly. If I select a value such as Topic1, then the form is submitted with the answer blank. Code:
View 2 Replies
View Related
Jan 25, 2007
Ok I got a form page - i was thinking of putting simle "question mark" hover style icons next to every field - explaining what we need for that partucluar field - you know the deal?
View 5 Replies
View Related
Feb 6, 2006
I have an object that looks like this:
"Jan 2005 120"
"Jan 2005 123"
"Jan 2005 126"
"Jan 2005 128"
"Jan 2005 130"
"Jan 2005 132"
"Feb 2005 135"
"Feb 2005 143"
"Mar 2005 120"
"Mar 2005 123"
"Mar 2005 126"
"Jul 2005 128"
"Jul 2005 130"
I want to output:
Jan
Fed
Mar
Jul
How can i most efficiently accomplish this?
View 4 Replies
View Related
Oct 10, 2006
I have select words that are within a <span class="word">example</span>. I need to make javascript pull the word "example" here so I can use that as a search term, and return the value which is linked to that word in an array. What would be the best way to do this?
var arrElements = document.getElementsByTagName('span');
var words = new Array();
for (i = 0; i < arrElements.length; i++)
{
// Save the current element
oElement = arrElements[i];
if(oElement.className == "word")
{
View 4 Replies
View Related
Nov 7, 2011
I have a listbox which has some items in it and a button. I select some items and click the button. They are displayed in a table. I want these items to be displayed in the table to be unique...i.e. if I reselect those same items they should not be displayed in the table and may be give some error message.
View 1 Replies
View Related
Dec 27, 2010
I want to make it so when people hover over some things on my site it pops up a box with information, like on the twitter trending list or on several facebook objects etc etc.
View 2 Replies
View Related
Feb 22, 2011
Javascript file
function show() {
document.getElementById("").style.visibility;
if(dom.visibility == "visible")
dom.visibility = "hidden";
else
dom.visibility = "visible";
} CSS file .....
Html File
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN"
"[URL]">
<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="js.js" type="text/javascript">
</script>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Homework5</title>
</head>
My goal is to have the four Javascript buttons toggle the four pictures on and off. I know my css is right. Since everything is placed where I want it and is hidden when the page loads. I believe everything in my html is right. I am reasonably sure I am passing the img id using the onclick function correctly. I think my problem is in the Javascript file. I am thinking I am not passing it into the function correctly.
View 4 Replies
View Related
May 8, 2009
I have a large table with too many columns, I have a column show / hide script. Just to reduce the script size, I want to do some modification. On the First ROW of the Table, there are columns heading, and each have an ID. i.e. <image id="col1"...> Now, I want to have a function where if I pass the ID, it determine the column index it self, OR if I pass the column Index, it will return the column ID.
View 2 Replies
View Related