Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,615 for LENGTH (0.08 sec)

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

       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[checkNoOverflow(length)];
        int pos = 0;
        for (float[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

       */
      public static double[] concat(double[]... arrays) {
        long length = 0;
        for (double[] array : arrays) {
          length += array.length;
        }
        double[] result = new double[checkNoOverflow(length)];
        int pos = 0;
        for (double[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[checkNoOverflow(length)];
        int pos = 0;
        for (float[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            // + label
            System.arraycopy(label, 0, suffix, 0, label.length);
            // + 1 byte 0x00
            // + context
            System.arraycopy(context, 0, suffix, label.length + 1, context.length);
            // + 4 byte (== r bits) big endian encoding of L
            suffix[ suffix.length - 1 ] = (byte) 128;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  5. cmd/dummy-data-generator_test.go

    	k := len(b)
    	numLetters := int64(len(d.b))
    	for k > 0 && d.idx < d.length {
    		w := copy(b[len(b)-k:], d.b[d.idx%numLetters:])
    		k -= w
    		d.idx += int64(w)
    		n += w
    	}
    	if d.idx >= d.length {
    		extraBytes := d.idx - d.length
    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(expected.length(), reader.skip(Long.MAX_VALUE));
        assertFullyRead(reader);
    
        // skip 5 and read the rest
        if (expected.length() > 5) {
          reader = new CharSequenceReader(charSequence);
          assertEquals(5, reader.skip(5));
    
          buf = new char[expected.length() - 5];
          assertEquals(buf.length, reader.read(buf, 0, buf.length));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            advance(l);
        }
    
    
        public int getLength() {
            return deferred.length;
        }
        public void setLength(int length) {
            deferred.length = length;
        }
        public void advance(int n) {
            index += n;
            if ((index - start) > deferred.length) {
                deferred.length = index - start;
            }
        }
        public int align(int boundary) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        @Override
        public void setPath ( String path ) {
            if ( path.length() > 0 && path.charAt(0) == '\\' ) {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if ( path.length() > 1 && path.charAt(path.length() - 1) == '\\' ) {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            }
    
            encode_in(buf);
            length = buf.getIndex() - start;
    
            if (ptype == 0) {
                buf.setIndex(alloc_hint_index);
                alloc_hint = length - alloc_hint_index;
                buf.enc_ndr_long(alloc_hint);
            }
    
            buf.setIndex(start);
            encode_header(buf);
            buf.setIndex(start + length);
        }
        public void decode(NdrBuffer buf) throws NdrException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Bytes.java

       */
      public static byte[] concat(byte[]... arrays) {
        long length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[checkNoOverflow(length)];
        int pos = 0;
        for (byte[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top