Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 363 for pinned (0.27 sec)

  1. 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)
  2. 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)
  3. hack/lint-dependencies.sh

      select(.Replace.Version != null) |
      select(.Version != .Replace.Version) |
      select(.Path) |
      \"\(.Path)
        pinned:    \(.Replace.Version)
        preferred: \(.Version)
        hack/pin-dependency.sh \(.Path) \(.Version)\"
    ")
    if [[ -n "${outdated}" ]]; then
      echo "These modules are pinned to versions different than the minimal preferred version."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/support/EmbeddedKotlinProviderTest.kt

            val result = build("buildEnvironment")
    
            assertThat(result.output, containsString("No dependencies"))
        }
    
        @Test
        fun `embedded kotlin dependencies are pinned to the embedded version`() {
    
            withBuildScript(
                """
                buildscript {
                    $repositoriesBlock
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/sync/pool.go

    	}
    	return p.pinSlow()
    }
    
    func (p *Pool) pinSlow() (*poolLocal, int) {
    	// Retry under the mutex.
    	// Can not lock the mutex while pinned.
    	runtime_procUnpin()
    	allPoolsMu.Lock()
    	defer allPoolsMu.Unlock()
    	pid := runtime_procPin()
    	// poolCleanup won't be called while we are pinned.
    	s := p.localSize
    	l := p.local
    	if uintptr(pid) < s {
    		return indexLocal(l, pid), pid
    	}
    	if p.local == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. .github/renovate.json

          "allowedVersions": "<2.0.0",
          "description": "JDK 11 requirement"
        },
        {
          "matchPackageNames": ["gradle"],
          "allowedVersions": "<8.0",
          "description": "Recent release, not compatible with pinned AGP and Kotlin versions yet. Wait for AGP 8?"
        },
        {
          "matchPackageNames": ["com.android.tools.build:gradle"],
          "allowedVersions": "<7.4",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 18 14:22:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. 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)
Back to top