Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for SHA1 (0.03 sec)

  1. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-sha1.xml

      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>valid-version-sha1</artifactId>
      <version>${sha1}</version>
    
      <description>
        This will test if the validation for the ci friendly versions
        is working correct.
      </description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-all-expressions.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>valid-version-sha1</artifactId>
      <version>${revision}${changelist}${sha1}</version>
    
      <description>
        This will test if the validation for the ci friendly versions
        is working correct.
      </description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testHashCode_equalsAndSerializable() throws Exception {
        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
        HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
        assertEquals(hash1, hash2);
      }
    
      public void testObjectHashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

            Model initial = new Model(org.apache.maven.api.model.Model.newBuilder()
                    .version("${revision}-${sha1}")
                    .build());
            Mockito.when(context.getUserProperty("revision")).thenReturn("therev");
            Mockito.when(context.getUserProperty("sha1")).thenReturn("thesha");
            Model expected = new Model(org.apache.maven.api.model.Model.newBuilder()
                    .version("therev-thesha")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testHashCode_equalsAndSerializable() throws Exception {
        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
        HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
        assertEquals(hash1, hash2);
      }
    
      public void testObjectHashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/bad-ci-friendly-sha1plus2.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>valid-version-sha1plus</artifactId>
      <version>${sha1}${wrong}${revision}</version>
    
      <description>
        This will test if the validation for the ci friendly versions
        is working correct.
      </description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                result = null;
            } else if (!Files.exists(src)) {
                Files.deleteIfExists(target);
                result = "";
            } else {
                String current = sha1(src);
                String existing = sourceState.get();
                if (!Files.exists(target) || !Objects.equals(current, existing)) {
                    defaultConsumerPomArtifactTransformer.transform(project, session, src, target);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/bad-ci-friendly-sha1plus.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>valid-version-sha1plus</artifactId>
      <version>${sha1}${wrong}</version>
    
      <description>
        This will test if the validation for the ci friendly versions
        is working correct.
      </description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/DefaultModelVersionProcessor.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelVersionProcessor implements ModelVersionProcessor {
    
        private static final String SHA1_PROPERTY = "sha1";
    
        private static final String CHANGELIST_PROPERTY = "changelist";
    
        private static final String REVISION_PROPERTY = "revision";
    
        @Override
        public boolean isValidProperty(String property) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top