Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 56 for SHA (0.6 seconds)

  1. android/guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
      private MessageDigest md;
    
      @BeforeExperiment
      void setUp() throws Exception {
        md = MessageDigest.getInstance(algorithm);
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. internal/event/target/kafka_scram_client_contrib.go

    }
    
    // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used
    // to create Client objects configured for SHA-256 hashing.
    var KafkaSHA256 scram.HashGeneratorFcn = sha256.New
    
    // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used
    // to create Client objects configured for SHA-512 hashing.
    var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. cmd/hasher.go

    package cmd
    
    import (
    	"crypto/md5"
    	"encoding/hex"
    
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 27 13:00:19 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            @DisplayName("calculatePreauthHash computes SHA-512 chain for SMB 3.1.1")
            void preauthHash_happyPath() throws Exception {
                setField(transport, "smb2", true);
                Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg);
                setField(nego, "selectedDialect", DialectVersion.SMB311);
                setField(nego, "selectedPreauthHash", 1); // 1 => SHA-512
                setField(transport, "negotiated", nego);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            // Setup SMB3.1.1 negotiation
            when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);
            when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512
            setPrivateField(transport, "smb2", true);
            setPrivateField(transport, "negotiated", negotiateResponse);
    
            int threadCount = 10;
            CountDownLatch startLatch = new CountDownLatch(1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. .teamcity/scripts/FindCommits.java

    /**
     * TeamCity helper script that prints the list of commits in the current PR (one SHA per line).
     *
     * Usage (Java 11+ single-file source execution):
     *   java .teamcity/scripts/FindCommits.java <target_branch_name>
     *
     * Commit range logic:
     * - Uses origin/<target_branch_name> as the target
     * - If HEAD is a merge commit and one parent equals the target SHA, the other parent is treated as PR head
     * - Otherwise HEAD itself is treated as PR head
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. maven-tests/mvnw

      verbose " - Running Downloader.java ..."
      "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")"
    fi
    
    # If specified, validate the SHA-256 sum of the Maven distribution zip file
    if [ -n "${distributionSha256Sum-}" ]; then
      distributionSha256Result=false
      if [ "$MVN_CMD" = mvnd.sh ]; then
        echo "Checksum validation is not supported for maven-mvnd." >&2
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. internal/logger/target/kafka/kafka_scram_client_contrib.go

    }
    
    // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used
    // to create Client objects configured for SHA-256 hashing.
    var KafkaSHA256 scram.HashGeneratorFcn = sha256.New
    
    // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used
    // to create Client objects configured for SHA-512 hashing.
    var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/tflite-op-request.md

    labels: 'comp:lite'
    
    ---
    
    **System information**
    - OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    - TensorFlow installed from (source or binary):
    - TensorFlow version (or github SHA if from source):
    
    
    **Provide the text output from tflite_convert**
    
    ```
    # Copy and paste here
    ```
    
    **Standalone code to reproduce the issue** 
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 879 bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        private static final String[] CHECKSUM_IDS = {"md5", "sha1"};
    
        /**
         * have to match the CHECKSUM_IDS
         */
        private static final String[] CHECKSUM_ALGORITHMS = {"MD5", "SHA-1"};
    
        @Inject
        private Logger logger;
    
        @Inject
        private PlexusContainer container;
    
        @Inject
        private UpdateCheckManager updateCheckManager;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top