Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hattab (0.19 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestTrimLeadingFrom("x-x-", "x-x-");
        doTestTrimLeadingFrom("x-xx", "x-xx");
        doTestTrimLeadingFrom("x-x--xx---x----x", "x-x--xx---x----x");
        // additional testing using the doc example
        assertEquals("catbab", anyOf("ab").trimLeadingFrom("abacatbab"));
      }
    
      private void doTestTrimLeadingFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestTrimLeadingFrom("x-x-", "x-x-");
        doTestTrimLeadingFrom("x-xx", "x-xx");
        doTestTrimLeadingFrom("x-x--xx---x----x", "x-x--xx---x----x");
        // additional testing using the doc example
        assertEquals("catbab", anyOf("ab").trimLeadingFrom("abacatbab"));
      }
    
      private void doTestTrimLeadingFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PACTest.java

            byte[] keyb = Hex.decode(key);
            byte[] datab = data.getBytes(StandardCharsets.US_ASCII);
            byte[] javaMac = sun.security.krb5.internal.crypto.ArcFourHmac.calculateChecksum(keyb, usage, datab, 0, datab.length);
            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keyb, 23), datab);
            checkBytes(javaMac, mac);
            checkBytes(Hex.decode(expect), javaMac);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
Back to top