What do symbol ^ and stand for in the following script?

What do symbol *^* and *>>>* stand for in the following script?
Does *(int)* means that (temp ^ (temp >>> 32) return the int format?
long temp = Double.doubleToLongBits(salary);
result = PRIME * result + (int) (temp ^ (temp >>> 32));
return result;
Thank you very much

jetq wrote:
What do symbol *^* and *>>>* stand for in the following script?In Java, this is referred to as "code", script could be confused with Javascript, which is not Java at all.
The previous reply will help you find all you need to know.
Does *(int)* means that (temp ^ (temp >>> 32) return the int format?"format" refers to how a value is converted to text. (Sometimes how it is to be parsed as well)
"(int)" casts the long value to an int value (signed 32-bit)
long temp = Double.doubleToLongBits(salary);
result = PRIME * result + (int) (temp ^ (temp >>> 32));This will treat -0.0 as being different to 0.0. If this is undesirable, you can do something like...
long temp = aDouble != +0.0d ? Double.doubleToLongBits(aDouble) : 0L;
result = PRIME * result + (int) (temp ^ (temp >>> 32));

Similar Messages

  • What do the symbol and stand for in the following script? not like displa

    What do the symbol *>* and *>>* stand for in the following script? It is displacement? They do not like displacement symbols.
    $JAVA_HOME/bin/java -cp $CLASSPATH $JVM_OPT $SYS_OPT
    oracle.sysman.integration.coherence.EMIntegrationServer *>* $COHERENCE_
    HOME/mgmtnode.log *>>* $COHERENCE_HOME/mgmtnode.err &
    Thank you

    jverd wrote:
    BigDaddyLoveHandles wrote:
    But the example, if it's correct, seems to be using >> to redirect stderr, not to append stdout. The OP should identify what OS and what shell they are using.In any unix shell I'm aware of, > is overwrite and >> is append.Which is why he said "seems to be using >> to redirect stderr". Which I read to mean that BDLH also found it to be incorrect but some "corner-product" shell may do this sort of thing (not that I know, or have heard, of any that do). ;-)
    In a bourne family shell, the initial construct would cause stdout to replace the log file and append the err file, and would not redirect stderr.
    If you want to send stdout to one file and stderr to another, with overwrite, it'd be
    command > logfile 2> errfile
    Correct, of course. ;-)
    And, of course, changing either of those ">" symbols to ">>" would append (that stream), but you've already said that. ;-)

  • What does symbol ! stand for in the following code?

    What does symbol *!* stand for in the following code? What does SYSTEM mean?
    <! DOCTYPE report-group SYSTEM "report-group.dtd">
    Edited by: user11337968 on Jul 3, 2009 4:53 PM

    It is just part of the XML specification; to do a "doctype", you must have an open angle bracket followed by an exclamation point. See [doctype decl | http://www.w3.org/TR/REC-xml/#NT-doctypedecl] for more information.
    Peace,
    Cameron Purdy | Oracle Coherence

  • What do "w/" and "w/o" stand for in the following paragragh?

    What do "w/" and "w/o" stand for in the following paragragh?
    [root@fedora ~]#ps --help
    ********* simple selection ********* ********* selection by list *********
    -A all processes -C by command name
    -N negate selection -G by real group ID (supports names)
    -a all w/ tty except session leaders -U by real user ID (supports names)
    -d all except session leaders -g by session OR by effective group name
    -e all processes -p by process ID
    T all processes on this terminal -s processes in the sessions given
    a all w/ tty, including other users -t by tty
    g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
    r only running processes U processes for specified users
    x processes w/o controlling ttys t by tty
    *********** output format ********** *********** long options ***********
    -o,o user-defined -f full Group User pid cols --ppid
    -j,j job control s signal group user sid rows --info
    -O,O preloaded -o v virtual memory cumulative format --deselect
    -l,l long u user-oriented sort tty forest version
    -F extra full X registers heading no-heading --context
    ********* misc options *********
    -V,V show version L list format codes f ASCII art forest
    -m,m,-L,-T,H threads S children in sum -y change -l format
    -M,Z security data c true command name -c scheduling class
    -w,w wide output n numeric WCHAN,UID -H process hierarchy
    [root@fedora ~]#

    w/ = with
    w/o = without
    these abbreviations are in common usage in the English language and frequently encountered in legal and technical documents
    When you run into strange abbreviations or acronyms, you could turn to the internet and check on http://acronyms.thefreedictionary.com/ for possible translations

  • HT201471 What does MM stand for in the ipad mini and ipad 4th gen description (wifi+cellular) ?

    What does MM stand for in the ipad mini and ipad 4th gen description (wifi+cellular) ?

    I think it must stand for "made of money" because this 4th generation ipad model 1460 is the most expensive.

  • My battery runs low very fast (three hours). I looked in the usage settings and it seems the time for usage and stand-by are the same, allthough i did have my iphone on stand-by!! What can i do?

    Community,
    I have a problem with my iphone 4. Every few months my battery starts draining within a few hours. I have tried all kinds of battery saving tips, but they don't help. When i go to the settings/general/usage is can see that the time for Usage and Stand-by are the same, so my phone is fully on all the time this explains the draining. But in reallity i turn my phone to stand-by most of the time, i mean the screen is black and all???
    The first and second time a had this problem, both a few months a part,  i restored my phone and it was solved. This time i restored my phone but this did not help!! And restoring my phone every two months is not my preferd way of solving this problem.
    Does anybody have an idea on how to solve this problem? can anybody help me?
    best regards,
    Merijn

    Restoring is the answer. It sounds as if there is a rogue process constantly draining your battery.
    The issue you face is that, if you restore your backup thereafter, you risk the problem coming straight back with your files.
    Store your files individually and it is time to start fresh.

  • What does the acronym PH stand for in the article id number

    Trying to figure out what the different acronyms stand for in the article id number. I know HT stands for how to and TS stands for trouble shooting. What does PH and HE stand for.

    PH refers to product help; these articles are the same as the product's content in the Help Viewer.
    HE articles describe navigating Apple's support system itself.
    (79649)

  • I put a $15 iTunes card and the money went in but every time I try to buy a game it tells me to answer some security questions and I for got the answers. What do I do?

    I put a $15 iTunes card and the money went in but every time I try to buy a game it tells me to answer some security questions and I for got the answers. What do I do?

    Hi Dylain,
    You can manage your Apple ID account here: https://appleid.apple.com/
    Here's an article on how to reset those questions: http://support.apple.com/kb/HT5312
    If you have problems, you can contact Apple Support here: http://www.apple.com/support/itunes/contact/
    Hope this helps!
    ~Joe

  • What does the "1" stand for on the Aperture Icon?

    A 3.4  What does the "1" stand for on the Aperture Icon?

    As far as I see, the red number shows that the recipient has accepted the stream.  If you delet the stream the red number is gone.
    I am not sure -this may be a coincidence: Yesterday I saw the red number "1" appear everytime I received a notification when a comment was added to one of the images I posted. When I read the comment, the number went away. The number is gone now, but I still have the stream.

  • What are the points and levels for on the apple communities

    what are the points and levels for on the apple communities

    You mean these?
    https://discussions.apple.com/community/user_tips_library_documents
    I wouldn't consider 665 tips as being "hardly any", myself.
    Regards.

  • What does Abbreviation SWC stand for?

    What does Abbreviation SWC stand for? I know that swf stands for ShockWaveFlash. The only declaration I found was ShockWaveControl. Is that right. Or does anybody knows that.

    Hehe, you may be right. But for me (as a teacher) this is the questions we get all the time :-) Let's settle with "small web" AND "Shockwave".
    If you are the type that tend to trust Wikipedia, SWF is now "Small Web Format" (http://en.wikipedia.org/wiki/Swf) to clarify it's meaning.
    For SWC, references like http://www.filesuffix.com/extension/swc.html and http://en.wikipedia.org/wiki/Adobe_SWC_file refers to a "Shockwave Flash Component"
    One can say that a swc is practical during development, but have nothing to do with the small-web thing. So it looks like you were right in the first place, but with a underlying risc that it will change if the brand police somes around the swc-house :-)

  • Need IDOC and segment for mappping the sales order number

    Hi,
    we need the IDOC name and segment for mapping the sales order number created by oracle in sap for transaction VA01.
    Whether the sales order number created by Oracle can be used to create the sales order in sap using the idoc ACC_SALES_ORDER01?
    . If we can do,then what is the segment and field for the sales order number in the idoc ?
    Please reply asap it's very urgent
    Thanks
    Edited by: suresh kumar nandhagopal on May 16, 2008 12:07 PM

    Hi,
    IDOC for sales order is ORDERS05. Segment E1EDKA1, for field go to SE11 and enter E1EDKA1 to find field for sales order.
    Cheers.
    ...Reward if useful.

  • What are advantage and disadvantage for Physical Standy and Logical Standby

    HI,
    What are advantage and disadvantage for Physical Standy and Logical Standby configuration?
    Thanks
    Ken

    Logical standby database
    The key advantage for logical standby databases is that they're opened read/write, even while they're in
    applied mode. That is, they can be used to generate reports and the like. It is indeed a fully functional
    database. Also, additional indexes, materialized views and so on can be created.
    However (this being a disadvantage) not all datatypes are supported.
    Oracle (or more exactly the log apply services) uses the primary database's redo log, transforms them into
    SQL statements and replays them on the logical standby database.
    Physical standby database
    A physical standby database is a byte for byte exact copy of the primary database. This also means that
    rowids stay the same in a physical standby database environment.
    Oracle (or more exactly the log apply services) uses the primary database's redo log to recover the
    physical database.
    A physical standby database might be opened read only; however, the received logs are in this case not
    applied. When the logs are applied, the database is not accessible (it is then in a managed recovery state).
    Regards,

  • What is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.

    Hello Gurus,
    I want to know what is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.
    For example:
    X=EssVCalculate("Sheetname","Calc_Script name",True)
    In the above code instead of the *"Calc_Script name"* I want a script which is called dynamically and the values are calculated accordingly.
    Thanks in advance
    Saurabh

    Hi Todd,
    This is the situation:
    I have a calc script in Essbase which I can call to perform the calculations on the current sheet that is retrieved. I want calculation for the following formulas:
    x = EssVCalculate("Sheet2", "CalcBC", False)
    CalcBC is my calc script which is present in Essbase
    So instead of passing the above script I want to pass the conditions dynamically in the VBA code . I don't want to mention the script name directly in EssVCalculate option
    For example:
    I have three drop down menus from which I would select three different( zero level )members. It would then retrieve the data for that particular values in the excel sheet and now when I click on Calculate button it should calculate the script dynamically.
    I don't know how calc scripts can be executed dynamically in the VBA code itself.
    Thanks in Advance
    Saurabh

  • TS4291 I can't send mail from my iPad apps, I just get the error message, 'The recipient- was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    I can't send mail from my iPad apps, I just get the error message, 'The recipient… was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

