Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for putempty (0.29 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. 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)
  3. 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)
  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. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    				continue
    			}
    		}
    
    		expectedParamsForNamespacedRequest = append(expectedParamsForNamespacedRequest, p)
    		require.NoError(t, testContext.WaitForReconcile(timeoutCtx, p))
    	}
    	require.NotEmpty(t, expectedParamsForNamespacedRequest, "all test cases should match at least one param")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K 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/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