Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 156 for 2586 (0.01 sec)

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

          }
        };
        ;
    
        abstract byte[] hash(Algorithm algorithm, byte[] input);
      }
    
      private enum Algorithm {
        MD5("MD5", Hashing.md5()),
        SHA_1("SHA-1", Hashing.sha1()),
        SHA_256("SHA-256", Hashing.sha256()),
        SHA_384("SHA-384", Hashing.sha384()),
        SHA_512("SHA-512", Hashing.sha512());
    
        private final String algorithmName;
        private final HashFunction hashFn;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            byte[] largeKey = new byte[256];
            for (int i = 0; i < largeKey.length; i++) {
                largeKey[i] = (byte) (i % 256);
            }
            serverData.encryptionKey = largeKey;
            serverData.encryptionKeyLength = largeKey.length;
    
            assertEquals(256, serverData.encryptionKey.length);
            assertEquals(256, serverData.encryptionKeyLength);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

        int hashBytes = hashbits / 8;
    
        byte[] key = new byte[256];
        byte[] hashes = new byte[hashBytes * 256];
    
        // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed
        for (int i = 0; i < 256; i++) {
          key[i] = (byte) i;
          int seed = 256 - i;
          byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer()
          .apply {
            writeShort(0) // query id
            writeShort(256) // flags with recursion
            writeShort(1) // question count
            writeShort(0) // answerCount
            writeShort(0) // authorityResourceCount
            writeShort(0) // additional
    
            val nameBuf = Buffer()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. mvnw.cmd

    		"}"
        if "%MVNW_VERBOSE%" == "true" (
            echo Finished downloading %WRAPPER_JAR%
        )
    )
    @REM End of extension
    
    @REM If specified, validate the SHA-256 sum of the Maven wrapper jar file
    SET WRAPPER_SHA_256_SUM=""
    FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. maven-tests/mvnw.cmd

    }
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    $webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null
    
    # If specified, validate the SHA-256 sum of the Maven distribution zip file
    $distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum
    if ($distributionSha256Sum) {
      if ($USE_MVND) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/SipHashFunction.java

        // The number of bytes in the input.
        private long b = 0;
    
        // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes
        // and ending with a byte encoding the positive integer b mod 256.
        private long finalM = 0;
    
        SipHasher(int c, int d, long k0, long k1) {
          super(CHUNK_SIZE);
          this.c = c;
          this.d = d;
          this.v0 ^= k0;
          this.v1 ^= k1;
          this.v2 ^= k0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

                try {
                    // Attempt to read nativeFileSystem, but don't fail if there are issues
                    final int fsLen = this.byteCount - (bufferIndex - start);
                    if (fsLen > 0 && fsLen < 256) { // Sanity check on length
                        this.nativeFileSystem = readString(buffer, bufferIndex);
                        bufferIndex += stringWireLength(this.nativeFileSystem, bufferIndex);
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

         * packet.
         */
        @Test
        @DisplayName("happy: toString contains class info and field values")
        void testToStringContainsAllInfo() {
            int fid = 256;
            long lwt = 9876543210L;
            SmbComClose close = new SmbComClose(fid, lwt);
            String s = close.toString();
            assertTrue(s.startsWith("SmbComClose["), "string should start with class name");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode at different buffer offset")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[256];
                int offset = 100;
                byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720);
                System.arraycopy(responseData, 0, buffer, offset, responseData.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top