- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for newSel (0.1 sec)
-
src/runtime/slice.go
// // A new backing store is allocated with space for at least newLen elements. // Existing entries [0, oldLen) are copied over to the new backing store. // Added entries [oldLen, newLen) are not initialized by growslice // (although for pointer-containing element types, they are zeroed). They // must be initialized by the caller. // Trailing entries [newLen, newCap) are zeroed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey())); assertEquals(entry.getValue(), cache.getUnchecked(newKey)); // don't let the new entry get GCed
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
num := ir.NewUnaryExpr(base.Pos, ir.OLEN, l2) // newLen := oldLen + num newLen := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT]) nodes.Append(ir.NewAssignStmt(base.Pos, newLen, ir.NewBinaryExpr(base.Pos, ir.OADD, oldLen, num))) // if uint(newLen) <= uint(oldCap) nif := ir.NewIfStmt(base.Pos, nil, nil, nil) nuint := typecheck.Conv(newLen, types.Types[types.TUINT])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
internal/grid/handlers.go
// Use Call to initiate a clientside call. func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] { s := SingleHandler[Req, Resp]{id: h} s.newReq, s.recycleReq = recycleFunc[Req](newReq) s.newResp, s.recycleResp = recycleFunc[Resp](newResp) if _, ok := any(newReq()).(Recycler); ok { s.callReuseReq = true } return &s }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.1K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
func (csrStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "certificates.k8s.io/v1": fieldpath.NewSet( fieldpath.MakePathOrDie("spec"), fieldpath.MakePathOrDie("status"), ), "certificates.k8s.io/v1beta1": fieldpath.NewSet( fieldpath.MakePathOrDie("spec"), fieldpath.MakePathOrDie("status"), ), } return fields }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
if err != nil { return nil, nil, err } newSec := *sect newSec.Offset = uint32(dwarfseg.Offset) + uint32(buf.Len()) newSec.Addr = dwarfseg.Addr + uint64(buf.Len()) if compressed { newSec.Name = "__z" + sect.Name[2:] newSec.Size = uint64(len(contents)) } sects = append(sects, &newSec) buf.Write(contents) } return sects, buf.Bytes(), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
fun generateKey(keyStoreFile: File, alias: String): SecretKey { val newKey = KeyGenerator.getInstance(encryptionAlgorithm).generateKey() require(newKey != null) { "Failed to generate encryption key using $encryptionAlgorithm." } logger.debug("Generated key") val entry = KeyStore.SecretKeyEntry(newKey) keyStore.setEntry(alias, entry, keyProtection)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
// rest to ssagen. // // For race detector, expand append(src, a [, b]* ) to // // init { // s := src // const argc = len(args) - 1 // newLen := s.len + argc // if uint(newLen) <= uint(s.cap) { // s = s[:newLen] // } else { // s = growslice(s.ptr, newLen, s.cap, argc, elemType) // } // s[s.len - argc] = a // s[s.len - argc + 1] = b // ... // } // s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
followers := []*ir.Name{} newdcl := make([]*ir.Name, 0, len(fn.Dcl)) for i := 0; i < len(fn.Dcl); i++ { n := fn.Dcl[i] if mls.Subsumed(n) { continue } newdcl = append(newdcl, n) if mls.IsLeader(n) { followers = mls.Followers(n, followers) // position followers immediately after leader newdcl = append(newdcl, followers...) } } fn.Dcl = newdcl }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
// [x509_extensions] // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1 // // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \ // -newkey rsa:512 -out cert.pem val certificate = certificate( """ -----BEGIN CERTIFICATE----- MIIBWDCCAQKgAwIBAgIJANS1EtICX2AZMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNV
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0)