Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for checkout (0.24 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        }
        return ~crc;
      }
    
      /**
       * Verifies that the crc of an array of byte data matches the expected value.
       *
       * @param expectedCrc the expected crc value.
       * @param data the data to run the checksum on.
       */
      private static void assertCrc(int expectedCrc, byte[] data) {
        int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

             */
            @Nonnull
            String getName();
    
            /**
             * Returns the file extension to be used for given checksum file (without leading dot), never {@code null}. The
             * extension should be file and URL path friendly, and may differ from algorithm name.
             * The checksum extension SHOULD NOT contain dot (".") character.
             * Example: "sha1".
             */
            @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

      }
    
      private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) {
        byte[] bytes = HashTestUtils.ascii(input);
    
        Checksum checksum = supplier.get();
        checksum.update(bytes, 0, bytes.length);
        long value = checksum.getValue();
    
        String toString = "name";
        HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                }
            }
    
            byte[] sig = new byte[16];
            SMBUtil.writeInt4(1, sig, 0); // version
            System.arraycopy(trunc, 0, sig, 4, 8); // checksum
            SMBUtil.writeInt4(seqNum, sig, 12); // seqNum
    
            return sig;
        }
    
    
        @Override
        public void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    import java.util.zip.Adler32;
    import java.util.zip.CRC32;
    import java.util.zip.Checksum;
    
    /**
     * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     * </ul>
     *
     * @author Colin Decker
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    import java.util.zip.Adler32;
    import java.util.zip.CRC32;
    import java.util.zip.Checksum;
    
    /**
     * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     * </ul>
     *
     * @author Colin Decker
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java

            switch (artifactRepositoryPolicy) {
                case RepositoryPolicy.CHECKSUM_POLICY_FAIL:
                    return RepositoryPolicy.CHECKSUM_POLICY_FAIL;
                case RepositoryPolicy.CHECKSUM_POLICY_IGNORE:
                    return RepositoryPolicy.CHECKSUM_POLICY_IGNORE;
                case RepositoryPolicy.CHECKSUM_POLICY_WARN:
                    return RepositoryPolicy.CHECKSUM_POLICY_WARN;
                default:
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/Pac.java

                            }
                            // Clear signature from checksum copy
                            for ( int i = 0; i < this.serverSignature.getChecksum().length; i++ )
                                checksumData[ (int) bufferOffset + 4 + i ] = 0;
                        }
                        break;
                    case PacConstants.PRIVSVR_CHECKSUM:
                        // PAC KDC Signature
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

    import org.eclipse.aether.internal.impl.checksum.DefaultChecksumAlgorithmFactorySelector;
    import org.eclipse.aether.internal.impl.checksum.Md5ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha1ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha256ChecksumAlgorithmFactory;
    import org.eclipse.aether.internal.impl.checksum.Sha512ChecksumAlgorithmFactory;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
Back to top