Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for toHexString (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          else -> {
            throw ProtocolException("Unknown control opcode: " + opcode.toHexString())
          }
        }
      }
    
      @Throws(IOException::class)
      private fun readMessageFrame() {
        val opcode = this.opcode
        if (opcode != OPCODE_TEXT && opcode != OPCODE_BINARY) {
          throw ProtocolException("Unknown opcode: ${opcode.toHexString()}")
        }
    
        readMessage()
    
        if (readingCompressedMessage) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    internal fun Long.toHexString(): String = java.lang.Long.toHexString(this)
    
    internal fun Int.toHexString(): String = Integer.toHexString(this)
    
    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    internal inline fun Any.wait() = (this as Object).wait()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PACTest.java

                Assert.fail(String.format("Expect: %s Have: %s", Hexdump.toHexString(expect), Hexdump.toHexString(have)));
            }
        }
    
    
        private static void verifyNfold ( int n, String string, String expect ) {
            byte[] expanded = PacMac.expandNFold(string.getBytes(StandardCharsets.US_ASCII), n / 8);
            Assert.assertEquals(expect, Hexdump.toHexString(expanded).toLowerCase(Locale.ROOT));
        }
    
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                    resp.decode(this.sbuf, 4);
                    resp.received();
    
                    if ( log.isTraceEnabled() ) {
                        log.trace(resp.toString());
                        log.trace(Hexdump.toHexString(this.sbuf, 4, n));
                    }
                }
                else {
                    Smb2NegotiateResponse r = new Smb2NegotiateResponse(getContext().getConfig());
                    r.decode(this.sbuf, 4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            }
            final byte[] digest = msgDigest.digest();
    
            final StringBuilder buffer = new StringBuilder(200);
            for (final byte element : digest) {
                final String tmp = Integer.toHexString(element & 0xff);
                if (tmp.length() == 1) {
                    buffer.append('0').append(tmp);
                } else {
                    buffer.append(tmp);
                }
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

        //                                                                      ==============
        @Override
        public String toString() {
            final String hash = Integer.toHexString(hashCode());
            return DfTypeUtil.toClassTitle(this) + ":{acceptCookieLocale=" + isAcceptCookieLocale() + "}@" + hash;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java

            sb.append(":{useTimeZoneHandling=").append(isUseTimeZoneHandling());
            sb.append(", acceptCookieTimeZone=").append(isAcceptCookieTimeZone());
            sb.append("}@").append(Integer.toHexString(hashCode()));
            return sb.toString();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/JsonUtil.java

                    break;
                case '\r':
                    buf.append("\\r");
                    break;
                default:
                    if (c < ' ') {
                        final String hex = Integer.toHexString(c);
                        buf.append("\\u");
                        for (int j = 0; j < 4 - hex.length(); j++) {
                            buf.append('0');
    
                        }
                        buf.append(hex);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Strings.java

                if ( len > maxLen ) {
                    if ( log.isDebugEnabled() ) {
                        log.warn("Failed to find string termination with max length " + maxLen);
                        log.debug(Hexdump.toHexString(buffer, bufferIndex, len));
                    }
                    throw new RuntimeCIFSException("zero termination not found");
                }
            }
            return len;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            数値
         */
        public static void appendHex(final StringBuilder buf, final int i) {
            buf.append(Integer.toHexString(i >> 24 & 0xff));
            buf.append(Integer.toHexString(i >> 16 & 0xff));
            buf.append(Integer.toHexString(i >> 8 & 0xff));
            buf.append(Integer.toHexString(i & 0xff));
        }
    
        /**
         * _記法をキャメル記法に変換します。
         * <p>
         * 次のように使います.
         * </p>
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top