- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 147 for pinned (0.21 sec)
-
src/runtime/pinner.go
"unsafe" ) // A Pinner is a set of Go objects each pinned to a fixed location in memory. The // [Pinner.Pin] method pins one object, while [Pinner.Unpin] unpins all pinned // objects. See their comments for more information. type Pinner struct { *pinner } // Pin pins a Go object, preventing it from being moved or freed by the garbage // collector until the [Pinner.Unpin] method has been called. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/pinner_test.go
func TestPinnerInterface(t *testing.T) { var pinner runtime.Pinner o := new(obj) ifc := any(o) pinner.Pin(&ifc) if !runtime.IsPinned(unsafe.Pointer(&ifc)) { t.Fatal("not marked as pinned") } if runtime.IsPinned(unsafe.Pointer(o)) { t.Fatal("marked as pinned") } pinner.Unpin() pinner.Pin(ifc) if !runtime.IsPinned(unsafe.Pointer(o)) { t.Fatal("not marked as pinned") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:36:12 UTC 2023 - 11K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
) { /** * Confirms that at least one of the certificates pinned for `hostname` is in `peerCertificates`. * Does nothing if there are no certificates pinned for `hostname`. OkHttp calls this after a * successful TLS handshake, but before the connection is used. * * @throws SSLPeerUnverifiedException if `peerCertificates` don't match the certificates pinned * for `hostname`. */
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
} /** * Attack the CA intermediates check by presenting unrelated chains to the handshake vs. * certificate pinner. * * This chain is valid but not pinned: * * ``` * attackerCa * -> phonyVictim * ``` * * * This chain is pinned but not valid: * * ``` * attackerCa * -> pinnedRoot (trusted by CertificatePinner)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager.go
} klog.V(5).InfoS("Image ID has size", "imageID", imageKey, "size", image.Size) im.imageRecords[imageKey].size = image.Size klog.V(5).InfoS("Image ID is pinned", "imageID", imageKey, "pinned", image.Pinned) im.imageRecords[imageKey].pinned = image.Pinned } // Remove old images from our records. for image := range im.imageRecords { if !currentImages.Has(image) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/token/token.go
// RetrieveValidatedConfigInfo connects to the API Server and tries to fetch the cluster-info ConfigMap // It then makes sure it can trust the API Server by looking at the JWS-signed tokens and (if CACertHashes is not empty) // validating the cluster CA against a set of pinned public keys func RetrieveValidatedConfigInfo(cfg *kubeadmapi.Discovery, timeout time.Duration) (*clientcmdapi.Config, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/cgo/doc.go
unless the memory it points to is pinned with [runtime.Pinner] and the Pinner is not unpinned while the Go pointer is stored in C memory. This implies that C code may not keep a copy of a string, slice, channel, and so forth, because they cannot be pinned with [runtime.Pinner]. The _GoString_ type also may not be pinned with [runtime.Pinner]. Because it includes a Go pointer, the memory it points to is only pinned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle
remoteUri = 'https://github.com/gradle/perf-android-large-2.git' // Pinned from android-73-kotlin-16 branch ref = "a67ceb08a7b4e4a71e3c151a3abd72a9abe5d703" } performanceTest.registerAndroidTestProject("nowInAndroidBuild", RemoteProject) { remoteUri = 'https://github.com/android/nowinandroid.git' // Pinned from main branch ref = "b85cf7d4766ca84a424700f86a96f5eab0a3cfbd" // latest of May 14th, 2024
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 15:43:39 UTC 2024 - 19.5K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager_test.go
manager, fakeRuntime := newRealImageGCManager(ImageGCPolicy{}, mockStatsProvider) fakeRuntime.ImageList = []container.Image{ { ID: "1", Size: 1024, Pinned: true, }, { ID: "2", Size: 1024, Pinned: true, }, } assert := assert.New(t) getImagesAndFreeSpace(ctx, t, assert, manager, fakeRuntime, 2048, 0, 2, time.Now()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 15:38:20 UTC 2024 - 29.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
@Test fun checkForHostnameWithDoubleAsterisk() { val certificatePinner = CertificatePinner.Builder() .add("**.example.co.uk", certA1Sha256Pin) .build() // Should be pinned: assertFailsWith<SSLPeerUnverifiedException> { certificatePinner.check("example.co.uk", listOf(certB1.certificate)) } assertFailsWith<SSLPeerUnverifiedException> {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0)