Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,434 for 2014 (0.07 sec)

  1. src/cmd/vet/testdata/bool/bool.go

    // Copyright 2014 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.
    
    // This file contains tests for the bool checker.
    
    package bool
    
    func _() {
    	var f, g func() int
    
    	if v, w := f(), g(); v == w || v == w { // ERROR "redundant or: v == w || v == w"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 346 bytes
    - Viewed (0)
  2. src/os/sticky_bsd.go

    // Copyright 2014 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 aix || darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris || wasip1
    
    package os
    
    // According to sticky(8), neither open(2) nor mkdir(2) will create
    // a file with the sticky bit set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 425 bytes
    - Viewed (0)
  3. test/fixedbugs/issue7998.go

    // compile
    
    // Copyright 2014 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.
    
    // /tmp/x.go:5: cannot use _ as value
    
    package p
    
    func f(ch chan int) bool {
    	select {
    	case _, ok := <-ch:
    		return ok
    	}
    	_, ok := <-ch
    	_ = ok
    	select {
    	case _, _ = <-ch:
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 380 bytes
    - Viewed (0)
  4. test/fixedbugs/issue6703k.go

    // errorcheck
    
    // Copyright 2014 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 for cycles in a method value.
    
    package methvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    var (
    	t T
    	x = t.m // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 359 bytes
    - Viewed (0)
  5. test/fixedbugs/issue6703u.go

    // errorcheck
    
    // Copyright 2014 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 for cycles in a pointer literal's method value.
    
    package ptrlitmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 384 bytes
    - Viewed (0)
  6. test/fixedbugs/issue6703w.go

    // errorcheck
    
    // Copyright 2014 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 for cycles in a pointer value's method value.
    
    package ptrmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    var (
    	p *T
    	x = p.pm // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 382 bytes
    - Viewed (0)
  7. src/runtime/debug/stubs.go

    // Copyright 2014 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 debug
    
    import (
    	"time"
    )
    
    // Implemented in package runtime.
    func readGCStats(*[]time.Duration)
    func freeOSMemory()
    func setMaxStack(int) int
    func setGCPercent(int32) int32
    func setPanicOnFault(bool) bool
    func setMaxThreads(int) int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 03 15:12:04 UTC 2022
    - 435 bytes
    - Viewed (0)
  8. test/fixedbugs/issue6703f.go

    // errorcheck
    
    // Copyright 2014 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 for cycles in the method call of a value literal.
    
    package litmethcall
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 376 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703l.go

    // errorcheck
    
    // Copyright 2014 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 for cycles in a method call.
    
    package methcall
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    var (
    	t T
    	x = t.m() // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 359 bytes
    - Viewed (0)
  10. test/fixedbugs/issue6703t.go

    // errorcheck
    
    // Copyright 2014 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 for cycles in the call of a pointer method expression.
    
    package ptrmethexprcall
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 391 bytes
    - Viewed (0)
Back to top