Home
last modified time | relevance | path

Searched refs:newLength (Results 1 – 25 of 2588) sorted by relevance

12345678910>>...104

/dports/science/jmol/jmol-14.32.7/src/javajs/util/
H A DAU.java133 if (newLength < 0) newLength = oldLength; in arrayCopyObject()
145 : newLength); in arrayCopyObject()
188 if (newLength < 0) newLength = oldLength; in arrayCopyS()
198 : newLength); in arrayCopyS()
208 : newLength); in arrayCopyII()
214 if (newLength < 0) in arrayCopyPt()
227 if (newLength < 0) newLength = oldLength; in arrayCopyF()
244 if (newLength < 0) newLength = oldLength; in arrayCopyI()
307 if (newLength < 0) newLength = oldLength; in arrayCopyShort()
324 if (newLength < 0) newLength = oldLength; in arrayCopyByte()
[all …]
/dports/games/wop/wop-0.4.3/src/
H A Dstring.cpp344 if( newLength < 0 ) { in vformat()
442 if( newLength <= 0 ) { in crop()
449 cut( newLength ); in crop()
518 int newLength = 0; in deserialize() local
538 if( newLength != lockLength(newLength) ) { in deserialize()
546 buffer += newLength; in deserialize()
565 newLength ); in deserialize()
604 int newLength = 0; in deserialize() local
609 return newLength; in deserialize()
644 if( newLength > m_lockedLength ) newLength = m_lockedLength; in add()
[all …]
/dports/biology/bbmap/bbmap/current/shared/
H A DKillSwitch.java342 public static byte[] copyOf(byte[] buffer, long newLength) { in copyOf() argument
345 if(newLength>len2 && len2<=len){ in copyOf()
360 if(newLength>len2 && len2<=len){ in copyOf()
375 if(newLength>len2 && len2<=len){ in copyOf()
396 final int[] copy=copyOf(buffer, newLength); in copyAndFill()
401 public static int[] copyOf(int[] buffer, long newLength) { in copyOf() argument
404 if(newLength>len2 && len2<=len){ in copyOf()
419 if(newLength>len2 && len2<=len){ in copyOf()
434 if(newLength>len2 && len2<=len){ in copyOf()
447 final long[] copy=copyOf(buffer, newLength); in copyAndFill()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
H A DNumberArrayData.java269 final int newLength = len - 1; in pop() local
270 final double elem = array[newLength]; in pop()
271 array[newLength] = 0; in pop()
272 setLength(newLength); in pop()
279 final long newLength = to - start; in slice()
287 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
293 if (newLength != oldLength) {
296 if (newLength > array.length) {
305 setLength(newLength);
338 final double elem = array[newLength]; in fastPopDouble()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
H A DNumberArrayData.java269 final int newLength = len - 1; in pop() local
270 final double elem = array[newLength]; in pop()
271 array[newLength] = 0; in pop()
272 setLength(newLength); in pop()
279 final long newLength = to - start; in slice()
287 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
293 if (newLength != oldLength) {
296 if (newLength > array.length) {
305 setLength(newLength);
338 final double elem = array[newLength]; in fastPopDouble()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
H A DNumberArrayData.java269 final int newLength = len - 1; in pop() local
270 final double elem = array[newLength]; in pop()
271 array[newLength] = 0; in pop()
272 setLength(newLength); in pop()
279 final long newLength = to - start; in slice()
287 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
293 if (newLength != oldLength) {
296 if (newLength > array.length) {
305 setLength(newLength);
338 final double elem = array[newLength]; in fastPopDouble()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
H A DNumberArrayData.java269 final int newLength = len - 1; in pop() local
270 final double elem = array[newLength]; in pop()
271 array[newLength] = 0; in pop()
272 setLength(newLength); in pop()
279 final long newLength = to - start; in slice()
287 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
293 if (newLength != oldLength) {
296 if (newLength > array.length) {
305 setLength(newLength);
338 final double elem = array[newLength]; in fastPopDouble()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
H A DNumberArrayData.java269 final int newLength = len - 1; in pop() local
270 final double elem = array[newLength]; in pop()
271 array[newLength] = 0; in pop()
272 setLength(newLength); in pop()
279 final long newLength = to - start; in slice()
287 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
293 if (newLength != oldLength) {
296 if (newLength > array.length) {
305 setLength(newLength);
338 final double elem = array[newLength]; in fastPopDouble()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/runtime/arrays/
H A DObjectArrayData.java275 final Object elem = array[newLength]; in fastPopObject()
276 array[newLength] = ScriptRuntime.EMPTY; in fastPopObject()
286 final int newLength = (int)length() - 1; in pop() local
287 final Object elem = array[newLength]; in pop()
288 setEmpty(newLength); in pop()
289 setLength(newLength); in pop()
296 final long newLength = to - start; in slice()
315 if (newLength > SparseArrayData.MAX_DENSE_LENGTH && newLength > array.length) {
321 if (newLength != oldLength) {
324 if (newLength > array.length) {
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java122 int newLength = this.ch.length * 2 ; in append() local
123 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
124 newLength = this.ch.length + DEFAULT_SIZE; in append()
126 char [] tmp = new char[newLength]; in append()
142 int newLength = this.ch.length * 2 ; in append() local
143 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
144 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
147 char[] newch = new char[newLength]; in append()
164 int newLength = this.ch.length * 2 ; in append() local
165 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java162 int newLength = this.ch.length * 2 ; in append() local
163 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
164 newLength = this.ch.length + DEFAULT_SIZE; in append()
166 char [] tmp = new char[newLength]; in append()
182 int newLength = this.ch.length * 2 ; in append() local
183 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
184 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
187 char[] newch = new char[newLength]; in append()
204 int newLength = this.ch.length * 2 ; in append() local
205 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DXMLStringBuffer.java162 int newLength = this.ch.length * 2 ; in append() local
163 if(newLength < this.ch.length + DEFAULT_SIZE){ in append()
164 newLength = this.ch.length + DEFAULT_SIZE; in append()
166 char [] tmp = new char[newLength]; in append()
182 int newLength = this.ch.length * 2 ; in append() local
183 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
184 newLength = this.ch.length + length+ DEFAULT_SIZE; in append()
187 char[] newch = new char[newLength]; in append()
204 int newLength = this.ch.length * 2 ; in append() local
205 if(newLength < this.ch.length + length + DEFAULT_SIZE){ in append()
[all …]

12345678910>>...104