Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ABCDABCD (0.06 sec)

  1. platforms/software/security/src/test/groovy/org/gradle/plugins/signing/signatory/pgp/PgpKeyIdSpec.groovy

    import spock.lang.*
    
    class PgpKeyIdSpec extends Specification  {
    
        protected key(arg) {
            new PgpKeyId(arg)
        }
    
        def "conversion is symmetrical"() {
            expect:
            key("ABCDABCD").asHex == "ABCDABCD"
        }
    
        def "conversion"() {
            expect:
            key(hex).asLong == decimal
            key(decimal).asHex == hex
    
            where:
            hex        | decimal
            "AAAAAAAA" | 2863311530
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        CharSource source = CharSource.wrap("abcd");
        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top