Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,214 for Did (0.02 sec)

  1. src/cmd/go/testdata/script/mod_get_direct.txt

    # Regression test for golang.org/issue/34092: with an empty module cache,
    # 'GOPROXY=direct go get golang.org/x/tools/gopls@master' did not correctly
    # resolve the pseudo-version for its dependency on golang.org/x/tools.
    
    [!net:cloud.google.com] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    go list -m cloud.google.com/go@main
    ! stdout 'v0.0.0-'
    
    -- go.mod --
    module example.com
    
    go 1.14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 429 bytes
    - Viewed (0)
  2. internal/lsync/lrwmutex_test.go

    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    	}()
    	mu := NewLRWMutex()
    	mu.Unlock()
    }
    
    // Borrowed from rwmutex_test.go
    func TestUnlockPanic2(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    	}()
    	mu := NewLRWMutex()
    	mu.RLock()
    	mu.Unlock()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/runtime/sys_s390x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 05 18:19:46 UTC 2016
    - 469 bytes
    - Viewed (0)
  4. src/runtime/sys_riscv64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 19 14:04:09 UTC 2020
    - 469 bytes
    - Viewed (0)
  5. test/fixedbugs/issue6055.go

    		// make sure a traceback happens with jmpdefer on the stack
    		runtime.GC()
    	}()
    	var x Closer
    	defer x.Close()
    }
    
    func shouldPanic(f func()) {
    	defer func() {
    		if recover() == nil {
    			panic("did not panic")
    		}
    	}()
    	f()
    }
    
    func main() {
    	shouldPanic(nilInterfaceDeferCall)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 563 bytes
    - Viewed (0)
  6. src/cmd/go/internal/bug/bug.go

    `
    const bugFooter = `### What did you do?
    
    <!--
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    A link on play.golang.org is best.
    -->
    
    
    
    ### What did you expect to see?
    
    
    
    ### What did you see instead?
    
    `
    
    func printGoVersion(w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. test/fixedbugs/bug487.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.
    
    // The gccgo compiler did not reliably report mismatches between the
    // number of function results and the number of expected results.
    
    package p
    
    func G() (int, int, int) {
    	return 0, 0, 0
    }
    
    func F() {
    	a, b := G()	// ERROR "mismatch|cannot initialize"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 570 bytes
    - Viewed (0)
  8. test/fixedbugs/issue36085.go

    // compiledir
    
    // Copyright 2019 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.
    
    // Issue 36085: gccgo compiler did not generate type descriptor
    // for pointer to type alias defined in another package, causing
    // linking error.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 11 19:48:39 UTC 2019
    - 339 bytes
    - Viewed (0)
  9. test/fixedbugs/issue15975.go

    	var x Closer
    	defer x.Close()
    	// if it panics when evaluating x.Close, it should not reach here
    	fail = true
    }
    
    func shouldPanic(f func()) {
    	defer func() {
    		if recover() == nil {
    			panic("did not panic")
    		}
    	}()
    	f()
    }
    
    func main() {
    	shouldPanic(nilInterfaceDeferCall)
    	if fail {
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 08 20:35:53 UTC 2016
    - 572 bytes
    - Viewed (0)
  10. src/runtime/sys_mipsx.go

    // license that can be found in the LICENSE file.
    
    //go:build mips || mipsle
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 496 bytes
    - Viewed (0)
Back to top