Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for 2586 (0.01 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            // Test with binary data containing all byte values
            byte[] data = new byte[256];
            for (int i = 0; i < 256; i++) {
                data[i] = (byte) i;
            }
    
            ContentCache cache = new ContentCache(data);
    
            try (InputStream stream = cache.getInputStream()) {
                for (int i = 0; i < 256; i++) {
                    int byteValue = stream.read();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

        private static final byte CT_WHITESPACE = 1;
    
        private static final byte CT_ALPHA = 4;
    
        private final byte[] ctype;
    
        private static byte[] defaultCtype = new byte[256];
    
        private final String str;
    
        private int colno = 0;
    
        private int ttype = TT_NOTHING;
    
        private String sval;
    
        private char[] buf = new char[20];
    
        private int peekc = NEED_CHAR;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
        return Sha256Holder.SHA_256;
      }
    
      private static final class Sha256Holder {
        static final HashFunction SHA_256 =
            new MessageDigestHashFunction("SHA-256", "Hashing.sha256()");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
    
      public void testCrc32cByteTable() {
        // See Hacker's Delight 2nd Edition, Figure 14-7.
        int[] expected = new int[256];
        for (int i = 0; i < expected.length; i++) {
          int crc = i;
          for (int j = 7; j >= 0; j--) {
            int mask = -(crc & 1);
            crc = (crc >>> 1) ^ (CRC32C_GENERATOR_FLIPPED & mask);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

         *
         * @param cause the underlying exception
         * @return the real message
         */
        protected static String getRealMessage(final SQLException cause) {
            final StringBuilder buf = new StringBuilder(256);
            buf.append(cause.getMessage()).append(" : [");
            SQLException next = cause.getNextException();
            while (next != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
        return Sha256Holder.SHA_256;
      }
    
      private static final class Sha256Holder {
        static final HashFunction SHA_256 =
            new MessageDigestHashFunction("SHA-256", "Hashing.sha256()");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top