Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,214 for _arrays (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * array is that of the specified array. The returned array elements are in no particular order.
       * If the queue fits in the specified array, it is returned therein. Otherwise, a new array is
       * allocated with the runtime type of the specified array and the size of this queue.
       *
       * <p>If this queue fits in the specified array with room to spare (i.e., the array has more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Fingerprint2011.java

        long b = (high ^ a) * K3;
        b ^= b >>> 47;
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
          byte[] bytes, int offset, long seedA, long seedB, long[] output) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                writeBytes.setAccessible(true);
                writeBytes.invoke(cancel, dst, 0);
    
                // Then - array should remain unchanged
                assertArrayEquals(originalDst, dst);
            }
    
            @Test
            @DisplayName("Read operations should not modify buffer array")
            void testReadOperationsDoNotModifyArray() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
        // getConstructors() guarantees this as long as we don't modify the array.
        @SuppressWarnings({"unchecked", "rawtypes"})
        List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors());
        for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
       * changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays
       * returned by this method.
       */
      // TODO(user): consider ByteString here, when that is available
      public abstract byte[] asBytes();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

         */
        public void setNonce(final byte[] nonce) {
            if (nonce.length == 12) {
                // For CCM cipher, pad nonce to 16 bytes with zeros
                java.util.Arrays.fill(this.nonce, (byte) 0);
                System.arraycopy(nonce, 0, this.nonce, 0, 12);
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

          if (object instanceof ConcatenatedHashFunction) {
            ConcatenatedHashFunction other = (ConcatenatedHashFunction) object;
            return Arrays.equals(functions, other.functions);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Arrays.hashCode(functions);
        }
      }
    
      /**
       * Linear CongruentialGenerator to use for consistent hashing. See
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

                if (passwordChars != null) {
                    passwordString = new String(passwordChars);
                    // Securely wipe the char array immediately after use
                    java.util.Arrays.fill(passwordChars, '\0');
                }
            }
    
            return new Type3Message(this.transportContext, msg2, this.targetName, passwordString,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top