Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toHex (0.04 sec)

  1. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpKeyId.java

        public PgpKeyId(long keyId) {
            asLong = keyId;
            asHex = toHex(keyId);
        }
    
        public PgpKeyId(PGPPublicKey keyId) {
            this(keyId.getKeyID());
        }
    
        public PgpKeyId(PGPSignature signature) {
            this(signature.getKeyID());
        }
    
        public PgpKeyId(String keyId) {
            asLong = toLong(keyId);
            asHex = toHex(asLong);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/net/UuidUtil.java

        private static final SecureRandom RANDOM = new SecureRandom();
    
        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
         * UUIDを作成します。
         *
         * @return UUIDの文字列
         */
        public static String create() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testToHex() throws Exception {
            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * 16進数の文字列に変換します。
         *
         * @param bytes
         *            バイトの配列
         * @return 16進数の文字列
         */
        public static String toHex(final byte[] bytes) {
            if (bytes == null) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(bytes.length * 2);
            for (final byte b : bytes) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      printer << " : \"";
      if (limit && limit.value() < bytes_str.size()) {
        printer << "__elided__";
      } else {
        printer << "0x" << llvm::toHex(bytes_str);
      }
      printer << "\"";
    }
    
    //===----------------------------------------------------------------------===//
    // BitcastOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top