What is PSS of a process?

Answer The "proportional set size" or PSS of process is the sum of the unshared memory of a process and the proportion of memory shared with other processes. Formula: unshared memory of a process + (memory shared with other processes /number of processes that share memory) We'll understand through an example Example Process A has... Continue Reading →

Compound/Assignment Operators in Different Languages

NameCompound OperatorsSQLC++JavaPHPJavaScriptPython Add Equals+=+=+=+=+=+=Subtract Equals-=-=-=-+-=-=Multiply Equals *=*=*=*=*=*=Divide Equals /=/=/=/=/=/=Modulo Equals %=%=%=%=%=%=Bitwise AND Equals &=&=&= &= &=Bitwise Exclusive Equals ^-= ^=^=^=^=Bitwise OR Equals |*= |=|=|=|= Compound left-shift <<= <<=<<=<<= Compound right-shift >>=>>=>>=>>= Compound right-shift filled 0 >>>=>>>=Exponentiation assignment**=**=Integer division assignment//=

Bitwise and Bitshift Operators in Different Languages

NameLanguagesOperatorExplanationExampleBitwise ANDJava /Python/C/PHP/Javascript /SQL & The & operator compares corresponding bits of two operands. If both bits are 1, it gives 1. If either of the bits is not 1, it gives 0.  a = 55 & 21; Bitwise ORJava /Python/C /PHP/Javascript /SQL | The | operator compares corresponding bits of two operands. If either of the bits is... Continue Reading →

Conditional or ternary Operator in Different Languages

? is the conditional operator or the ternary operator. This operator consists of three operands and is used to evaluate Boolean expressions. The goal of the operator is to decide; which value should be assigned to the variable. SyntaxExampleExplanationC/Java/Javascript/C# conditionalExpression ? expression1 : expression2 days= (February == '1') ? 29 : 28; If February is... Continue Reading →

Comparison Operators in Different Languages

NameComparison OperatorsPython/Java/C/C#Javascript PHPSQLPowershellEqual to=======-eqGreater than>>>>-gtLess than<<<<-ltGreater than or Equal to>=>=>=>=-geLess than or Equal to<=<=<=<=-leNot Equal to!=!=!=<>-neIdentical===Not Identical!==Spaceship <=>  Equal value and equal type === Not equal value or not equal type !==Wildcard Comparison-likeWildcard Comparison -notlikeRegular Expression Comparison-match Regular Expression Comparison -notmatchReplace Operator-replace Containment operator -containsContainment operator -notcontains Like –contains, but with the operands reversed.(PowerShell 3.0)... Continue Reading →

Blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started