On Tuesday, November 29, 2022 at 9:07:25 AM UTC+1 Marcel Huijkman wrote:
> golangci-lint has :
> dogsled:
> # checks assignments with too many blank identifiers; default is 2
> max-blank-identifiers: 0
>
Great, thank you.
w.
--
You received this message because you are subscribed to the Googl
On Monday, November 28, 2022 at 1:50:21 PM UTC+1 Jan Mercl wrote:
> On Mon, Nov 28, 2022 at 1:44 PM Wojciech Muła wrote:
>
> > Is there any tool that would point out places with
> > an assignment to the blank identifier?
> >
> > I'd like to spot p
Hi!
Is there any tool that would point out places with
an assignment to the blank identifier?
I'd like to spot possible refactoring/debug leftovers,
like `_ := func() {}` or unused imports.
I went through the staticcheck list of checks, but
didn't find anything similar.
cheers
Wojciech
--
You
On Wednesday, March 9, 2022 at 12:37:10 PM UTC+1 christoph...@gmail.com
wrote:
> This value is converted to float64/double, and divided by 2^64.
> The resulting number is multiplied by 1e8.
>
> Could it be that the C program is performing the computation with long
> double (80 bit) precision an
/obj/x86/asm6.go#L51-L67
>
>
> On Friday, 25 February 2022 at 06:42:23 UTC Wojciech Muła wrote:
>
>> The directive is not documented on
>> https://pkg.go.dev/cmd/internal/obj/x86. `grep -l -R PCALIGN *` run in
>> `cmd/interal/obj` shows for the freshest master:
>>
---
---main.go---
package main
// go:noescape
func asmfun()
func main() { asmfun() }
---eof---
w.
On Friday, February 25, 2022 at 2:21:41 AM UTC+1 Ian Lance Taylor wrote:
> On Thu, Feb 24, 2022 at 9:40 AM Wojciech Muła wrote:
> >
> > I'm writing an implementation in x86 assembl
Hi all! That's my first post to the group.
I'm writing an implementation in x86 assembler and I need to force a
certain alignment of blocks of code (as it affects performance). I found
that there's PCALIGN directive, but it's only available for the PPC
architecture. It does not work for x86.