Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for GO (0.48 sec)

  1. src/cmd/compile/internal/inline/inlheur/testdata/props/calls.go

    // callsite: calls.go:209:14|0 flagstr "CallSiteOnPanicPath" flagval 2 score 42 mask 1 maskstr "panicPathAdj"
    // callsite: calls.go:210:15|1 flagstr "CallSiteOnPanicPath" flagval 2 score 42 mask 1 maskstr "panicPathAdj"
    // callsite: calls.go:212:19|2 flagstr "" flagval 0 score 16 mask 512 maskstr "passInlinableFuncToIndCallAdj"
    // callsite: calls.go:212:19|calls.go:232:10|0 flagstr "" flagval 0 score 4 mask 0 maskstr ""
    // <endcallsites>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	const pkg = "example.com/pgo/devirtualize"
    
    	// Add a go.mod so we have a consistent symbol names in this temp dir.
    	goMod := fmt.Sprintf(`module %s
    go 1.21
    `, pkg)
    	if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte(goMod), 0644); err != nil {
    		t.Fatalf("error writing go.mod: %v", err)
    	}
    
    	// Run the test without PGO to ensure that the test assertions are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. test/fixedbugs/issue22662.go

    	check("??", 1) // no file specified
    //line foo.go:1
    	check("foo.go", 1)
    //line bar.go:10:20
    	check("bar.go", 10)
    //line :11:22
    	check("bar.go", 11) // no file, but column specified => keep old filename
    
    /*-style line directives */
    /*line :1*/ check("??", 1) // no file specified
    /*line foo.go:1*/ check("foo.go", 1)
    /*line bar.go:10:20*/ check("bar.go", 10)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:32:03 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/chan_test.go

    	}()
    	go func() {
    		close(c)
    		r <- 0
    	}()
    	<-r
    	<-r
    }
    
    func TestNoRaceChanCloseCap(t *testing.T) {
    	c := make(chan int, 10)
    	r := make(chan int, 10)
    	go func() {
    		r <- cap(c)
    	}()
    	go func() {
    		close(c)
    		r <- 0
    	}()
    	<-r
    	<-r
    }
    
    func TestRaceChanCloseSend(t *testing.T) {
    	compl := make(chan bool, 1)
    	c := make(chan int, 10)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. src/go/types/generate_test.go

    	"termlist.go":      nil,
    	"termlist_test.go": nil,
    	"tuple.go":         nil,
    	"typelists.go":     nil,
    	"typeset.go":       func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    	"typeparam.go":     nil,
    	"typeterm_test.go": nil,
    	"typeterm.go":      nil,
    	"typestring.go":    nil,
    	"under.go":         nil,
    	"unify.go":         fixSprintf,
    	"universe.go":      fixGlobalTypVarDecl,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/mksyscall.go

    // Copyright 2016 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 generate
    
    package windows
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 379 bytes
    - Viewed (0)
  7. src/testing/helper_test.go

        helperfuncs_test.go:15: 0
        helperfuncs_test.go:47: 1
        helperfuncs_test.go:24: 2
        helperfuncs_test.go:49: 3
        helperfuncs_test.go:56: 4
        --- FAIL: TestTBHelper/sub \([^)]+\)
            helperfuncs_test.go:59: 5
            helperfuncs_test.go:24: 6
            helperfuncs_test.go:58: 7
        --- FAIL: TestTBHelper/sub2 \([^)]+\)
            helperfuncs_test.go:80: 11
        helperfuncs_test.go:84: recover 12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. docs/debugging/xattr/go.sum

    github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
    github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
    github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
    github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
    github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    // 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 directive defines an Analyzer that checks known Go toolchain directives.
    package directive
    
    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/runtime/race/testdata/rwmutex_test.go

    	}()
    	go func() {
    		mu2.Lock()
    		x = 2
    		mu2.Unlock()
    		ch <- true
    	}()
    	<-ch
    	<-ch
    }
    
    func TestNoRaceRWMutex(t *testing.T) {
    	var mu sync.RWMutex
    	var x, y int64 = 0, 1
    	_ = y
    	ch := make(chan bool, 2)
    	go func() {
    		mu.Lock()
    		defer mu.Unlock()
    		x = 2
    		ch <- true
    	}()
    	go func() {
    		mu.RLock()
    		y = x
    		mu.RUnlock()
    		ch <- true
    	}()
    	<-ch
    	<-ch
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 22:09:38 UTC 2017
    - 2.1K bytes
    - Viewed (0)
Back to top