Maybe you are looking for

  • Dead(?) hp JetDirect ex PLUS = LJ 4ML; fix or replace - and with WHAT?

    Dear fellow Mac addicts -- Some months back, various helpful souls (notably Greg Sahli) set me straight on the way to get my old serial-port hp LaserJet 4ML to be able to print from my two Tiger-Macs. For the past months, I've had an eBay-bought hp J

  • Personal file sharing: file copying broken from/to imported account?

    I have an iMac G5 with two user accounts A and B ; and a MacBook Pro with two user accounts A' (imported from A with the migration assistant) and C. Personal file sharing, FTP and SMB are enabled on both machines. The firewall is disabled. Permission

  • Portfolio Feature in Acrobat pro

    There is a create portfolio feature in Acrobat Pro XI that to my suprize work fairly well. But it enables anyone I send it to to extract my files onto their desktop, I'm obviously not a huge fan of that. Is there anyway to disable that feature?

  • Max number of records in a cube & architectural issues

    Hi, Sorry if my question was already done but i can't find the same question with the research button (may be i have not the good words for search, I'm not english). I am on a BIG BIG IP project. The forecast volume of planned records is about 1.000.

  • Quicktime quits this the error message what do i do?

    Command: QuickTime Player Path: /Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player Parent: WindowServer [64] Version: 7.0.4 (7.0.4) Build Version: 2 Project Name: QuickTime Source Version: 3882200 PID: 328 Thread: Unknown Link (dyld)