- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for CAs (0.01 sec)
-
android/guava/src/com/google/common/cache/Striped64.java
*/ /** * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed * between pads, hoping that the JVM doesn't reorder them. * * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were * provided. */ static final class Cell { volatile long p0, p1, p2, p3, p4, p5, p6;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* simple approach would be for each caller CAS it from null to a Set populated with its * exception. But there's another race: If the first thread fails with an exception and a second * thread immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptionsField to its exception *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
// Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances // and DONE/INTERRUPTED - they have a common ancestor of Runnable.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
*/ Waiter(boolean unused) {} Waiter() { // avoid volatile write, write is made visible by subsequent CAS on waitersField field putThread(this, Thread.currentThread()); } // non-volatile write to the next field. Should be made visible by a subsequent CAS on // waitersField. void setNext(@Nullable Waiter next) { putNext(this, next); } void unpark() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
*/ Waiter(boolean unused) {} Waiter() { // avoid volatile write, write is made visible by subsequent CAS on waitersField field putThread(this, Thread.currentThread()); } // non-volatile write to the next field. Should be made visible by a subsequent CAS on // waitersField. void setNext(@Nullable Waiter next) { putNext(this, next); } void unpark() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// throwables or completion values. newFuture.setFuture(oldFuture); } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) { // If this CAS succeeds, we know that the provided callable will never be invoked, // so when oldFuture completes it is safe to allow the next submitted task to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
import okhttp3.Request.Builder import okhttp3.tls.HandshakeCertificates import okhttp3.tls.decodeCertificatePem class CustomTrust { // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
internal data class BasicConstraints( /** True if this certificate can be used as a Certificate Authority (CA). */ val ca: Boolean, /** The maximum number of intermediate CAs between this and leaf certificates. */ val maxIntermediateCas: Long?, ) /** A private key. Note that this class doesn't support attributes or an embedded public key. */ internal data class PrivateKeyInfo(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LongAdder.java
boolean uncontended = true; if ((hc = threadHashCode.get()) == null || as == null || (n = as.length) < 1 || (a = as[(n - 1) & hc[0]]) == null || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended); } } /** Equivalent to {@code add(1)}. */ @Override public void increment() { add(1L); } /** Equivalent to {@code add(-1)}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
// The attacker compromises the root CA, issues an intermediate with the same common name // "intermediate_ca" as the good CA. This signs a rogue certificate for localhost. The server // serves the good CAs certificate in the chain, which means the certificate pinner sees a // different set of certificates than the SSL verifier. val compromisedIntermediateCa = HeldCertificate .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1)