Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 5,290 for thar (0.32 sec)

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

      /**
       * Convert this builder into an array of char[]s where the maximum index is the value of the
       * highest character that has been seen. The array will be sparse in the sense that any unseen
       * index will default to null.
       *
       * @return a "sparse" array that holds the replacement mappings.
       */
      public char[] @Nullable [] toArray() {
        char[][] result = new char[max + 1][];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMinChar = (char) safeMin;
          this.safeMaxChar = (char) Math.min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typestring.go

    	w.byte('[')
    	var prev Type
    	for i, tpar := range list {
    		// Determine the type parameter and its constraint.
    		// list is expected to hold type parameter names,
    		// but don't crash if that's not the case.
    		if tpar == nil {
    			w.error("nil type parameter")
    			continue
    		}
    		if i > 0 {
    			if tpar.bound != prev {
    				// bound changed - write previous one before advancing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

         * https://stackoverflow.com/a/35754308/28465
         *
         * In that explanation's notation, our `overlap` check would be `x1 < y2 && y1 < x2`. We've
         * flipped one part of the check so that we're using "less than" in both cases (rather than a
         * mix of "less than" and "greater than"). We've also switched to "strictly less than" rather
         * than "less than or equal to" because of *handwave* the difference between "endpoints of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
       * reality there are optimizations that make the getBytes(Charset) approach considerably faster,
       * at least for commonly used charsets like UTF-8.
       */
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class PercentEscaperTest extends TestCase {
    
      /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */
      public void testSimpleEscaper() {
        UnicodeEscaper e = new PercentEscaper("", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) {
            assertUnescaped(e, c);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      @Override
      @CheckForNull
      protected final char[] escape(char c) {
        if (c < replacementsLength) {
          char[] chars = replacements[c];
          if (chars != null) {
            return chars;
          }
        }
        if (c >= safeMin && c <= safeMax) {
          return null;
        }
        return escapeUnsafe(c);
      }
    
      /**
       * Escapes a {@code char} value that has no direct explicit value in the replacement array and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/CharEscaperBuilder.java

      /**
       * Convert this builder into an array of char[]s where the maximum index is the value of the
       * highest character that has been seen. The array will be sparse in the sense that any unseen
       * index will default to null.
       *
       * @return a "sparse" array that holds the replacement mappings.
       */
      public char[] @Nullable [] toArray() {
        char[][] result = new char[max + 1][];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/mono.go

    					w.addEdge(idx, w.typeParamVertex(tpar), 1, obj.Pos(), tpar)
    				}
    			}
    		}
    	}
    
    	if w.nameIdx == nil {
    		w.nameIdx = make(map[*TypeName]int)
    	}
    	w.nameIdx[obj] = idx
    	return idx
    }
    
    // typeParamVertex returns the index of the vertex representing tpar.
    func (w *monoGraph) typeParamVertex(tpar *TypeParam) int {
    	if x, ok := w.canon[tpar]; ok {
    		tpar = x
    	}
    
    	obj := tpar.Obj()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

        }
        return InetAddress.getByAddress(reversed);
      }
    
      /**
       * Returns a new InetAddress that is one less than the passed in address. This method works for
       * both IPv4 and IPv6 addresses.
       *
       * @param address the InetAddress to decrement
       * @return a new InetAddress that is one less than the passed in address
       * @throws IllegalArgumentException if InetAddress is at the beginning of its range
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top