Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for defBlock (0.39 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	// Find the var's defining block in the CFG,
    	// plus the rest of the statements of that block.
    	var defblock *cfg.Block
    	var rest []ast.Node
    outer:
    	for _, b := range g.Blocks {
    		for i, n := range b.Nodes {
    			if n == stmt {
    				defblock = b
    				rest = b.Nodes[i+1:]
    				break outer
    			}
    		}
    	}
    	if defblock == nil {
    		panic("internal error: can't find defining block for cancel var")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    				}
    			}
    		}
    		for _, ctl := range block.ControlValues() {
    			// for control values that can become constants, find their use blocks
    			if possibleConst(ctl) {
    				t.defBlock[ctl] = append(t.defBlock[ctl], block)
    			}
    		}
    	}
    }
    
    // addUses finds all uses of value and appends them into work list for further process
    func (t *worklist) addUses(val *Value) {
    	for _, use := range t.defUse[val] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/deadlock.go

    import "C"
    import (
    	"fmt"
    )
    
    func init() {
    	register("CgoPanicDeadlock", CgoPanicDeadlock)
    }
    
    type cgoError struct{}
    
    func (cgoError) Error() string {
    	fmt.Print("") // necessary to trigger the deadlock
    	return C.GoString(C.geterror())
    }
    
    func CgoPanicDeadlock() {
    	panic(cgoError{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 509 bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/deadlock.go

    Dan Scales <******@****.***> 1611625863 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 27 20:44:24 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  5. releasenotes/notes/xds-push-deadlock.yaml

    John Howard <******@****.***> 1654795350 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 09 17:22:30 UTC 2022
    - 199 bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/needmdeadlock.go

    //go:build !plan9 && !windows
    // +build !plan9,!windows
    
    package main
    
    // This is for issue #42207.
    // During a call to needm we could get a SIGCHLD signal
    // which would itself call needm, causing a deadlock.
    
    /*
    #include <signal.h>
    #include <pthread.h>
    #include <sched.h>
    #include <unistd.h>
    
    extern void GoNeedM();
    
    #define SIGNALERS 10
    
    static void* needmSignalThread(void* p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
     *       deadlock situation, and the appropriate Policy is executed.
     * </ul>
     *
     * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
     * happen, as it is possible that higher level application logic prevents the cyclic lock
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_err_deadlock.txt

    ! go test -fuzz=FuzzDead -v
    # This is a somewhat inexact check, but since we don't prefix the error with anything
    # and as the error suffix is platform dependent, this is the best we can do. In the
    # deadlock failure case, the test will just deadlock and timeout anyway, so it should
    # be clear that that failure mode is different.
    stdout 'open'
    
    -- go.mod --
    module test
    
    -- cov_test.go --
    package dead
    
    import (
    	"os"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 19:51:23 UTC 2023
    - 999 bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    	mu.Unlock()
    
    	if wait != nil {
    		wait <- f
    	}
    
    	// Spurious EDEADLK errors arise on platforms that compute deadlock graphs at
    	// the process, rather than thread, level. Consider processes P and Q, with
    	// threads P.1, P.2, and Q.3. The following trace is NOT a deadlock, but will be
    	// reported as a deadlock on systems that consider only process granularity:
    	//
    	// 	P.1 locks file A.
    	// 	Q.3 locks file B.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
     *       deadlock situation, and the appropriate Policy is executed.
     * </ul>
     *
     * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
     * happen, as it is possible that higher level application logic prevents the cyclic lock
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top