Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for chars (0.04 sec)

  1. src/cmd/internal/objabi/path.go

    // last segment of the path, and it makes for happier users if we escape that as
    // little as possible.
    func PathToPrefix(s string) string {
    	slash := strings.LastIndex(s, "/")
    	// check for chars that need escaping
    	n := 0
    	for r := 0; r < len(s); r++ {
    		if c := s[r]; c <= ' ' || (c == '.' && r > slash) || c == '%' || c == '"' || c >= 0x7F {
    			n++
    		}
    	}
    
    	// quick exit
    	if n == 0 {
    		return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/html/template/error.go

    	//   Maybe refactor recursive templates to not be recursive.
    	ErrOutputContext
    
    	// ErrPartialCharset: "unfinished JS regexp charset in ..."
    	// Example:
    	//     <script>var pattern = /foo[{{.Chars}}]/</script>
    	// Discussion:
    	//   Package html/template does not support interpolation into regular
    	//   expression literal character sets.
    	ErrPartialCharset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/12-telemetry.yml

          A CL containing proposed changes to the
          [config.txt](https://go.googlesource.com/telemetry/+/master/internal/chartconfig/config.txt)
          chart configuration.
          See the [chartconfig](https://pkg.go.dev/golang.org/x/telemetry/internal/chartconfig)
          package for an explanation of the chart config format.
          For an example change, see [CL 564619](https://go.dev/cl/564619).
      validations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 19:58:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/log/slog/json_handler.go

    				char('r')
    			case '\t':
    				char('t')
    			default:
    				// This encodes bytes < 0x20 except for \t, \n and \r.
    				str(`u00`)
    				char(hex[b>>4])
    				char(hex[b&0xF])
    			}
    			i++
    			start = i
    			continue
    		}
    		c, size := utf8.DecodeRuneInString(s[i:])
    		if c == utf8.RuneError && size == 1 {
    			if start < i {
    				str(s[start:i])
    			}
    			str(`\ufffd`)
    			i += size
    			start = i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue4029.go

    // as dynamic export is not supported.
    
    package cgotest
    
    /*
    #include <stdint.h>
    #include <dlfcn.h>
    #cgo linux LDFLAGS: -ldl
    
    extern uintptr_t dlopen4029(char*, int);
    extern uintptr_t dlsym4029(uintptr_t, char*);
    extern int dlclose4029(uintptr_t);
    
    extern void call4029(uintptr_t arg);
    */
    import "C"
    
    import (
    	"testing"
    )
    
    var callbacks int
    
    //export IMPIsOpaque
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.html

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>{{.Title}}</title>
      {{template "css" .}}
      {{template "stacks_css"}}
    </head>
    <body>
      {{template "header" .}}
      <div id="stack-holder">
        <div id="stack-chart"></div>
        <div id="current-details"></div>
      </div>
      <div id="action-menu" class="submenu">
        <span id="action-title"></span>
        <hr>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/runtime/cgo/libcgo.h

    /*
     * Get the low and high boundaries of the stack.
     */
    void x_cgo_getstackbound(uintptr bounds[2]);
    
    /*
     * Prints error then calls abort. For linux and android.
     */
    void fatalf(const char* format, ...) __attribute__ ((noreturn));
    
    /*
     * Registers the current mach thread port for EXC_BAD_ACCESS processing.
     */
    void darwin_arm_init_thread_exception_port(void);
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/path/match.go

    	return star, pattern[0:i], pattern[i:]
    }
    
    // matchChunk checks whether chunk matches the beginning of s.
    // If so, it returns the remainder of s (after the match).
    // Chunk is all single-character operators: literals, char classes, and ?.
    func matchChunk(chunk, s string) (rest string, ok bool, err error) {
    	// failed records whether the match has failed.
    	// After the match fails, the loop continues on processing chunk,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcshared/testdata/main4.c

    #include <sys/types.h>
    #include <unistd.h>
    #include <sched.h>
    #include <time.h>
    #include <dlfcn.h>
    
    static void die(const char* msg) {
    	perror(msg);
    	exit(EXIT_FAILURE);
    }
    
    static volatile sig_atomic_t sigioSeen;
    
    // Use up some stack space.
    static void recur(int i, char *p) {
    	char a[1024];
    
    	*p = '\0';
    	if (i > 0) {
    		recur(i - 1, a);
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/build_test.go

    		want []string
    	}{
    		// broken quotation
    		{[]byte(`"     \r\n      `), nil},
    		{[]byte(`"-r:foo" "-L/usr/white space/lib "-lfoo bar" "-lbar baz"`), nil},
    		{[]byte(`"-lextra fun arg\\`), nil},
    		// broken char escaping
    		{[]byte(`broken flag\`), nil},
    		{[]byte(`extra broken flag \`), nil},
    		{[]byte(`\`), nil},
    		{[]byte(`"broken\"" "extra" \`), nil},
    	} {
    		got, err := splitPkgConfigOutput(test.in)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top