OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:negative_infinity
(Results
76 - 100
of
165
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/core/tests/coretests/src/android/util/
JsonWriterTest.java
138
jsonWriter.value(Double.
NEGATIVE_INFINITY
);
159
jsonWriter.value(new Double(Double.
NEGATIVE_INFINITY
));
/libcore/luni/src/main/java/java/lang/
StringToReal.java
38
return negative ? Float.
NEGATIVE_INFINITY
: Float.POSITIVE_INFINITY;
225
return negative ? Float.
NEGATIVE_INFINITY
: Float.POSITIVE_INFINITY;
/packages/apps/Camera2/src/com/android/camera/crop/
CropMath.java
73
Float.
NEGATIVE_INFINITY
, Float.
NEGATIVE_INFINITY
);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropMath.java
75
Float.
NEGATIVE_INFINITY
, Float.
NEGATIVE_INFINITY
);
/external/chromium_org/third_party/WebKit/PerformanceTests/resources/
jquery.tablesorter.min.js
4
var firstAvailCol;if(typeof(matrix[rowIndex])=="undefined"){matrix[rowIndex]=[];}for(var k=0;k<matrix[rowIndex].length+1;k++){if(typeof(matrix[rowIndex][k])=="undefined"){firstAvailCol=k;break;}}lookup[cellId]=firstAvailCol;for(var k=rowIndex;k<rowIndex+rowSpan;k++){if(typeof(matrix[k])=="undefined"){matrix[k]=[];}var matrixrow=matrix[k];for(var l=firstAvailCol;l<firstAvailCol+colSpan;l++){matrixrow[l]="x";}}}}return lookup;}function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++));}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell);}}}return arr;};function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true;};return false;}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true;};return false;}function checkHeaderOptionsSortingLocked(table,i){if((table.config.headers[i])&&(table.config.headers[i].lockedOrder))return table.config.headers[i].lockedOrder;return false;}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table);}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i];}}};function formatSortingOrder(v){if(typeof(v)!="Number"){return(v.toLowerCase()=="desc")?1:0;}else{return(v==1)?1:0;}}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true;}}return false;}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this);}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]]);}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$('<colgroup>');$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($('<col>').css('width',$(this).width()));});$(table).prepend(colgroup);};}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++;}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date();}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(table.config.parsers[c].type=="text")?((order==0)?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c)):((order==0)?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c));var e="e"+i;dynamicExp+="var "+e+" = "+s;dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { ";}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; ";}dynamicExp+="return 0; ";dynamicExp+="}; ";if(table.config.debug){benchmark("Evaling expression:"+dynamicExp,new Date());}eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime);}return cache;};function makeSortFunction(type,direction,index){var a="a["+index+"]",b="b["+index+"]";if(type=='text'&&direction=='asc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.
NEGATIVE_INFINITY
: ("+a+" < "+b+") ? -1 : 1 )));";}else if(type=='text'&&direction=='desc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.
NEGATIVE_INFINITY
: ("+b+" < "+a+") ? -1 : 1 )));";}else if(type=='numeric'&&direction=='asc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.
NEGATIVE_INFINITY
: "+a+" - "+b+"));";}else if(type=='numeric'&&direction=='desc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.
NEGATIVE_INFINITY
: "+b+" - "+a+"));";}};function makeSortText(i){return"((a["+i+"] < b["+i+"]) ? -1 : ((a["+i+"] > (…)
/external/chromium_org/v8/test/webkit/fast/js/
Object-getOwnPropertyNames.js
84
"Number": "['MAX_VALUE', 'MIN_VALUE', '
NEGATIVE_INFINITY
', 'NaN', 'POSITIVE_INFINITY', 'length', 'name', 'prototype']",
/external/chromium_org/v8/test/webkit/fast/js/kde/
math-expected.txt
40
PASS String()+Number.
NEGATIVE_INFINITY
is '-Infinity'
math.js
47
shouldBe("String()+Number.
NEGATIVE_INFINITY
", "'-Infinity'");
/external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicDoubleTest.java
24
Double.
NEGATIVE_INFINITY
,
/packages/inputmethods/LatinIME/java/res/values/
config.xml
114
string for Float.
NEGATIVE_INFINITY
-->
/external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java
598
assertEquals(Integer.MIN_VALUE, floatToInt.invoke(null, Float.
NEGATIVE_INFINITY
));
606
assertEquals(Long.MIN_VALUE, floatToLong.invoke(null, Float.
NEGATIVE_INFINITY
));
614
assertEquals(Integer.MIN_VALUE, doubleToInt.invoke(null, Double.
NEGATIVE_INFINITY
));
622
assertEquals(Long.MIN_VALUE, doubleToLong.invoke(null, Double.
NEGATIVE_INFINITY
));
631
assertEquals(Double.
NEGATIVE_INFINITY
, floatToDouble.invoke(null, Float.
NEGATIVE_INFINITY
));
638
assertEquals(Float.
NEGATIVE_INFINITY
, doubleToFloat.invoke(null, Double.
NEGATIVE_INFINITY
));
706
assertEquals(Float.POSITIVE_INFINITY, negateFloat.invoke(null, Float.
NEGATIVE_INFINITY
));
712
assertEquals(Double.POSITIVE_INFINITY, negateDouble.invoke(null, Double.
NEGATIVE_INFINITY
));
[
all
...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
Vector4f.java
65
public final static Vector4f
NEGATIVE_INFINITY
= new Vector4f(
66
Float.
NEGATIVE_INFINITY
,
67
Float.
NEGATIVE_INFINITY
,
68
Float.
NEGATIVE_INFINITY
,
69
Float.
NEGATIVE_INFINITY
);
Vector3f.java
68
public final static Vector3f
NEGATIVE_INFINITY
= new Vector3f(
69
Float.
NEGATIVE_INFINITY
,
70
Float.
NEGATIVE_INFINITY
,
71
Float.
NEGATIVE_INFINITY
);
[
all
...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
FloatTest.java
132
float[] values = new float[] { Float.
NEGATIVE_INFINITY
, -Float.MAX_VALUE, -2f,
246
Float.
NEGATIVE_INFINITY
).isInfinite())
257
&& (Float.isInfinite(Float.
NEGATIVE_INFINITY
)) && !(Float.isInfinite(1.0f)));
[
all
...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
java_helpers.cc
303
return "Double.
NEGATIVE_INFINITY
";
315
return "Float.
NEGATIVE_INFINITY
";
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
ShadowUtil.java
228
Vector3f max = new Vector3f(Vector3f.
NEGATIVE_INFINITY
);
249
Vector3f max = new Vector3f(Vector3f.
NEGATIVE_INFINITY
);
/external/protobuf/src/google/protobuf/compiler/javanano/
javanano_helpers.cc
362
return "Double.
NEGATIVE_INFINITY
";
374
return "Float.
NEGATIVE_INFINITY
";
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigDecimalConvertTest.java
69
double result = Double.
NEGATIVE_INFINITY
;
131
float result = Float.
NEGATIVE_INFINITY
;
/libcore/json/src/test/java/org/json/
JSONArrayTest.java
399
array.put(0, Double.
NEGATIVE_INFINITY
);
413
array.put(Double.valueOf(Double.
NEGATIVE_INFINITY
));
/libcore/luni/src/main/java/java/math/
Conversion.java
428
: Double.
NEGATIVE_INFINITY
);
443
: Double.
NEGATIVE_INFINITY
);
/external/chromium_org/v8/test/mjsunit/
math-min-max.js
86
assertEquals(Number.
NEGATIVE_INFINITY
, Math.max());
/external/libvpx/libvpx/examples/includes/geshi/geshi/
actionscript.php
103
'ne', '
NEGATIVE_INFINITY
', 'NetConnection', 'NetStream', 'newline', 'nextFrame',
/external/smali/smali/src/test/resources/LexerTest/
RealSmaliFileTest.smali
22
.field public static final
NEGATIVE_INFINITY
:D = -Infinity
/external/v8/test/mjsunit/
math-min-max.js
86
assertEquals(Number.
NEGATIVE_INFINITY
, Math.max());
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
ChoiceFormatTest.java
49
formattedString = cf.format(Double.
NEGATIVE_INFINITY
);
96
formattedString = cf.format(Double.
NEGATIVE_INFINITY
);
457
assertEquals("NEGATIVE_ONE", fmt.format(Double.
NEGATIVE_INFINITY
));
Completed in 824 milliseconds
1
2
3
4
5
6
7