Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for Ub (0.02 sec)

  1. pkg/channels/unbounded_test.go

    // that the reader gets all the value added to the buffer by the writer.
    func TestSingleWriter(t *testing.T) {
    	ub := NewUnbounded[int]()
    	reads := []int{}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		ch := ub.Get()
    		for i := 0; i < numWriters*numWrites; i++ {
    			r := <-ch
    			reads = append(reads, r)
    			ub.Load()
    		}
    	}()
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. src/math/big/int.go

    // if extended is true, it also updates the cosequence Ua, Ub.
    func euclidUpdate(A, B, Ua, Ub, q, r, s, t *Int, extended bool) {
    	q, r = q.QuoRem(A, B, r)
    
    	*A, *B, *r = *B, *r, *A
    
    	if extended {
    		// Ua, Ub = Ub, Ua - q*Ub
    		t.Set(Ub)
    		s.Mul(Ub, q)
    		Ub.Sub(Ua, s)
    		Ua.Set(t)
    	}
    }
    
    // lehmerGCD sets z to the greatest common divisor of a and b,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/hash/fnv/fnv_test.go

    var golden128 = []golden{
    	{[]byte{0x6c, 0x62, 0x27, 0x2e, 0x07, 0xbb, 0x01, 0x42, 0x62, 0xb8, 0x21, 0x75, 0x62, 0x95, 0xc5, 0x8d}, "", "fnv\x05lb'.\a\xbb\x01Bb\xb8!ub\x95ō"},
    	{[]byte{0xd2, 0x28, 0xcb, 0x69, 0x10, 0x1a, 0x8c, 0xaf, 0x78, 0x91, 0x2b, 0x70, 0x4e, 0x4a, 0x14, 0x1e}, "a", "fnv\x05lb'.\a\xbb\x01Bb\xb8!ub\x95ō"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 21:04:12 UTC 2017
    - 7.3K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/enums.kt

    enum class A {
        B, C;
        fun d(){}
        val e: Int = 10
    }
    
    class X {
        private Y {
            enum class U {
                UB, UC;
                fun ud(){}
                val ue: Int = 10
            }
        }
    
         class P {
            enum class W {
                WB, WC;
                fun wd(){}
                val we: Int = 10
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 327 bytes
    - Viewed (0)
  5. security/pkg/pki/util/dual_use.go

    // for dual-use certificates.
    func DualUseCommonName(host string) (string, error) {
    	// cn uses one hostname, drop the rest
    	first := strings.SplitN(host, ",", 2)[0]
    
    	// cn max length is 64 (ub-common-name @ https://tools.ietf.org/html/rfc5280)
    	if l := len(first); l > 64 {
    		return "", fmt.Errorf("certificate CN upper bound exceeded (%v>64): %s", l, first)
    	}
    
    	return first, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    	// A = Ua*a + Va*b
    	// B = Ub*a + Vb*b
    	Ua := new(Int).SetInt64(1)
    	Va := new(Int)
    
    	Ub := new(Int)
    	Vb := new(Int).SetInt64(1)
    
    	q := new(Int)
    	temp := new(Int)
    
    	r := new(Int)
    	for len(B.abs) > 0 {
    		q, r = q.QuoRem(A, B, r)
    
    		A, B, r = B, r, A
    
    		// Ua, Ub = Ub, Ua-q*Ub
    		temp.Set(Ub)
    		Ub.Mul(Ub, q)
    		Ub.Sub(Ua, Ub)
    		Ua.Set(temp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_openbsd_amd64.go

    	SYS_SYNC           = 36  // { void sys_sync(void); }
    	SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
    	SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
    	SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
    	SYS_DUP            = 41  // { int sys_dup(int fd); }
    	SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 14.2K bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPSS

    00000190  2b 2b 24 23 77 5b 1c 3b  bd 75 5d ce 20 54 cf a1  |++$#w[.;.u]. T..|
    000001a0  63 87 1d 1e 24 c4 f3 1d  1a 50 8b aa b6 14 43 ed  |c...$....P....C.|
    000001b0  97 a7 75 62 f4 14 c8 52  d7 02 03 01 00 01 a3 46  |..ub...R.......F|
    000001c0  30 44 30 0e 06 03 55 1d  0f 01 01 ff 04 04 03 02  |0D0...U.........|
    000001d0  05 a0 30 13 06 03 55 1d  25 04 0c 30 0a 06 08 2b  |..0...U.%..0...+|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_openbsd_arm64.go

    	SYS_SYNC           = 36  // { void sys_sync(void); }
    	SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
    	SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
    	SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
    	SYS_DUP            = 41  // { int sys_dup(int fd); }
    	SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_openbsd_mips64.go

    	SYS_MSYSCALL       = 37  // { int sys_msyscall(void *addr, size_t len); }
    	SYS_STAT           = 38  // { int sys_stat(const char *path, struct stat *ub); }
    	SYS_GETPPID        = 39  // { pid_t sys_getppid(void); }
    	SYS_LSTAT          = 40  // { int sys_lstat(const char *path, struct stat *ub); }
    	SYS_DUP            = 41  // { int sys_dup(int fd); }
    	SYS_FSTATAT        = 42  // { int sys_fstatat(int fd, const char *path, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 14.9K bytes
    - Viewed (0)
Back to top