Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,653 for length (0.2 sec)

  1. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Integer[] concat(Integer[] left, Integer[] right) {
        Integer[] result = new Integer[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            }
    
            try {
                update(this.macSigningKey, 0, this.macSigningKey.length);
                int index = offset + SmbConstants.SIGNATURE_OFFSET;
                for ( int i = 0; i < 8; i++ )
                    data[ index + i ] = 0;
                SMBUtil.writeInt4(this.signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if ( this.bypass ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

      // TODO(lowasser): document the extent of leniency, probably after adding ignore(CharMatcher)
    
      private static byte[] extract(byte[] result, int length) {
        if (length == result.length) {
          return result;
        }
        byte[] trunc = new byte[length];
        System.arraycopy(result, 0, trunc, 0, length);
        return trunc;
      }
    
      /**
       * Determines whether the specified character sequence is a valid encoded string according to this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            Comparable[] c = new Comparable[versions.length];
            for (int i = 0; i < versions.length; i++) {
                c[i] = newComparable(versions[i]);
            }
    
            for (int i = 1; i < versions.length; i++) {
                Comparable low = c[i - 1];
                for (int j = i; j < versions.length; j++) {
                    Comparable high = c[j];
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

       */
      public static long[] concat(long[]... arrays) {
        long length = 0;
        for (long[] array : arrays) {
          length += array.length;
        }
        long[] result = new long[checkNoOverflow(length)];
        int pos = 0;
        for (long[] 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: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Longs.java

       */
      public static long[] concat(long[]... arrays) {
        long length = 0;
        for (long[] array : arrays) {
          length += array.length;
        }
        long[] result = new long[checkNoOverflow(length)];
        int pos = 0;
        for (long[] 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
    - 29K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(this.hashAlgos != null ? this.hashAlgos.length : 0, dst, dstIndex);
            SMBUtil.writeInt2(this.salt != null ? this.salt.length : 0, dst, dstIndex + 2);
            dstIndex += 4;
    
            if ( this.hashAlgos != null ) {
                for ( int hashAlgo : this.hashAlgos ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UUID.java

    
    /**
     * UUID type wrapper
     *
     */
    public class UUID extends rpc.uuid_t {
    
        private static int hex_to_bin ( char[] arr, int offset, int length ) {
            int value = 0;
            int ai, count;
    
            count = 0;
            for ( ai = offset; ai < arr.length && count < length; ai++ ) {
                value <<= 4;
                switch ( arr[ ai ] ) {
                case '0':
                case '1':
                case '2':
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                int workstationLength = (workstation != null) ?
                        workstation.length : 0;
                byte[] lmResponse = getLMResponse();
                int lmLength = (lmResponse != null) ? lmResponse.length : 0;
                byte[] ntResponse = getNTResponse();
                int ntLength = (ntResponse != null) ? ntResponse.length : 0;
                byte[] sessionKey = getSessionKey();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
Back to top