Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for makeEp (0.19 sec)

  1. src/internal/trace/testdata/testprog/futile-wakeup.go

    // license that can be found in the LICENSE file.
    
    // Tests to make sure the runtime doesn't generate futile wakeups. For example,
    // it makes sure that a block on a channel send that unblocks briefly only to
    // immediately go back to sleep (in such a way that doesn't reveal any useful
    // information, and is purely an artifact of the runtime implementation) doesn't
    // make it into the trace.
    
    //go:build ignore
    
    package main
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/internal/trace/parser.go

    	EvHeapGoal          = 34 // gcController.heapGoal change [timestamp, heap goal bytes]
    	EvTimerGoroutine    = 35 // denotes timer goroutine [timer goroutine id]
    	EvFutileWakeup      = 36 // denotes that the previous wakeup of this goroutine was futile [timestamp]
    	EvString            = 37 // string dictionary entry [ID, length, string]
    	EvGoStartLocal      = 38 // goroutine starts running on the same P as the last event [timestamp, goroutine id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    		shouldSucceed bool
    	}{
    		"success-same-version": {
    			oldPV:         makePV("pv1", "").withVersion("5").PersistentVolume,
    			newPV:         makePV("pv1", "").withVersion("5").PersistentVolume,
    			shouldSucceed: true,
    		},
    		"success-storageclass-same-version": {
    			oldPV:         makePV("pv1", "class1").withVersion("5").PersistentVolume,
    			newPV:         makePV("pv1", "class1").withVersion("5").PersistentVolume,
    			shouldSucceed: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. src/make.bash

    bootgo=1.20.6
    
    set -e
    
    if [[ ! -f run.bash ]]; then
    	echo 'make.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    if [[ "$GOBUILDTIMELOGFILE" != "" ]]; then
    	echo $(LC_TIME=C date) start make.bash >"$GOBUILDTIMELOGFILE"
    fi
    
    # Test for Windows.
    case "$(uname)" in
    *MINGW* | *WIN32* | *CYGWIN*)
    	echo 'ERROR: Do not use make.bash to build on Windows.'
    	echo 'Use make.bat instead.'
    	echo
    	exit 1
    	;;
    esac
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/make.rc

    # (make.bash, make.bat, make.rc)....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/runtime/lock_sema.go

    		throw("notewakeup - double wakeup")
    	default:
    		// Must be the waiting m. Wake it up.
    		semawakeup((*m)(unsafe.Pointer(v)))
    	}
    }
    
    func notesleep(n *note) {
    	gp := getg()
    	if gp != gp.m.g0 {
    		throw("notesleep not on g0")
    	}
    	semacreate(gp.m)
    	if !atomic.Casuintptr(&n.key, 0, uintptr(unsafe.Pointer(gp.m))) {
    		// Must be locked (got wakeup).
    		if n.key != locked {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. pkg/proxy/servicechangetracker_test.go

    }
    
    func newFakeProxier(ipFamily v1.IPFamily, t time.Time) *FakeProxier {
    	return &FakeProxier{
    		svcPortMap:     make(ServicePortMap),
    		serviceChanges: NewServiceChangeTracker(nil, ipFamily, nil, nil),
    		endpointsMap:   make(EndpointsMap),
    		endpointsChanges: &EndpointsChangeTracker{
    			lastChangeTriggerTimes:    make(map[types.NamespacedName][]time.Time),
    			trackerStartTime:          t,
    			processEndpointsMapChange: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    		var fw fileWriter
    		switch maker := v.maker.(type) {
    		case makeReg:
    			fw = &regFileWriter{w, maker.size}
    			wantStr = maker.wantStr
    		case makeSparse:
    			if !validateSparseEntries(maker.sph, maker.size) {
    				t.Fatalf("invalid sparse map: %v", maker.sph)
    			}
    			spd := invertSparseEntries(maker.sph, maker.size)
    			fw = &regFileWriter{w, maker.makeReg.size}
    			fw = &sparseFileWriter{fw, spd, 0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/runtime/trace.go

    // timer *and* nothing else will call wake concurrently.
    func (s *wakeableSleep) close() {
    	// Set wakeup to nil so that a late timer ends up being a no-op.
    	lock(&s.lock)
    	if raceenabled {
    		raceacquire(unsafe.Pointer(&s.lock))
    	}
    	wakeup := s.wakeup
    	s.wakeup = nil
    
    	// Close the channel.
    	close(wakeup)
    
    	if raceenabled {
    		racerelease(unsafe.Pointer(&s.lock))
    	}
    	unlock(&s.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. src/runtime/sema.go

    // Intended use is provide a sleep and wakeup
    // primitive that can be used in the contended case
    // of other synchronization primitives.
    // Thus it targets the same goal as Linux's futex,
    // but it has much simpler semantics.
    //
    // That is, don't think of these as semaphores.
    // Think of them as a way to implement sleep and wakeup
    // such that every sleep is paired with a single wakeup,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top