Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 259 for nextch (0.18 sec)

  1. src/cmd/compile/internal/syntax/scanner.go

    		s.nlsemi = true
    		s.tok = _Rbrack
    
    	case '}':
    		s.nextch()
    		s.nlsemi = true
    		s.tok = _Rbrace
    
    	case ':':
    		s.nextch()
    		if s.ch == '=' {
    			s.nextch()
    			s.tok = _Define
    			break
    		}
    		s.tok = _Colon
    
    	case '.':
    		s.nextch()
    		if isDecimal(s.ch) {
    			s.number(true)
    			break
    		}
    		if s.ch == '.' {
    			s.nextch()
    			if s.ch == '.' {
    				s.nextch()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/source.go

    // segment.
    func (s *source) rewind() {
    	// ok to verify precondition - rewind is rarely called
    	if s.b < 0 {
    		panic("no active segment")
    	}
    	s.col -= uint(s.r - s.b)
    	s.r = s.b
    	s.nextch()
    }
    
    func (s *source) nextch() {
    redo:
    	s.col += uint(s.chw)
    	if s.ch == '\n' {
    		s.line++
    		s.col = 0
    	}
    
    	// fast common case: at least one ASCII character
    	if s.ch = rune(s.buf[s.r]); s.ch < sentinel {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 19:25:46 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	if fetcher != nil {
    		p, src, err = fetcher.Fetch(source, duration, timeout)
    		if err != nil {
    			return
    		}
    	}
    	if err != nil || p == nil {
    		// Fetch the profile over HTTP or from a file.
    		p, src, err = fetch(source, duration, timeout, ui, tr)
    		if err != nil {
    			return
    		}
    	}
    
    	if err = p.CheckValid(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. pkg/kube/krt/fetch.go

    	"istio.io/istio/pkg/slices"
    )
    
    func FetchOne[T any](ctx HandlerContext, c Collection[T], opts ...FetchOption) *T {
    	res := Fetch[T](ctx, c, opts...)
    	switch len(res) {
    	case 0:
    		return nil
    	case 1:
    		return &res[0]
    	default:
    		panic("FetchOne found for more than 1 item")
    	}
    }
    
    func Fetch[T any](ctx HandlerContext, cc Collection[T], opts ...FetchOption) []T {
    	h := ctx.(registerDependency)
    	c := cc.(internalCollection[T])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/syscall/exec_freebsd.go

    	// so that pass 2 won't stomp on an fd it needs later.
    	if pipe < nextfd {
    		_, _, err1 = RawSyscall(SYS_FCNTL, uintptr(pipe), F_DUP2FD_CLOEXEC, uintptr(nextfd))
    		if err1 != 0 {
    			goto childerror
    		}
    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    				nextfd++
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. src/syscall/exec_libc.go

    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    				nextfd++
    			}
    			switch runtime.GOOS {
    			case "illumos", "solaris":
    				_, err1 = fcntl1(uintptr(fd[i]), _F_DUP2FD_CLOEXEC, uintptr(nextfd))
    			default:
    				_, err1 = dup2child(uintptr(fd[i]), uintptr(nextfd))
    				if err1 != 0 {
    					goto childerror
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/syscall/exec_bsd.go

    			if err1 != 0 {
    				goto childerror
    			}
    			_, _, err1 = RawSyscall(SYS_FCNTL, uintptr(nextfd), F_SETFD, FD_CLOEXEC)
    		}
    		if err1 != 0 {
    			goto childerror
    		}
    		pipe = nextfd
    		nextfd++
    	}
    	for i = 0; i < len(fd); i++ {
    		if fd[i] >= 0 && fd[i] < i {
    			if nextfd == pipe { // don't stomp on pipe
    				nextfd++
    			}
    			if runtime.GOOS == "netbsd" || (runtime.GOOS == "openbsd" && runtime.GOARCH == "mips64") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. src/regexp/testdata/testregex.c

    	}
    }
    
    static void
    matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test)
    {
    	int	i;
    
    	for (; nmatch > nsub + 1; nmatch--)
    		if ((match[nmatch-1].rm_so != -1 || match[nmatch-1].rm_eo != -1) && (!(test & TEST_IGNORE_POSITION) || match[nmatch-1].rm_so >= 0 && match[nmatch-1].rm_eo >= 0))
    			break;
    	for (i = 0; i < nmatch; i++)
    	{
    		printf("(");
    		matchoffprint(match[i].rm_so);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    			// Zip may have partially written to f before failing.
    			// (Perhaps the server crashed while sending the file?)
    			// Since we allow fallback on error in some cases, we need to fix up the
    			// file to be empty again for the next attempt.
    			if _, err := f.Seek(0, io.SeekStart); err != nil {
    				unrecoverableErr = err
    				return err
    			}
    			if err := f.Truncate(0); err != nil {
    				unrecoverableErr = err
    				return err
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationIdFactory.java

    public class DefaultBuildOperationIdFactory implements BuildOperationIdFactory {
        public static final long ROOT_BUILD_OPERATION_ID_VALUE = 1L;
    
        private final AtomicLong nextId = new AtomicLong(ROOT_BUILD_OPERATION_ID_VALUE);
    
        @Override
        public long nextId() {
            return nextId.getAndIncrement();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top