Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for chanchan (0.17 sec)

  1. src/math/rand/rand.go

    // Read, unlike the [Rand.Read] method, is safe for concurrent use.
    //
    // Deprecated: For almost all use cases, [crypto/rand.Read] is more appropriate.
    // If a deterministic source is required, use [math/rand/v2.ChaCha8.Read].
    func Read(p []byte) (n int, err error) { return globalRand().Read(p) }
    
    // NormFloat64 returns a normally distributed float64 in the range
    // [-[math.MaxFloat64], +[math.MaxFloat64]] with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/builtin.go

    		init.Append(ir.TakeInit(conv)...)
    		_, len := backingArrayPtrLen(cheapExpr(conv.X, init))
    		return len
    	}
    	if isChanLenCap(n) {
    		name := "chanlen"
    		if n.Op() == ir.OCAP {
    			name = "chancap"
    		}
    		// cannot use chanfn - closechan takes any, not chan any,
    		// because it accepts both send-only and recv-only channels.
    		fn := typecheck.LookupRuntime(name, n.X.Type())
    		return mkcall1(fn, n.Type(), init, n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	// Whether this is a pending preemption signal on this M.
    	signalPending atomic.Uint32
    
    	// pcvalue lookup cache
    	pcvalueCache pcvalueCache
    
    	dlogPerM
    
    	mOS
    
    	chacha8   chacha8rand.State
    	cheaprand uint64
    
    	// Up to 10 locks held by this m, maintained by the lock ranking code.
    	locksHeldLen int
    	locksHeld    [10]heldLockInfo
    }
    
    type p struct {
    	id          int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/reflect/value.go

    	}
    	return v.capNonSlice()
    }
    
    func (v Value) capNonSlice() int {
    	k := v.kind()
    	switch k {
    	case Array:
    		return v.typ().Len()
    	case Chan:
    		return chancap(v.pointer())
    	case Ptr:
    		if v.typ().Elem().Kind() == abi.Array {
    			return v.typ().Elem().Len()
    		}
    		panic("reflect: call of reflect.Value.Cap on ptr to non-array Value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Source64", Type, 8},
    		{"Uint32", Func, 0},
    		{"Uint64", Func, 8},
    		{"Zipf", Type, 0},
    	},
    	"math/rand/v2": {
    		{"(*ChaCha8).MarshalBinary", Method, 22},
    		{"(*ChaCha8).Seed", Method, 22},
    		{"(*ChaCha8).Uint64", Method, 22},
    		{"(*ChaCha8).UnmarshalBinary", Method, 22},
    		{"(*PCG).MarshalBinary", Method, 22},
    		{"(*PCG).Seed", Method, 22},
    		{"(*PCG).Uint64", Method, 22},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.23.md

    - Client-go: pass `DeleteOptions` down to the fake client `Reactor` ([#102945](https://github.com/kubernetes/kubernetes/pull/102945), [@chenchun](https://github.com/chenchun))
    - Cloud providers can set service account names for cloud controllers. ([#103178](https://github.com/kubernetes/kubernetes/pull/103178), [@nckturner](https://github.com/nckturner))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  7. RELEASE.md

    Dahan Gong, Dalmo Cirne, Daniel Erenrich, David Norman, DavidNorman, Edd
    Wilder-James, Fanjin Zeng, Felix Abecassis, fo40225, George Sterpu, Giovanni
    Terlingen, Gor Baghdasaryan, Guillaume Klein, Hanchen Li, Ilya Polenov, Jakub
    Kolodziejczyk, Jason Sadler, Jayaram Bobba, Jerry Liu, jinghuangintel, Jiongyan
    Zhang (张炯衍), Joel Shor, Jong Wook Kim, Julian Eisenschlos, Karl Lessard, Krish
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		s.Fatalf("cannot inline len(chan)") // must use runtime.chanlen now
    	}
    	if n.X.Type().IsChan() && n.Op() == ir.OCAP {
    		s.Fatalf("cannot inline cap(chan)") // must use runtime.chancap now
    	}
    	// if n == nil {
    	//   return 0
    	// } else {
    	//   // len
    	//   return *((*int)n)
    	//   // cap
    	//   return *(((*int)n)+1)
    	// }
    	lenType := n.Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top