Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,089 for Trailing (0.19 sec)

  1. src/runtime/profbuf.go

    	if i+want > len(b.data) {
    		// Can't fit in trailing fragment of slice.
    		// Skip over that and start over at beginning of slice.
    		nd -= len(b.data) - i
    		i = 0
    	}
    	i += want
    	nd -= want
    
    	// second record
    	want = 2 + int(b.hdrsize) + nstk2
    	if i+want > len(b.data) {
    		// Can't fit in trailing fragment of slice.
    		// Skip over that and start over at beginning of slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. src/internal/filepathlite/path.go

    		if path[i] == '.' {
    			return path[i:]
    		}
    	}
    	return ""
    }
    
    // Base is filepath.Base.
    func Base(path string) string {
    	if path == "" {
    		return "."
    	}
    	// Strip trailing slashes.
    	for len(path) > 0 && IsPathSeparator(path[len(path)-1]) {
    		path = path[0 : len(path)-1]
    	}
    	// Throw away volume name
    	path = path[len(VolumeName(path)):]
    	// Find the last element
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/embed/embed.go

    	// See cmd/compile/internal/staticdata's WriteEmbed.
    	//
    	// The files list is sorted by name but not by simple string comparison.
    	// Instead, each file's name takes the form "dir/elem" or "dir/elem/".
    	// The optional trailing slash indicates that the file is itself a directory.
    	// The files list is sorted first by dir (if dir is missing, it is taken to be ".")
    	// and then by base, so this list of files:
    	//
    	//	p
    	//	q/
    	//	q/r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. src/go/build/constraint/expr.go

    // It returns "", false if the input is not a //go:build line or if the input contains multiple lines.
    func splitGoBuild(line string) (expr string, ok bool) {
    	// A single trailing newline is OK; otherwise multiple lines are not.
    	if len(line) > 0 && line[len(line)-1] == '\n' {
    		line = line[:len(line)-1]
    	}
    	if strings.Contains(line, "\n") {
    		return "", false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    		// cut trailing : number.
    		p = strrchr(buf, ":"[0]);
    		if(p)
    			*p = '\0';
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    
    	return 0;
    }
    
    '
    ) >_errors.c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (1)
  6. src/net/mail/message.go

    }
    
    // consumeAtom parses an RFC 5322 atom at the start of p.
    // If dot is true, consumeAtom parses an RFC 5322 dot-atom instead.
    // If permissive is true, consumeAtom will not fail on:
    // - leading/trailing/double dots in the atom (see golang.org/issue/4938)
    func (p *addrParser) consumeAtom(dot bool, permissive bool) (atom string, err error) {
    	i := 0
    
    Loop:
    	for {
    		r, size := utf8.DecodeRuneInString(p.s[i:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. src/net/netip/slow_test.go

    //   - IPv6 with many leading zeros: 00000001:0000002:0000003:0000004:0000005:0000006:0000007:0000008
    //   - IPv6 with zero blocks elided: 1111:2222::7777:8888
    //   - IPv6 with trailing 32 bits expressed as IPv4: 1111:2222:3333:4444:5555:6666:77.77.88.88
    //
    // It does not process the following IP address forms, which have been
    // varyingly accepted by some programs due to an under-specification
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/image/png/reader_test.go

    	}
    
    	// Non-zero-length trailing IDAT chunks should be ignored (recoverable error).
    	// The following chunk contains a single pixel with color.Gray{0}.
    	const idatBlack = "\x00\x00\x00\x0eIDAT\x78\x9c\x62\x62\x00\x04\x00\x00\xff\xff\x00\x06\x00\x03\xfa\xd0\x59\xae"
    
    	img, err := Decode(strings.NewReader(pngHeader + ihdr + idatWhite + idatBlack + iend))
    	if err != nil {
    		t.Fatalf("trailing IDAT not ignored: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  9. pkg/apis/apps/validation/validation.go

    )
    
    // ValidateStatefulSetName can be used to check whether the given StatefulSet name is valid.
    // Prefix indicates this name will be used as part of generation, in which case
    // trailing dashes are allowed.
    func ValidateStatefulSetName(name string, prefix bool) []string {
    	// TODO: Validate that there's room for the suffix inserted by the pods.
    	// Currently this is just "-index". In the future we may allow a user
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	}
    	p.LineRune += utf8.RuneCountInString(s)
    	return p
    }
    
    // An Expr represents an input element.
    type Expr interface {
    	// Span returns the start and end position of the expression,
    	// excluding leading or trailing comments.
    	Span() (start, end Position)
    
    	// Comment returns the comments attached to the expression.
    	// This method would normally be named 'Comments' but that
    	// would interfere with embedding a type of the same name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top