Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 451 for hash2 (0.14 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
                // If we need more bytes, hash again with counter
                int counter = 1;
                while (derived.length > hash.length * counter) {
                    md.update(input);
                    md.update((byte) counter);
                    hash = md.digest();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(context.size(), encodedSize);
                assertEquals(1, buffer[0]); // hash algo count (little endian)
                assertEquals(0, buffer[1]);
                assertEquals(8, buffer[2]); // salt length (little endian)
                assertEquals(0, buffer[3]);
                assertEquals(1, buffer[4]); // SHA512 hash algo (little endian)
                assertEquals(0, buffer[5]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .putChar((char) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + (buildReactor == null ? 0 : buildReactor.hashCode());
            hash = hash * 31 + (ideWorkspace == null ? 0 : ideWorkspace.hashCode());
            hash = hash * 31 + (userLocalArtifactRepository == null ? 0 : userLocalArtifactRepository.hashCode());
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/PairwiseEquivalence.java

          }
        }
    
        return !iteratorA.hasNext() && !iteratorB.hasNext();
      }
    
      @Override
      protected int doHash(Iterable<T> iterable) {
        int hash = 78721;
        for (T element : iterable) {
          hash = hash * 24943 + elementEquivalence.hash(element);
        }
        return hash;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof PairwiseEquivalence) {
          @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Objects.java

        return java.util.Objects.equals(a, b);
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapDifference.java

       * #entriesDiffering()} of the two instances are equal.
       */
      @Override
      boolean equals(@Nullable Object object);
    
      /**
       * Returns the hash code for this instance. This is defined as the hash code of
       *
       * {@snippet :
       * Arrays.asList(entriesOnlyOnLeft(), entriesOnlyOnRight(),
       *     entriesInCommon(), entriesDiffering())
       * }
       */
      @Override
      int hashCode();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. cmd/format-erasure_test.go

    	}
    
    	formatCountMap := make(map[string]int)
    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    		}
    		formatCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range formatCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxHash = hash
    		}
    	}
    
    	if maxCount < len(formats)/2 {
    		return nil, errErasureReadQuorum
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        }
    
        /**
         * Generate the ANSI DES hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the ANSI DES hash response
         */
        static public byte[] getPreNTLMResponse(final String password, final byte[] challenge) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

          assertEquals(
              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putString(s, UTF_16LE).hash());
        }
      }
    
      public void testFloat() {
        TestHasher hasher = new TestHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top