Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 2G (0.35 sec)

  1. src/go/token/position.go

    		panic(fmt.Sprintf("invalid size %d (should be >= 0)", size))
    	}
    	// base >= s.base && size >= 0
    	base += size + 1 // +1 because EOF also has a position
    	if base < 0 {
    		panic("token.Pos offset overflow (> 2G of source code in file set)")
    	}
    	// add the file to the file set
    	s.base = base
    	s.files = append(s.files, f)
    	s.last.Store(f)
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top