Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for emptyOne (0.1 sec)

  1. 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)
  2. 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)
Back to top