Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 239 for escapers (0.32 sec)

  1. src/cmd/vendor/golang.org/x/mod/module/module.go

    // UnescapePath returns the module path for the given escaped path.
    // It fails if the escaped path is invalid or describes an invalid path.
    func UnescapePath(escaped string) (path string, err error) {
    	path, ok := unescapeString(escaped)
    	if !ok {
    		return "", fmt.Errorf("invalid escaped module path %q", escaped)
    	}
    	if err := CheckPath(path); err != nil {
    		return "", fmt.Errorf("invalid escaped module path %q: %v", escaped, err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

                    result = result.replace(ESCAPED_QUOTE, "\"");
                }
            }
    
            return result;
    
        }
    
        /**
         * Quote and escape input value for CSV
         *
         * @param original Original text.
         * @return Escaped text.
         */
        public static String quoteEscape(final String original) {
            String result = original;
    
            if (result.indexOf('\"') >= 0) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/html/template/js.go

    		return nil
    	}
    
    	v := reflect.ValueOf(a)
    	for !v.Type().Implements(jsonMarshalType) && v.Kind() == reflect.Pointer && !v.IsNil() {
    		v = v.Elem()
    	}
    	return v.Interface()
    }
    
    // jsValEscaper escapes its inputs to a JS Expression (section 11.14) that has
    // neither side-effects nor free variables outside (NaN, Infinity).
    func jsValEscaper(args ...any) string {
    	var a any
    	if len(args) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_mips64x.go

    //go:noescape
    func Load(ptr *uint32) uint32
    
    //go:noescape
    func Load8(ptr *uint8) uint8
    
    //go:noescape
    func Load64(ptr *uint64) uint64
    
    // NO go:noescape annotation; *ptr escapes if result escapes (#31525)
    func Loadp(ptr unsafe.Pointer) unsafe.Pointer
    
    //go:noescape
    func LoadAcq(ptr *uint32) uint32
    
    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/internal/reflectlite/value.go

    //
    //go:noescape
    func typedmemmove(t *abi.Type, dst, src unsafe.Pointer)
    
    // Dummy annotation marking that the value x escapes,
    // for use in cases where the reflect code is so clever that
    // the compiler cannot follow.
    func escapes(x any) {
    	if dummy.b {
    		dummy.x = x
    	}
    }
    
    var dummy struct {
    	b bool
    	x any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. logger/sql_test.go

    type ExampleStruct struct {
    	Name string
    	Val  string
    }
    
    func (s ExampleStruct) Value() (driver.Value, error) {
    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    	return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper
    }
    
    func TestExplainSQL(t *testing.T) {
    	type role string
    	type password []byte
    	type intType int
    	type floatType float64
    	var (
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/html/template/transition.go

    					state: stateError,
    					err:   errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in JS string: %q", s),
    				}, len(s)
    			}
    		case '[':
    			inCharset = true
    		case ']':
    			inCharset = false
    		case '/':
    			// If "</script" appears in a regex literal, the '/' should not
    			// close the regex literal, and it will later be escaped to
    			// "\x3C/script" in escapeText.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. internal/logger/console.go

    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // Accessible property names are escaped according to the following rules when accessed in the expression:
      // - '__' escapes to '__underscores__'
      // - '.' escapes to '__dot__'
      // - '-' escapes to '__dash__'
      // - '/' escapes to '__slash__'
      // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_ppc64x.go

    //go:noescape
    func Load(ptr *uint32) uint32
    
    //go:noescape
    func Load8(ptr *uint8) uint8
    
    //go:noescape
    func Load64(ptr *uint64) uint64
    
    // NO go:noescape annotation; *ptr escapes if result escapes (#31525)
    func Loadp(ptr unsafe.Pointer) unsafe.Pointer
    
    //go:noescape
    func LoadAcq(ptr *uint32) uint32
    
    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top