Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for toHexString (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @Benchmark
      int strongInterner(int reps) {
        Interner<String> interner = Interners.newStrongInterner();
        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @Benchmark
      int strongInterner(int reps) {
        Interner<String> interner = Interners.newStrongInterner();
        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                byte[] addr = localInetAddress.getAddress();
                localHostname = "JCIFS" + ( addr[ 2 ] & 0xFF ) + "_" + ( addr[ 3 ] & 0xFF ) + "_"
                        + Hexdump.toHexString((int) ( Math.random() * 0xFF ), 2);
            }
    
            /*
             * Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top