Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 162 for NoExperiment (0.15 sec)

  1. src/cmd/go/internal/cache/default.go

    // license that can be found in the LICENSE file.
    
    package cache
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"sync"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"internal/goexperiment"
    )
    
    // Default returns the default cache to use.
    // It never returns nil.
    func Default() Cache {
    	defaultOnce.Do(initDefaultCache)
    	return defaultCache
    }
    
    var (
    	defaultOnce  sync.Once
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/runtime/lockrank_off.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 runtime
    
    const staticLockRanking = false
    
    // // lockRankStruct is embedded in mutex, but is empty when staticklockranking is
    // disabled (the default)
    type lockRankStruct struct {
    }
    
    func lockInit(l *mutex, rank lockRank) {
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/sync/runtime2_lockrank.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
    	rank   int     // rank field of the mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 546 bytes
    - Viewed (0)
  4. test/fixedbugs/issue4099.go

    // errorcheck -0 -m
    
    //go:build !goexperiment.newinliner
    
    // Copyright 2013 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 go:noescape annotations.
    
    package p
    
    // The noescape comment only applies to the next func,
    // which must not have a body.
    
    //go:noescape
    
    func F1([]byte)
    
    func F2([]byte)
    
    func G() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 509 bytes
    - Viewed (0)
  5. doc/next/2-language.md

    For details see the [language spec](/ref/spec#For_statements).
    
    <!-- go.dev/issue/46477, CL 566856, CL 586955, CL 586956 -->
    Go 1.23 includes preview support for [generic type aliases](/issue/46477).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  6. src/reflect/arena.go

    // Copyright 2022 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.arenas
    
    package reflect
    
    import "arena"
    
    // ArenaNew returns a [Value] representing a pointer to a new zero value for the
    // specified type, allocating storage for it in the provided arena. That is,
    // the returned Value's Type is [PointerTo](typ).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 574 bytes
    - Viewed (0)
  7. test/codegen/structs.go

    // asmcheck
    
    //go:build !goexperiment.cgocheck2
    
    // Copyright 2018 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 codegen
    
    // This file contains code generation tests related to the handling of
    // struct types.
    
    // ------------- //
    //    Zeroing    //
    // ------------- //
    
    type Z1 struct {
    	a, b, c int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 923 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    [short] skip
    
    # Hard-wire new coverage for this test.
    env GOEXPERIMENT=coverageredesign
    
    # Baseline run.
    go test -cover example/foo
    stdout 'coverage: 50.0% of statements$'
    
    # Coverage percentage output should mention -coverpkg selection.
    go test -coverpkg=example/foo example/foo
    stdout 'coverage: 50.0% of statements in example/foo'
    
    # Try to ask for coverage of a package that doesn't exist.
    go test -coverpkg nonexistent example/bar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/arena_fail.go

    // Copyright 2022 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.arenas
    
    package main
    
    import "arena"
    
    func main() {
    	a := arena.NewArena()
    	x := arena.New[[200]byte](a)
    	x[0] = 9
    	a.Free()
    	// Use after free.
    	//
    	// ASAN should detect this deterministically as Free
    	// should poison the arena memory.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 700 bytes
    - Viewed (0)
  10. test/range2.go

    // errorcheck -goexperiment rangefunc
    
    // 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.
    
    // See ../internal/types/testdata/spec/range.go for most tests.
    // The ones in this file cannot be expressed in that framework
    // due to conflicts between that framework's error location pickiness
    // and gofmt's comment location pickiness.
    
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:32:14 UTC 2023
    - 830 bytes
    - Viewed (0)
Back to top