Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for blocked (0.14 sec)

  1. src/runtime/export_debug_test.go

    // will send SIGTRAP to thread ID tid. gp must be locked to its OS thread and
    // running.
    //
    // On success, InjectDebugCall returns the panic value of fn or nil.
    // If fn did not panic, its results will be available in args.
    func InjectDebugCall(gp *g, fn any, regArgs *abi.RegArgs, stackArgs any, tkill func(tid int) error, returnOnUnsafePoint bool) (any, error) {
    	if gp.lockedm == 0 {
    		return nil, plainError("goroutine not locked to thread")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy

    import org.junit.Rule
    import org.objectweb.asm.ClassWriter
    import org.objectweb.asm.Opcodes
    import org.objectweb.asm.tree.ClassNode
    import spock.lang.Specification
    
    @LeaksFileHandles
    // This test keeps the jars locked on Windows JDK 1.7
    class CurrentGradleInstallationLocatorTest extends Specification {
        @Rule
        final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        List<Closeable> loaders = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pkg/kube/krt/index.go

    	var res []I
    	for obj := range i.objects[k] {
    		item := i.c.GetKey(obj)
    		if item == nil {
    			// This should be extremely rare, but possible. While we have a mutex here, the underlying collection
    			// is not locked and maybe have changed in the meantime.
    			log.Debugf("missing item for %v", obj)
    			continue
    		}
    		res = append(res, *item)
    	}
    	return res
    }
    
    func (i *Index[I, K]) objectHasKey(obj I, k K) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 04:53:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. pkg/volume/csimigration/plugin_manager_test.go

    	for _, test := range testCases {
    		pm := NewPluginManager(csiTranslator, utilfeature.DefaultFeatureGate)
    		t.Run(fmt.Sprintf("Testing %v", test.name), func(t *testing.T) {
    			// CSIMigrationGCE is locked to on, so it cannot be enabled or disabled. There are a couple
    			// of test cases that check correct behavior when CSIMigrationGCE is enabled, but there are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/expvar/expvar.go

    	i, found := slices.BinarySearch(v.keys, key)
    	if found {
    		v.keys = slices.Delete(v.keys, i, i+1)
    		v.m.Delete(key)
    	}
    }
    
    // Do calls f for each entry in the map.
    // The map is locked during the iteration,
    // but existing entries may be concurrently updated.
    func (v *Map) Do(f func(KeyValue)) {
    	v.keysMu.RLock()
    	defer v.keysMu.RUnlock()
    	for _, k := range v.keys {
    		i, _ := v.m.Load(k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. tests/binary/binaries_test.go

    				"indicating the binary size has decreased. The test will fail to ensure you update the test thresholds to ensure "+
    				"the improvements are 'locked in'.", got, tt.minMb)
    		}
    	})
    }
    
    // If this flag is present, it means "testing" was imported by code that is built by the binary
    var denylistedFlags = []string{
    	"--test.memprofilerate",
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/sync/cond.go

    type Cond struct {
    	noCopy noCopy
    
    	// L is held while observing or changing the condition
    	L Locker
    
    	notify  notifyList
    	checker copyChecker
    }
    
    // NewCond returns a new Cond with Locker l.
    func NewCond(l Locker) *Cond {
    	return &Cond{L: l}
    }
    
    // Wait atomically unlocks c.L and suspends execution
    // of the calling goroutine. After later resuming execution,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/runtime/mklockrank.go

    // rank to be acquired simultaneously. The runtime enforces ordering
    // within these ranks using a separate mechanism.
    var cyclicRanks = map[string]bool{
    	// Multiple timers are locked simultaneously in destroy().
    	"timers": true,
    	// Multiple hchans are acquired in hchan.sortkey() order in
    	// select.
    	"hchan": true,
    	// Multiple hchanLeafs are acquired in hchan.sortkey() order in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/go/types/labels.go

    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                      // enclosing block
    	lstmt  *ast.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*ast.LabeledStmt // allocated lazily
    }
    
    // insert records a new label declaration for the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top