- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for zeroing (0.56 sec)
-
src/internal/bytealg/bytealg.go
h -= pow * uint32(s[i+n]) if h == hashss && string(s[i:i+n]) == string(sep) { return i } } return -1 } // MakeNoZero makes a slice of length n and capacity of at least n Bytes // without zeroing the bytes (including the bytes between len and cap). // It is the caller's responsibility to ensure uninitialized bytes // do not leak to the end user.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/slices/slices.go
func FilterInPlace[E any](s []E, f func(E) bool) []E { n := 0 for _, val := range s { if f(val) { s[n] = val n++ } } // If those elements contain pointers you might consider zeroing those elements // so that objects they reference can be garbage collected." var empty E for i := n; i < len(s); i++ { s[i] = empty } s = s[:n] return s }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 7.9K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/sha3/sha3.go
func (d *state) BlockSize() int { return d.rate } // Size returns the output size of the hash function in bytes. func (d *state) Size() int { return d.outputLen } // Reset clears the internal state by zeroing the sponge state and // the buffer indexes, and setting Sponge.state to absorbing. func (d *state) Reset() { // Zero the permutation's state. for i := range d.a { d.a[i] = 0 } d.state = spongeAbsorbing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0) -
src/sync/poolqueue.go
break } } // We now own slot. val := *(*any)(unsafe.Pointer(slot)) if val == dequeueNil(nil) { val = nil } // Tell pushHead that we're done with this slot. Zeroing the // slot is also important so we don't leave behind references // that could keep this object live longer than necessary. // // We write to val first and then publish that we're done with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 18:12:29 UTC 2024 - 8.3K bytes - Viewed (0) -
releasenotes/notes/se-conflict.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management issue: - 50478 releaseNotes: - | **Fixed** a behavioral change in Istio 1.20 that caused merging of ServiceEntries with the same hostname and port names
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 02:06:39 UTC 2024 - 261 bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt
factory: KotlinCompositeProviderFactory<P>, crossinline mergeTargets: (List<T>) -> P, ): P { // We should flatten providers before merging so that the merger has access to all individual providers, and also after merging because // composite providers may be created by the merger. return factory.createFlattened(factory.flatten(this).mergeOnly<_, T> { mergeTargets(it) })
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 2.3K bytes - Viewed (0) -
pilot/pkg/model/destination_rule.go
"istio.io/istio/pkg/util/sets" ) // This function merges one or more destination rules for a given host string // into a single destination rule. Note that it does not perform inheritance style merging. // IOW, given three dest rules (*.foo.com, *.foo.com, *.com) without selectors, calling this function for // each config will result in a final dest rule set (*.foo.com, and *.com). // // The following is the merge logic:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 07:22:29 UTC 2024 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go
func NewDynamicServingContentFromFiles(purpose, certFile, keyFile string) (*DynamicCertKeyPairContent, error) { if len(certFile) == 0 || len(keyFile) == 0 { return nil, fmt.Errorf("missing filename for serving cert") } name := fmt.Sprintf("%s::%s::%s", purpose, certFile, keyFile) ret := &DynamicCertKeyPairContent{ name: name, certFile: certFile, keyFile: keyFile,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.json
} ] }, "addressType": "addressTypeValue", "endpoints": [ { "addresses": [ "addressesValue" ], "conditions": { "ready": true, "serving": true, "terminating": true }, "hostname": "hostnameValue", "targetRef": { "kind": "kindValue", "namespace": "namespaceValue", "name": "nameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml
addressType: addressTypeValue apiVersion: discovery.k8s.io/v1beta1 endpoints: - addresses: - addressesValue conditions: ready: true serving: true terminating: true hints: forZones: - name: nameValue hostname: hostnameValue nodeName: nodeNameValue targetRef: apiVersion: apiVersionValue fieldPath: fieldPathValue kind: kindValue name: nameValue namespace: namespaceValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.4K bytes - Viewed (0)