Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for 2014 (0.04 sec)

  1. src/cmd/vet/main.go

    // Copyright 2012 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
    
    import (
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry"
    	"flag"
    
    	"golang.org/x/tools/go/analysis/unitchecker"
    
    	"golang.org/x/tools/go/analysis/passes/appends"
    	"golang.org/x/tools/go/analysis/passes/asmdecl"
    	"golang.org/x/tools/go/analysis/passes/assign"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/cover/testdata/main.go

    // 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.
    
    // Test runner for coverage test. This file is not coverage-annotated; test.go is.
    // It knows the coverage counter is called
    // "thisNameMustBeVeryLongToCauseOverflowOfCounterIncrementStatementOntoNextLineForTest".
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	testAll()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 16:40:40 UTC 2016
    - 3K bytes
    - Viewed (0)
  3. src/cmd/go/main.go

    // Copyright 2011 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:generate go test cmd/go -v -run=^TestDocsUpToDate$ -fixdocs
    
    package main
    
    import (
    	"context"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    	"path/filepath"
    	rtrace "runtime/trace"
    	"slices"
    	"strings"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/bug"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. test/fixedbugs/bug369.dir/main.go

    // Copyright 2011 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
    
    import (
    	"flag"
    	"os"
    	"runtime"
    	"testing"
    
    	fast "./fast"
    	slow "./slow"
    )
    
    var buf = make([]byte, 1048576)
    
    func BenchmarkFastNonASCII(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		fast.NonASCII(buf, 0)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 19:54:30 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue5125.dir/main.go

    // 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.
    
    package main
    
    import _ "./bug"
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 06:18:30 UTC 2013
    - 208 bytes
    - Viewed (0)
  6. test/fixedbugs/issue5755.dir/main.go

    // 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.
    
    package main
    
    import "./a"
    
    func main() {
    	a.Test1("frumious")
    	a.Test2("frumious")
    	a.Test3("frumious")
    	a.Test4("frumious")
    
    	a.Test5(nil)
    	a.Test6(nil)
    	a.Test7(nil)
    	a.Test8(nil)
    	a.Test9(0)
    
    	a.TestBar()
    	a.IsBaz(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 385 bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/main.go

    // Copyright 2015 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
    
    import "os"
    
    var cmds = map[string]func(){}
    
    func register(name string, f func()) {
    	if cmds[name] != nil {
    		panic("duplicate registration: " + name)
    	}
    	cmds[name] = f
    }
    
    func registerInit(name string, f func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 651 bytes
    - Viewed (0)
  8. test/fixedbugs/bug322.dir/main.go

    // Copyright 2011 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
    
    import "./lib"
    
    type I interface {
    	M()
    }
    
    type PI interface {
    	PM()
    }
    
    func main() {
    	var t lib.T
    	t.M()
    	t.PM()
    
    	// This is still an error.
    	// var i1 I = t
    	// i1.M()
    	
    	// This combination is illegal because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 24 23:48:19 UTC 2011
    - 540 bytes
    - Viewed (0)
  9. test/fixedbugs/issue5259.dir/main.go

    // 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.
    
    package main
    
    import "./bug"
    
    type foo int
    
    func (f *foo) Bar() {
    }
    
    func main() {
    	bug.Foo(new(foo))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 13 06:22:16 UTC 2013
    - 264 bytes
    - Viewed (0)
  10. test/fixedbugs/issue4252.dir/main.go

    // Copyright 2012 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
    
    import "./a"
    
    func main() {
    	if a.InlinedFakeTrue() {
    		panic("returned true was the real one")
    	}
    	if !a.InlinedFakeFalse() {
    		panic("returned false was the real one")
    	}
    	if a.InlinedFakeNil() == nil {
    		panic("returned nil was the real one")
    	}
    	a.Test()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 435 bytes
    - Viewed (0)
Back to top