Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for toHexString (0.11 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

        byte[] quad = textToNumericFormatV4(dottedQuad);
        if (quad == null) {
          return null;
        }
        String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff));
        String ultimate = Integer.toHexString(((quad[2] & 0xff) << 8) | (quad[3] & 0xff));
        return initialPart + penultimate + ":" + ultimate;
      }
    
      private static byte parseOctet(String ipString, int start, int end) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        byte[] quad = textToNumericFormatV4(dottedQuad);
        if (quad == null) {
          return null;
        }
        String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff));
        String ultimate = Integer.toHexString(((quad[2] & 0xff) << 8) | (quad[3] & 0xff));
        return initialPart + penultimate + ":" + ultimate;
      }
    
      private static byte parseOctet(String ipString, int start, int end) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

          if (ch > Ascii.MAX) {
            throw new DecodingException("Unrecognized character: 0x" + Integer.toHexString(ch));
          }
          int result = decodabet[ch];
          if (result == -1) {
            if (ch <= 0x20 || ch == Ascii.MAX) {
              throw new DecodingException("Unrecognized character: 0x" + Integer.toHexString(ch));
            } else {
              throw new DecodingException("Unrecognized character: " + ch);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      @J2ktIncompatible // hexadecimal doubles
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toHexString(d));
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseNaN() {
        checkTryParse("NaN");
        checkTryParse("+NaN");
        checkTryParse("-NaN");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         * character.</p>
         *
         * @param ch The character to convert.
         * @return An upper case hexadecimal <code>String</code>
         */
        protected static String hex(char ch) {
            return Integer.toHexString(ch).toUpperCase(Locale.ENGLISH);
        }
    
        /**
         * <p>Checks if the value is in the given array.</p>
         *
         * <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      @J2ktIncompatible // hexadecimal floats
      @GwtIncompatible // Floats.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toHexString(f));
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseNaN() {
        checkTryParse("NaN");
        checkTryParse("+NaN");
        checkTryParse("-NaN");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      @J2ktIncompatible // hexadecimal doubles
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toHexString(d));
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseNaN() {
        checkTryParse("NaN");
        checkTryParse("+NaN");
        checkTryParse("-NaN");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      @J2ktIncompatible // hexadecimal floats
      @GwtIncompatible // Floats.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toHexString(f));
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseNaN() {
        checkTryParse("NaN");
        checkTryParse("+NaN");
        checkTryParse("-NaN");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top