Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for Cas (0.02 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/certlist.go

    }
    
    // CertificateTree is represents a one-level-deep tree, mapping a CA to the certs that depend on it.
    type CertificateTree map[*KubeadmCert]Certificates
    
    // CreateTree creates the CAs, certs signed by the CAs, and writes them all to disk.
    func (t CertificateTree) CreateTree(ic *kubeadmapi.InitConfiguration) error {
    	for ca, leaves := range t {
    		cfg, err := ca.GetConfig(ic)
    		if err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/runtime/preempt.go

    					nextPreemptM = now + yieldDelay/2
    					preemptM(asyncM)
    				}
    			}
    		}
    
    		// TODO: Don't busy wait. This loop should really only
    		// be a simple read/decide/CAS loop that only fails if
    		// there's an active race. Once the CAS succeeds, we
    		// should queue up the preemption (which will require
    		// it to be reliable in the _Grunning case, not
    		// best-effort) and then sleep until we're notified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. cmd/server-main.go

    	// Check and load Root CAs.
    	globalRootCAs, err = certs.GetRootCAs(globalCertsCADir.Get())
    	logger.FatalIf(err, "Failed to read root CAs (%v)", err)
    
    	// Add the global public crts as part of global root CAs
    	for _, publicCrt := range globalPublicCerts {
    		globalRootCAs.AddCert(publicCrt)
    	}
    
    	// Register root CAs for remote ENVs
    	env.RegisterGlobalCAs(globalRootCAs)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (1)
  5. src/runtime/runtime2.go

    	// latency that otherwise arises from adding the ready'd
    	// goroutines to the end of the run queue.
    	//
    	// Note that while other P's may atomically CAS this to zero,
    	// only the owner P can CAS it to a valid G.
    	runnext guintptr
    
    	// Available G's (status == Gdead)
    	gFree struct {
    		gList
    		n int32
    	}
    
    	sudogcache []*sudog
    	sudogbuf   [128]*sudog
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/types.go

    // and if they're equal, swaps u's value with new.
    // It reports whether the swap ran.
    //
    //go:nosplit
    func (u *Uint32) CompareAndSwap(old, new uint32) bool {
    	return Cas(&u.value, old, new)
    }
    
    // CompareAndSwapRelease is a partially unsynchronized version
    // of Cas that relaxes ordering constraints. Other threads
    // may observe operations that occur after this operation to
    // precede it, but no operation that precedes it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	if err != nil {
    		return nil, nil, false, err
    	}
    	for _, file := range files {
    		// Ignore all
    		// - regular files
    		// - "CAs" directory
    		// - any directory which starts with ".."
    		if file.Mode().IsRegular() || file.Name() == "CAs" || strings.HasPrefix(file.Name(), "..") {
    			continue
    		}
    		if file.Mode()&os.ModeSymlink == os.ModeSymlink {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

    internal object CertificateAdapters {
      /**
       * ```
       * Time ::= CHOICE {
       *   utcTime        UTCTime,
       *   generalTime    GeneralizedTime
       * }
       * ```
       *
       * RFC 5280, section 4.1.2.5:
       *
       * > CAs conforming to this profile MUST always encode certificate validity dates through the year
       * > 2049 as UTCTime; certificate validity dates in 2050 or later MUST be encoded as
       * > GeneralizedTime.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    		columnSeparatedHex(c.AuthorityKeyId),
    	)
    }
    
    // VerifyOptionFunc is function which provides a shallow copy of the VerifyOptions to the authenticator.  This allows
    // for cases where the options (particularly the CAs) can change.  If the bool is false, then the returned VerifyOptions
    // are ignored and the authenticator will express "no opinion".  This allows a clear signal for cases where a CertPool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/certs.go

    		RunAllSiblings: true,
    	}
    
    	subPhases = append(subPhases, allPhase)
    
    	// This loop assumes that GetDefaultCertList() always returns a list of
    	// certificate that is preceded by the CAs that sign them.
    	var lastCACert *certsphase.KubeadmCert
    	for _, cert := range certsphase.GetDefaultCertList() {
    		var phase workflow.Phase
    		if cert.CAName == "" {
    			phase = newCertSubPhase(cert, runCAPhase(cert))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top