Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 871 for Pinner (0.28 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

    			pinner.Pin(p)
    			pinner.Unpin()
    		}
    	})
    }
    
    func BenchmarkPinnerPinUnpinParallelDouble(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		p := new(obj)
    		for pb.Next() {
    			var pinner runtime.Pinner
    			pinner.Pin(p)
    			pinner.Pin(p)
    			pinner.Unpin()
    		}
    	})
    }
    
    func BenchmarkPinnerIsPinnedOnPinned(b *testing.B) {
    	var pinner runtime.Pinner
    	ptr := new(obj)
    	pinner.Pin(ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. src/runtime/debug.go

    	}
    }
    
    // debugPinnerKeepUnpin is used to make runtime.(*Pinner).Unpin reachable.
    var debugPinnerKeepUnpin bool = false
    
    // debugPinnerV1 returns a new Pinner that pins itself. This function can be
    // used by debuggers to easily obtain a Pinner that will not be garbage
    // collected (or moved in memory) even if no references to it exist in the
    // target program. This pinner in turn can be used to extend this property
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

      /** Can still coalesce when pinning is used if pins match.  */
      @Test
      fun coalescesWhenCertificatePinsMatch() {
        val pinner =
          CertificatePinner.Builder()
            .add("san.com", pin(certificate.certificate))
            .build()
        client = client.newBuilder().certificatePinner(pinner).build()
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        assert200Http2Response(execute(url), server.hostName)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Address.kt

     * explicitly requested), this also includes that proxy information. For secure connections the
     * address also includes the SSL socket factory, hostname verifier, and certificate pinner.
     *
     * HTTP requests that share the same [Address] may also share the same [Connection].
     */
    class Address(
      uriHost: String,
      uriPort: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/runtime/mklockrank.go

    < MALLOC
    # Below MALLOC is the malloc implementation.
    < fin,
      spanSetSpine,
      mspanSpecial,
      traceTypeTab,
      MPROF;
    
    # We can acquire gcBitsArenas for pinner bits, and
    # it's guarded by mspanSpecial.
    MALLOC, mspanSpecial < gcBitsArenas;
    
    # Memory profiling
    MPROF < profInsert, profBlock, profMemActive;
    profMemActive < profMemFuture;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/fmtsort/sort_test.go

    				return fmt.Sprintf("CHAN%d", i)
    			}
    		}
    		return "CHAN???"
    	default:
    		return fmt.Sprint(key)
    	}
    }
    
    var (
    	ints  [3]int
    	chans = makeChans()
    	pin   runtime.Pinner
    )
    
    func makeChans() []chan int {
    	cs := []chan int{make(chan int), make(chan int), make(chan int)}
    	// Order channels by address. See issue #49431.
    	for i := range cs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. api/go1.21.txt

    pkg runtime, method (*PanicNilError) Error() string #25448
    pkg runtime, method (*PanicNilError) RuntimeError() #25448
    pkg runtime, method (*Pinner) Pin(interface{}) #46787
    pkg runtime, method (*Pinner) Unpin() #46787
    pkg runtime, type PanicNilError struct #25448
    pkg runtime, type Pinner struct #46787
    pkg slices, func BinarySearch[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0, $1) (int, bool) #60091
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top