Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for subArray (0.38 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *
       * <p><b>Performance note:</b> The returned array has the same full memory footprint as this one
       * does (no actual copying is performed). To reduce memory usage, use {@code subArray(start,
       * end).trimmed()}.
       */
      public ImmutableDoubleArray subArray(int startIndex, int endIndex) {
        Preconditions.checkPositionIndexes(startIndex, endIndex, length());
        return startIndex == endIndex
            ? EMPTY
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    						const src = loadValue(sp + 32);
    						if (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) {
    							this.mem.setUint8(sp + 48, 0);
    							return;
    						}
    						const toCopy = src.subarray(0, dst.length);
    						dst.set(toCopy);
    						setInt64(sp + 40, toCopy.length);
    						this.mem.setUint8(sp + 48, 1);
    					},
    
    					// func copyBytesToJS(dst ref, src []byte) (int, bool)
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
Back to top