Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for czas (0.04 sec)

  1. src/crypto/tls/handshake_messages.go

    	data = data[2:]
    	if len(data) < int(casLength) {
    		return false
    	}
    	cas := make([]byte, casLength)
    	copy(cas, data)
    	data = data[casLength:]
    
    	m.certificateAuthorities = nil
    	for len(cas) > 0 {
    		if len(cas) < 2 {
    			return false
    		}
    		caLen := uint16(cas[0])<<8 | uint16(cas[1])
    		cas = cas[2:]
    
    		if len(cas) < int(caLen) {
    			return false
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

         */
        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waiters field
          ATOMIC_HELPER.putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by subsequent CAS on waiters
        // field.
        void setNext(@CheckForNull Waiter next) {
          ATOMIC_HELPER.putNext(this, next);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  3. guava/src/com/google/common/util/concurrent/AbstractFuture.java

         */
        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waiters field
          ATOMIC_HELPER.putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by subsequent CAS on waiters
        // field.
        void setNext(@CheckForNull Waiter next) {
          ATOMIC_HELPER.putNext(this, next);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  4. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		// (flagalloc wants to move flag-generating instructions around).
    		{name: "LoweredAtomicCas32", argLength: 4, reg: cas, asm: "CS", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true, symEffect: "RdWr"},
    		{name: "LoweredAtomicCas64", argLength: 4, reg: cas, asm: "CSG", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true, symEffect: "RdWr"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  5. src/sync/atomic/atomic_test.go

    	}
    }
    
    func testCompareAndSwapUint64(t *testing.T, cas func(*uint64, uint64, uint64) bool) {
    	var x struct {
    		before uint64
    		i      uint64
    		after  uint64
    	}
    	magic64 := uint64(magic64)
    	x.before = magic64
    	x.after = magic64
    	for val := uint64(1); val+val > val; val += val {
    		x.i = val
    		if !cas(&x.i, val, val+1) {
    			t.Fatalf("should have swapped %#x %#x", val, val+1)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  6. cmd/kubelet/app/server.go

    		if err != nil {
    			return nil, fmt.Errorf("unable to load client CA file %s: %w", kc.Authentication.X509.ClientCAFile, err)
    		}
    		// Specify allowed CAs for client certificates
    		tlsOptions.Config.ClientCAs = clientCAs
    		// Populate PeerCertificates in requests, but don't reject connections without verified certificates
    		tlsOptions.Config.ClientAuth = tls.RequestClientCert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. src/crypto/tls/common.go

    // of control from a client.
    type CertificateRequestInfo struct {
    	// AcceptableCAs contains zero or more, DER-encoded, X.501
    	// Distinguished Names. These are the names of root or intermediate CAs
    	// that the server wishes the returned certificate to be signed by. An
    	// empty slice indicates that the server has no preference.
    	AcceptableCAs [][]byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  8. src/runtime/mprof.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/profilerecord"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // NOTE(rsc): Everything here could use cas if contention became an issue.
    var (
    	// profInsertLock protects changes to the start of all *bucket linked lists
    	profInsertLock mutex
    	// profBlockLock protects the contents of every blockRecord struct
    	profBlockLock mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. src/runtime/mgcscavenge.go

    	addr := chunkBase(ci) + uintptr(page+npages-1)*pageSize
    	if s.freeHWM.lessThan(offAddr{addr}) {
    		s.freeHWM = offAddr{addr}
    	}
    	// N.B. Because free is serialized, it's not necessary to do a
    	// full CAS here. free only ever increases searchAddr, while
    	// find only ever decreases it. Since we only ever race with
    	// decreases, even if the value we loaded is stale, the actual
    	// value will never be larger.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. src/runtime/mgc.go

    	// startSema protects the transition from "off" to mark or
    	// mark termination.
    	startSema uint32
    	// markDoneSema protects transitions from mark to mark termination.
    	markDoneSema uint32
    
    	bgMarkDone uint32 // cas to 1 when at a background mark completion point
    	// Background mark completion signaling
    
    	// mode is the concurrency mode of the current GC cycle.
    	mode gcMode
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top