Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for emptyOne (0.21 sec)

  1. src/runtime/map_fast64.go

    			if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/runtime/map_fast32.go

    			if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/runtime/map_faststr.go

    			if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. src/runtime/map.go

    				*(*unsafe.Pointer)(e) = nil
    			} else if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			// It would be nice to make this a separate function, but
    			// for loops are not currently inlineable.
    			if i == abi.MapBucketCount-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/runtime/export_test.go

    	})
    }
    
    func stackOverflow(x *byte) {
    	var buf [256]byte
    	stackOverflow(&buf[0])
    }
    
    func MapTombstoneCheck(m map[int]int) {
    	// Make sure emptyOne and emptyRest are distributed correctly.
    	// We should have a series of filled and emptyOne cells, followed by
    	// a series of emptyRest cells.
    	h := *(**hmap)(unsafe.Pointer(&m))
    	i := any(m)
    	t := *(**maptype)(unsafe.Pointer(&i))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. src/runtime/chan.go

    func timerchandrain(c *hchan) bool {
    	// Note: Cannot use empty(c) because we are called
    	// while holding c.timer.sendLock, and empty(c) will
    	// call c.timer.maybeRunChan, which will deadlock.
    	// We are emptying the channel, so we only care about
    	// the count, not about potentially filling it up.
    	if atomic.Loaduint(&c.qcount) == 0 {
    		return false
    	}
    	lock(&c.lock)
    	any := false
    	for c.qcount > 0 {
    		any = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            [k1: "1"]           | { it.empty() }            | { it.put("k1", "1") }                                 | "put after emptying"
            [k1: "1"]           | { it.empty() }            | { it.insert("k1", "1") }                              | "insert after emptying"
            [k1: "1"]           | { it.set([:]) }           | { it.put("k1", "1") }                                 | "put to empty"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  8. pkg/apis/apps/validation/validation_test.go

    		emptyName   = newControllerRevision("", "validns", &ss, 0)
    		invalidName = newControllerRevision("NoUppercaseOrSpecialCharsLike=Equals", "validns", &ss, 0)
    		emptyNs     = newControllerRevision("validname", "", &ss, 100)
    		invalidNs   = newControllerRevision("validname", "NoUppercaseOrSpecialCharsLike=Equals", &ss, 100)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    		invalidName   = validSecret()
    		emptyNs       = validSecret()
    		invalidNs     = validSecret()
    		overMaxSize   = validSecret()
    		invalidKey    = validSecret()
    		leadingDotKey = validSecret()
    		dotKey        = validSecret()
    		doubleDotKey  = validSecret()
    	)
    
    	emptyName.Name = ""
    	invalidName.Name = "NoUppercaseOrSpecialCharsLike=Equals"
    	emptyNs.Namespace = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top