Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for putempty (0.11 sec)

  1. src/runtime/mgcwork.go

    			newb.nobj = 0
    			lfnodeValidate(&newb.node)
    			if i == 0 {
    				b = newb
    			} else {
    				putempty(newb)
    			}
    		}
    	}
    	return b
    }
    
    // putempty puts a workbuf onto the work.empty list.
    // Upon entry this goroutine owns b. The lfstack.push relinquishes ownership.
    //
    //go:nowritebarrier
    func putempty(b *workbuf) {
    	b.checkempty()
    	work.empty.push(&b.node)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    					continue
    				}
    				println("  dead stkobj at", hex(gp.stack.lo+uintptr(obj.off)), "of size", obj.r.size)
    				// Note: not necessarily really dead - only reachable-from-ptr dead.
    			}
    		}
    		x.nobj = 0
    		putempty((*workbuf)(unsafe.Pointer(x)))
    	}
    	if state.buf != nil || state.cbuf != nil || state.freeBuf != nil {
    		throw("remaining pointer buffers")
    	}
    	return int64(scannedSize)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/TomlCatalogFileParser.java

                versionRef = notEmpty(versionTable.getString("ref"), "version reference", alias);
                require = notEmpty(versionTable.getString("require"), "required version", alias);
                prefer = notEmpty(versionTable.getString("prefer"), "preferred version", alias);
                strictly = notEmpty(versionTable.getString("strictly"), "strict version", alias);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	res1_initial, _, _ := fetchPath(manager1, "application/json", discoveryPath, "")
    	res2_initial, _, _ := fetchPath(manager2, "application/json", discoveryPath, "")
    
    	assert.NotEmpty(t, res1_initial.Header.Get("ETag"), "Etag should be populated")
    	assert.NotEmpty(t, res2_initial.Header.Get("ETag"), "Etag should be populated")
    	assert.Equal(t, res1_initial.Header.Get("ETag"), res2_initial.Header.Get("ETag"), "etag should be deterministic")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            sanityCheckApplicationIds()
    
            if (notEmpty(initFile)) {
                initScriptAppId = findScriptApplicationId(targetsGradle(), scriptFile(initFile))
            }
            if (hasScript(initFile, scriptFile.name)) {
                initOtherScriptAppId = findScriptApplicationId(targetsGradle(), scriptFile(scriptFile))
            }
            if (notEmpty(settingsFile)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  6. src/runtime/mgcscavenge.go

    	}
    	s.freeHWM = minOffAddr
    }
    
    // setEmpty marks that the scavenger has finished looking at ci
    // for now to prevent the scavenger from getting stuck looking
    // at the same chunk.
    //
    // setEmpty may only run concurrently with find.
    func (s *scavengeIndex) setEmpty(ci chunkIdx) {
    	val := s.chunks[ci].load()
    	val.setEmpty()
    	s.chunks[ci].store(val)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  7. src/html/template/exec_test.go

    	{"with 0.0i", "{{with .ComplexZero}}{{.}}{{else}}ZERO{{end}}", "ZERO", tVal, true},
    	{"with emptystring", "{{with ``}}{{.}}{{else}}EMPTY{{end}}", "EMPTY", tVal, true},
    	{"with string", "{{with `notempty`}}{{.}}{{else}}EMPTY{{end}}", "notempty", tVal, true},
    	{"with emptyslice", "{{with .SIEmpty}}{{.}}{{else}}EMPTY{{end}}", "EMPTY", tVal, true},
    	{"with slice", "{{with .SI}}{{.}}{{else}}EMPTY{{end}}", "[3 4 5]", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/runtime/mgcscavenge_test.go

    		si.AllocRange(PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx+64, 0))
    		si.NextGen()
    		si.FreeRange(PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx+64, 0))
    		for ci := BaseChunkIdx; ci < BaseChunkIdx+64; ci++ {
    			si.SetEmpty(ci)
    		}
    		si.ResetSearchAddrs()
    
    		// Create and return test functions.
    		mark = func(base, limit uintptr) {
    			t.Helper()
    
    			si.AllocRange(base, limit)
    			si.FreeRange(base, limit)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    	{"with 0.0i", "{{with .ComplexZero}}{{.}}{{else}}ZERO{{end}}", "ZERO", tVal, true},
    	{"with emptystring", "{{with ``}}{{.}}{{else}}EMPTY{{end}}", "EMPTY", tVal, true},
    	{"with string", "{{with `notempty`}}{{.}}{{else}}EMPTY{{end}}", "notempty", tVal, true},
    	{"with emptyslice", "{{with .SIEmpty}}{{.}}{{else}}EMPTY{{end}}", "EMPTY", tVal, true},
    	{"with slice", "{{with .SI}}{{.}}{{else}}EMPTY{{end}}", "[3 4 5]", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. pkg/controller/endpointslice/endpointslice_controller_test.go

    	assert.Equal(t, serviceName, slice.Labels[discovery.LabelServiceName])
    	assert.EqualValues(t, []discovery.EndpointPort{}, slice.Ports)
    	assert.EqualValues(t, []discovery.Endpoint{}, slice.Endpoints)
    	assert.NotEmpty(t, slice.Annotations["endpoints.kubernetes.io/last-change-trigger-time"])
    }
    
    // Ensure SyncService gracefully handles a missing service. This test also
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
Back to top