Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for putempty (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/export_test.go

    			a.StoreUnmark(addr, addr)
    		}
    		a.Clear()
    	}
    	s.i.freeHWM = minOffAddr
    }
    
    func (s *ScavengeIndex) NextGen() {
    	s.i.nextGen()
    }
    
    func (s *ScavengeIndex) SetEmpty(ci ChunkIdx) {
    	s.i.setEmpty(chunkIdx(ci))
    }
    
    func CheckPackScavChunkData(gen uint32, inUse, lastInUse uint16, flags uint8) bool {
    	sc0 := scavChunkData{
    		gen:            gen,
    		inUse:          inUse,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. src/strings/strings_test.go

    		for i := 0; i < b.N; i++ {
    			EqualFold(s1+"αβδ", s2+"ΑΒΔ")
    		}
    	})
    }
    
    var CountTests = []struct {
    	s, sep string
    	num    int
    }{
    	{"", "", 1},
    	{"", "notempty", 0},
    	{"notempty", "", 9},
    	{"smaller", "not smaller", 0},
    	{"12345678987654321", "6", 2},
    	{"611161116", "6", 3},
    	{"notequal", "NotEqual", 0},
    	{"equal", "equal", 1},
    	{"abc1231231123q", "123", 3},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    			case strings.HasPrefix(span.Name, "runtime.v1.RuntimeService"):
    				runtimeServiceSpans = append(runtimeServiceSpans, span)
    			}
    		}
    	}
    	assert.NotEmpty(t, imageServiceSpans, "syncPod trace should have image service spans")
    	assert.NotEmpty(t, runtimeServiceSpans, "syncPod trace should have runtime service spans")
    
    	for _, span := range imageServiceSpans {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			if !tc.expectErr {
    				assert.Emptyf(t, err, "Unexpected error")
    				assert.EqualValuesf(t, tc.expected, actual.SecurityContext.SupplementalGroupsPolicy, "SupplementalGroupPolicy for %s", tc.name)
    			} else {
    				assert.NotEmpty(t, err, "Unexpected success")
    				assert.Empty(t, actual, "Unexpected non empty value")
    				assert.Contains(t, err.Error(), tc.expectedErrMsg, "Error for %s", tc.name)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/strategy_test.go

    			ctx := warning.WithWarningRecorder(context.Background(), warnings)
    			applyAppArmorVersionSkew(ctx, test.pod)
    			test.validation(t, test.pod)
    
    			if test.expectWarning {
    				if assert.NotEmpty(t, warnings.warnings, "expect warnings") {
    					assert.Contains(t, warnings.warnings[0], `deprecated since v1.30; use the "appArmorProfile" field instead`)
    				}
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top