Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 923 for length (0.21 sec)

  1. android/guava/src/com/google/common/collect/ObjectArrays.java

       */
      static @Nullable Object[] copyAsObjectArray(@Nullable Object[] elements, int offset, int length) {
        checkPositionIndexes(offset, offset + length, elements.length);
        if (length == 0) {
          return new Object[0];
        }
        @Nullable Object[] result = new Object[length];
        System.arraycopy(elements, offset, result, 0, length);
        return result;
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Fingerprint2011.java

          result = murmurHash64WithSeed(bytes, offset, length, K0 ^ K1 ^ K2);
        } else if (length <= 64) {
          result = hashLength33To64(bytes, offset, length);
        } else {
          result = fullFingerprint(bytes, offset, length);
        }
    
        long u = length >= 8 ? load64(bytes, offset) : K0;
        long v = length >= 9 ? load64(bytes, offset + length - 8) : K0;
        result = hash128to64(result + v, u);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
         * @param length The length of the SMB data starting at offset. 
         */
        void sign(byte[] data, int offset, int length,
                    ServerMessageBlock request, ServerMessageBlock response) {
            request.signSeq = signSequence;
            if( response != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      private static long fingerprint(byte[] bytes) {
        return fingerprint(bytes, bytes.length);
      }
    
      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.elementSet = elementSet;
        this.cumulativeCounts = cumulativeCounts;
        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                System.arraycopy(this.blob, 0, dst, dstIndex, this.blob.length);
                dstIndex += this.blob.length;
            }
            else {
                System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length);
                dstIndex += this.lmHash.length;
                System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length);
                dstIndex += this.ntHash.length;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Double[] concat(Double[] left, Double[] right) {
        Double[] result = new Double[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
Back to top