Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 162 for NoExperiment (0.25 sec)

  1. test/fixedbugs/issue42284.go

    // errorcheckdir -0 -m
    
    //go:build !goexperiment.newinliner
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 237 bytes
    - Viewed (0)
  2. src/sync/runtime2.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !goexperiment.staticlockranking
    
    package sync
    
    import "unsafe"
    
    // Approximation of notifyList in runtime/sema.go. Size and alignment must
    // agree.
    type notifyList struct {
    	wait   uint32
    	notify uint32
    	lock   uintptr // key field of the mutex
    	head   unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 465 bytes
    - Viewed (0)
  3. src/cmd/internal/cov/read_test.go

    package cov_test
    
    import (
    	"cmd/internal/cov"
    	"fmt"
    	"internal/coverage"
    	"internal/coverage/decodecounter"
    	"internal/coverage/decodemeta"
    	"internal/coverage/pods"
    	"internal/goexperiment"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    )
    
    // visitor implements the CovDataVisitor interface in a very stripped
    // down way, just keeps track of interesting events.
    type visitor struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue67683.go

    // -goexperiment=aliastypeparams -gotypesalias=1
    
    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type A[P any] func()
    
    // alias signature types
    type B[P any] = func()
    type C[P any] = B[P]
    
    var _ = A /* ERROR "cannot use generic type A without instantiation" */ (nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 613 bytes
    - Viewed (0)
  5. test/fixedbugs/issue30862.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"issue30862.dir/b"
    )
    
    // Test case for issue 30862.
    
    // Be aware that unless GOEXPERIMENT=fieldtrack is set when building
    // the compiler, this test will fail if executed with a regular GC
    // compiler.
    
    func main() {
    	bad := b.Test()
    	if len(bad) > 0 {
    		for _, s := range bad {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 18:43:12 UTC 2021
    - 549 bytes
    - Viewed (0)
  6. test/closure3.go

    // errorcheckandrundir -0 -m -d=inlfuncswithclosures=1
    
    //go:build !goexperiment.newinliner
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check correctness of various closure corner cases
    // that are expected to be inlined
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 358 bytes
    - Viewed (0)
  7. test/fixedbugs/issue63333.go

    // errorcheck -goexperiment fieldtrack
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func f(interface{ m() }) {}
    func g()                 { f(new(T)) } // ERROR "m method is marked 'nointerface'"
    
    type T struct{}
    
    //go:nointerface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:44:52 UTC 2023
    - 374 bytes
    - Viewed (0)
  8. test/fixedbugs/issue47928.go

    // run -goexperiment fieldtrack
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var i interface{} = new(T)
    	if _, ok := i.(interface{ Bad() }); ok {
    		panic("FAIL")
    	}
    }
    
    type T struct{ U }
    
    type U struct{}
    
    //go:nointerface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 24 18:02:21 UTC 2021
    - 386 bytes
    - Viewed (0)
  9. src/crypto/tls/fipsonly/fipsonly.go

    //
    // The effect is triggered by importing the package anywhere in a program, as in:
    //
    //	import _ "crypto/tls/fipsonly"
    //
    // This package only exists when using Go compiled with GOEXPERIMENT=boringcrypto.
    package fipsonly
    
    // This functionality is provided as a side effect of an import to make
    // it trivial to add to an existing program. It requires only a single line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:22 UTC 2022
    - 901 bytes
    - Viewed (0)
  10. test/fixedbugs/issue20250.go

    // errorcheck -0 -live -l
    
    //go:build !goexperiment.cgocheck2
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20250: liveness differed with concurrent compilation
    // due to propagation of addrtaken to outer variables for
    // closure variables.
    
    package p
    
    type T struct {
    	s [2]string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
Back to top