Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for softmax (0.07 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       */
      protected ArrayBasedCharEscaper(
          Map<Character, String> replacementMap, char safeMin, char safeMax) {
    
        this(ArrayBasedEscaperMap.create(replacementMap), safeMin, safeMax);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will fail.
          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
        // This is a bit of a hack but lets us do quicker per-character checks in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox"));
      }
    
      public void testBuilderInitialStateNoneUnsafe() {
        // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF).
        Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build();
        assertEquals("\0\uFFFF", escaper.escape("\0\uFFFF"));
      }
    
      public void testBuilderRetainsState() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top