Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 159 for GOEXPERIMENT (0.13 sec)

  1. src/cmd/dist/build.go

    	// Disable GOEXPERIMENT when building toolchain1 and
    	// go_bootstrap. We don't need any experiments for the
    	// bootstrap toolchain, and this lets us avoid duplicating the
    	// GOEXPERIMENT-related build logic from cmd/go here. If the
    	// bootstrap toolchain is < Go 1.17, it will ignore this
    	// anyway since GOEXPERIMENT is baked in; otherwise it will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/inl_test.go

    // 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.
    
    package test
    
    import (
    	"bufio"
    	"internal/goexperiment"
    	"internal/testenv"
    	"io"
    	"math/bits"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestIntendedInlining tests that specific functions are inlined.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/coro.go

    // 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.
    
    //go:build goexperiment.rangefunc
    
    package main
    
    import (
    	"fmt"
    	"iter"
    	"runtime"
    )
    
    func init() {
    	register("CoroLockOSThreadIterLock", func() {
    		println("expect: OK")
    		CoroLockOSThread(callerExhaust, iterLock)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/coro.go

    // 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.
    
    //go:build goexperiment.rangefunc && !windows
    
    package main
    
    /*
    #include <stdint.h> // for uintptr_t
    
    void go_callback_coro(uintptr_t handle);
    
    static void call_go(uintptr_t handle) {
    	go_callback_coro(handle);
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"iter"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/go/importer/importer_test.go

    		// need to support importing "math/big" as "math/bigger", for
    		// example. cmd/link no longer supports that.
    		if true /* was buildcfg.Experiment.Unified */ {
    			t.Skip("not supported by GOEXPERIMENT=unified; see go.dev/cl/406319")
    		}
    
    		lookup := func(path string) (io.ReadCloser, error) {
    			if path != "math/bigger" {
    				t.Fatalf("lookup called with unexpected path %q", path)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/runtime/abi_test.go

    // 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.
    
    //go:build goexperiment.regabiargs
    
    // This file contains tests specific to making sure the register ABI
    // works in a bunch of contexts in the runtime.
    
    package runtime_test
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"runtime"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/main.go

    	} else {
    		addstrdata1(ctxt, "runtime.defaultGOROOT="+buildcfg.GOROOT)
    	}
    
    	buildVersion := buildcfg.Version
    	if goexperiment := buildcfg.Experiment.String(); goexperiment != "" {
    		buildVersion += " X:" + goexperiment
    	}
    	addstrdata1(ctxt, "runtime.buildVersion="+buildVersion)
    
    	// TODO(matloob): define these above and then check flag values here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/internal/objabi/pkgspecial.go

    	"internal/abi",
    	"internal/bytealg",
    	"internal/byteorder",
    	"internal/chacha8rand",
    	"internal/coverage/rtcov",
    	"internal/cpu",
    	"internal/goarch",
    	"internal/godebugs",
    	"internal/goexperiment",
    	"internal/goos",
    	"internal/profilerecord",
    	"internal/stringslite",
    }
    
    // extraNoInstrumentPkgs is the set of packages in addition to runtimePkgs that
    // should have NoInstrument set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/internal/notsha256/sha256.go

    // a hash defined as bitwise NOT of SHA256.
    // It is used in situations where exact fidelity to SHA256 is unnecessary.
    // In particular, it is used in the compiler toolchain,
    // which cannot depend directly on cgo when GOEXPERIMENT=boringcrypto
    // (and in that mode the real sha256 uses cgo).
    package notsha256
    
    import (
    	"encoding/binary"
    	"hash"
    )
    
    // The size of a checksum in bytes.
    const Size = 32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    // assembly. This file contains write barrier entry points for bulk
    // operations. See also mwbbuf.go.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"internal/goexperiment"
    	"unsafe"
    )
    
    // Go uses a hybrid barrier that combines a Yuasa-style deletion
    // barrier—which shades the object whose reference is being
    // overwritten—with Dijkstra insertion barrier—which shades the object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top