Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,615 for LENGTH (0.05 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       */
      public static short[] concat(short[]... arrays) {
        long length = 0;
        for (short[] array : arrays) {
          length += array.length;
        }
        short[] result = new short[checkNoOverflow(length)];
        int pos = 0;
        for (short[] 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
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            int i;
    
            if( len > ( pipe_buf.length - used )) {
                byte[] tmp;
                int new_size;
    
                new_size = pipe_buf.length * 2;
                if( len > ( new_size - used )) {
                    new_size = len + used;
                }
                tmp = pipe_buf;
                pipe_buf = new byte[new_size];
                i = tmp.length - beg_idx;
                if( used > i ) { /* 2 chunks */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          arraycopy(elements, 0, all, 0, elements.length);
          arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
        }
      }
    
      public static class ImmutableListTailSubListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

       */
      public static char[] concat(char[]... arrays) {
        long length = 0;
        for (char[] array : arrays) {
          length += array.length;
        }
        char[] result = new char[checkNoOverflow(length)];
        int pos = 0;
        for (char[] 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
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/Name.java

            System.arraycopy(Strings.getOEMBytes(this.scope, this.config), 0, dst, dstIndex, this.scope.length());
            dstIndex += this.scope.length();
    
            dst[ dstIndex++ ] = (byte) 0x00;
    
            // now go over scope backwards converting '.' to label length
    
            int i = dstIndex - 2;
            int e = i - this.scope.length();
            int c = 0;
    
            do {
                if ( dst[ i ] == '.' ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (isDirect) {
                out.writeDirect( buf, off, length, 1 );
                return;
            }
            out.write(buf, off, length);
        }
        protected void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException {
            int off, flags, length;
    
            if (buf.length < max_recv)
                throw new IllegalArgumentException("buffer too small");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                return buf.toString();
            }
            return buf.substring(buf.length() - length, buf.length());
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacUnicodeString.java

    public class PacUnicodeString {
    
        private short length;
        private short maxLength;
        private int pointer;
    
    
        public PacUnicodeString ( short length, short maxLength, int pointer ) {
            super();
            this.length = length;
            this.maxLength = maxLength;
            this.pointer = pointer;
        }
    
    
        public short getLength () {
            return this.length;
        }
    
    
        public short getMaxLength () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileOperationsTest.java

                        assertTrue(f.exists());
                        assertEquals(f.length(), t.length());
                        assertEquals(f.getAttributes(), t.getAttributes());
    
                        try ( InputStream is = t.getInputStream() ) {
                            ReadWriteTest.verifyRandom(bufSize, length, is);
                        }
                    }
                    finally {
                        d1.delete();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

        }
    
        if (slice && bytes.length > 0) {
          // test a random slice() of the ByteSource
          Random random = new Random();
          byte[] expected = factory.getExpected(bytes);
          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top