Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 488 for Unescape (0.26 sec)

  1. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertUnicodeEscaping(e, "%F4%8F%BF%BF", '\uDBFF', '\uDFFF');
    
        assertEquals("", e.escape(""));
        assertEquals("safestring", e.escape("safestring"));
        assertEquals("embedded%00null", e.escape("embedded\0null"));
        assertEquals("max%EF%BF%BFchar", e.escape("max\uffffchar"));
      }
    
      // Helper to assert common expected behaviour of uri escapers.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  3. src/runtime/map_test.go

    			if runtime.MapBucketsPointerIsNil(localMap) {
    				t.Errorf("no escape: buckets pointer is nil for non-escaping map")
    			}
    			for i := 0; i < tt.n; i++ {
    				localMap[i] = i
    			}
    			if got := runtime.MapBucketsCount(localMap); got != tt.noescape {
    				t.Errorf("no escape: n=%d want %d buckets, got %d", tt.n, tt.noescape, got)
    			}
    			escapingMap := runtime.Escape(map[int]int{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/cgonoescape.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // #cgo noescape annotations for a C function means its arguments won't escape to heap.
    
    // We assume that there won't be 100 new allocated heap objects in other places,
    // i.e. runtime.ReadMemStats or other runtime background works.
    // So, the tests are:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 16:43:23 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string%20with%20spaces", basicEscaper.escape("string with spaces"));
        assertEquals("string+with+spaces", plusForSpaceEscaper.escape("string with spaces"));
        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

    David P. Baker <******@****.***> 1641482883 -0800
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. src/text/tabwriter/tabwriter.go

    					n = i
    					b.startEscape(ch)
    				}
    			}
    
    		} else {
    			// inside escape
    			if ch == b.endChar {
    				// end of tag/entity
    				j := i + 1
    				if ch == Escape && b.flags&StripEscape != 0 {
    					j = i // strip Escape
    				}
    				b.append(buf[n:j])
    				n = i + 1 // ch consumed
    				b.endEscape()
    			}
    		}
    	}
    
    	// append leftover text
    	b.append(buf[n:])
    	n = len(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/Escapers.java

          @Override
          @CheckForNull
          protected char[] escape(int cp) {
            // If a code point maps to a single character, just escape that.
            if (cp < Character.MIN_SUPPLEMENTARY_CODE_POINT) {
              return escaper.escape((char) cp);
            }
            // Convert the code point to a surrogate pair and escape them both.
            // Note: This code path is horribly slow and typically allocates 4 new
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/Escapers.java

          @Override
          @CheckForNull
          protected char[] escape(int cp) {
            // If a code point maps to a single character, just escape that.
            if (cp < Character.MIN_SUPPLEMENTARY_CODE_POINT) {
              return escaper.escape((char) cp);
            }
            // Convert the code point to a surrogate pair and escape them both.
            // Note: This code path is horribly slow and typically allocates 4 new
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/fields/selector.go

    	return fmt.Sprintf("invalid field selector: invalid escape sequence: %s", i.sequence)
    }
    
    // UnescapedRune indicates an error occurred unescaping a field selector
    type UnescapedRune struct {
    	r rune
    }
    
    func (i UnescapedRune) Error() string {
    	return fmt.Sprintf("invalid field selector: unescaped character in value: %v", i.r)
    }
    
    // UnescapeValue unescapes a fieldSelector value and returns the original literal value.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 23 20:40:07 UTC 2020
    - 12.3K bytes
    - Viewed (0)
Back to top