On Monday, June 29, 2020 at 8:16:14 PM UTC-5 Ian Lance Taylor wrote:
> On Mon, Jun 29, 2020 at 5:32 PM Bill Morgan
> wrote:
> >
> > for this code:
> >
> > m := make(map[int]int, 9)
> >
> > I think the compiler creates a maptype that is stored at
> type.*+60480(SB) that it uses for the c
On Monday, June 29, 2020 at 10:41:15 PM UTC-5 Ian Lance Taylor wrote:
> On Mon, Jun 29, 2020 at 6:33 PM arthurwil...@gmail.com
> wrote:
> >
> > On Monday, June 29, 2020 at 8:16:14 PM UTC-5 Ian Lance Taylor wrote:
> >>
> >> On Mon, Jun 29, 2020
in runtime/print.go gwrite, if the data is put in the gp.writebuf where
does that writebuf get flushed?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nu
if I want to get a git repo of go module code and start hacking on it do I
use go get or git clone? I tried go get, but it downloaded to ~/go/pkg/mod
and when I tried to run one of the tests it didn't work. Also there's no
.git dir with the history in the go get tree of the code. Is there a way
On Friday, March 12, 2021 at 11:13:44 PM UTC-6 Carla Pfaff wrote:
> You use git clone. Go get is for adding a dependency to a project.
>
> Also how do I delete something I go getted?
>>
>
> ~/go/pkg/mod is just a local cache, nothing you work in. You can clear the
> whole module cache with go
On Saturday, March 13, 2021 at 8:44:44 AM UTC-6 Jan Mercl wrote:
> On Sat, Mar 13, 2021 at 3:35 PM arthurwil...@gmail.com
> wrote:
>
> > I just want to remove one thing go getted, not the entire cache.
>
> For new features one can fill a proposal. If accepted, a
On Saturday, March 13, 2021 at 10:02:50 AM UTC-6 Jan Mercl wrote:
> On Sat, Mar 13, 2021 at 4:57 PM arthurwil...@gmail.com
> wrote:
>
> > OK I'll try and figure out how to do that. What is a CL?
>
> Change List. A patch against the repository that implements a f
On Saturday, March 13, 2021 at 8:44:44 AM UTC-6 Jan Mercl wrote:
> On Sat, Mar 13, 2021 at 3:35 PM arthurwil...@gmail.com
> wrote:
>
> > I just want to remove one thing go getted, not the entire cache.
>
> For new features one can fill a proposal. If accepted, a
On a 64bit Mac, this code:
package main
var X [^uint(0)>>14]byte
func main() {
}
produces a compile time error:
main.X: symbol too large (1125899906842623 bytes > 20 bytes)
But this compiles and crashes at runtime.
package main
func main() {
var X [^uint(0) >> 14]byte
_ = X
}
runtim
ceed
>
>
Why does the linker impose a 2GB limit on .bss data but not heap memory? Is
there a limit on heap variables?
>
> On Saturday, November 13, 2021 at 5:46:29 PM UTC arthurwil...@gmail.com
> wrote:
>
>> On a 64bit Mac, this code:
>>
>> package
this should probably be updated to width 8:
// width 4 (float64)
https://cs.opensource.google/go/go/+/master:test/ken/slicearray.go;l=92#:~:text=91-,92,-93
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop r
How is it possible for this test case to ever fail?
// Same allocation should be equal to itself (not crash).
err := errors.New("jkl")
if err != err {
t.Errorf(`err != err`)
}
https://cs.opensource.google/go/go/+/master:src/errors/errors_test.go;drc=519474451a44b861e54466998a893a173bd54c4b;l=24
I'm trying to build an unoptimized version of the standard library for
debugging.
I tried using GO_GCFLAGS='-N -l' but dlv is telling me the code is
optimized.
This is what I did (Notice the "Warning debugging optimized function"
coming from delve)
/Volumes/git/goroot/src (master)$ git log --o
On Sunday, April 3, 2022 at 10:35:04 PM UTC-5 Ian Lance Taylor wrote:
> On Sun, Apr 3, 2022 at 6:21 PM arthurwil...@gmail.com
> wrote:
> >
> > I'm trying to build an unoptimized version of the standard library for
> debugging.
>
> You can just use
On Monday, April 4, 2022 at 6:14:30 PM UTC-5 Ian Lance Taylor wrote:
> On Mon, Apr 4, 2022 at 3:49 PM arthurwil...@gmail.com
> wrote:
> >
> >
> >
> > On Sunday, April 3, 2022 at 10:35:04 PM UTC-5 Ian Lance Taylor wrote:
> >>
> >> On Su
On Monday, April 4, 2022 at 7:00:49 PM UTC-5 arthurwil...@gmail.com wrote:
> On Monday, April 4, 2022 at 6:14:30 PM UTC-5 Ian Lance Taylor wrote:
>
>> On Mon, Apr 4, 2022 at 3:49 PM arthurwil...@gmail.com
>> wrote:
>> >
>> >
>> >
>>
Hey Golang-Nuts folks,
So I cloned the Go project from GitHub (github.com/golang/go) and tried to
open it in Visual Studio Code with the Go extension. But I'm running into
some pesky errors from gopls, and it's messing with the module detection.
When I open the root of the repo, I get this erro
Hello, on Windows 11, make.bat works but run.bat is failing on some tests
and also has weird test output with extra whitespace.
I have this commit checked out:
Microsoft Windows [Version 10.0.22631.4169]
(c) Microsoft Corporation. All rights reserved.
C:\Users\arthu\git\go\src>git log -1 --one
18 matches
Mail list logo