Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of about 10,000 for i$ (0.06 sec)

  1. cmd/batch-expire_gen_test.go

    	v := BatchJobExpire{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobExpire(b *testing.B) {
    	v := BatchJobExpire{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/runtime/print.go

    func printhex(v uint64) {
    	const dig = "0123456789abcdef"
    	var buf [100]byte
    	i := len(buf)
    	for i--; i > 0; i-- {
    		buf[i] = dig[v%16]
    		if v < 16 && len(buf)-i >= minhexdigits {
    			break
    		}
    		v /= 16
    	}
    	i--
    	buf[i] = 'x'
    	i--
    	buf[i] = '0'
    	gwrite(buf[i:])
    }
    
    func printpointer(p unsafe.Pointer) {
    	printhex(uint64(uintptr(p)))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/crypto/internal/bigmod/_asm/nat_amd64_asm.go

    	XORQ(z0, z0) // unset flags and zero out z0
    
    	for i := 0; i < bits/64; i++ {
    		hi, lo := GP64(), GP64()
    
    		Comment("Iteration " + strconv.Itoa(i))
    		MULXQ(x.Offset(i*8), lo, hi)
    		ADCXQ(carry, lo)
    		ADOXQ(z.Offset(i*8), lo)
    		MOVQ(lo, z.Offset(i*8))
    
    		i++
    
    		Comment("Iteration " + strconv.Itoa(i))
    		MULXQ(x.Offset(i*8), lo, carry)
    		ADCXQ(hi, lo)
    		ADOXQ(z.Offset(i*8), lo)
    		MOVQ(lo, z.Offset(i*8))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 22:37:58 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/math/rand/default_test.go

    		wg.Add(goroutines)
    		for i := 0; i < goroutines; i++ {
    			go func(s int64) {
    				defer wg.Done()
    				Seed(s)
    			}(int64(i) + 100)
    		}
    		wg.Add(goroutines)
    		for i := 0; i < goroutines; i++ {
    			go func() {
    				defer wg.Done()
    				ch <- Uint64()
    			}()
    		}
    	case 1:
    		// Call Uint64 concurrently with no Seed.
    		wg.Add(goroutines)
    		for i := 0; i < goroutines; i++ {
    			go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 23:39:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready_test.go

    	// create 10 goroutines waiting for ready
    	for i := 0; i < 10; i++ {
    		go func() {
    			errCh <- ready.wait(context.Background())
    		}()
    	}
    	select {
    	case <-time.After(1 * time.Second):
    	case <-errCh:
    		t.Errorf("ready should be blocking")
    	}
    	ready.set(true)
    	for i := 0; i < 10; i++ {
    		if err := <-errCh; err != nil {
    			t.Errorf("unexpected error on channel %d", i)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. cmd/testdata/xl-many-parts.meta

    ��	�
    L4:���
    ������������������� �!�"�#�$�%�&�'�(�)�*�+�,�-�.�/�0�1�2�3�4�5�6�7�8�9�:�;�<�=�>�?�@�A�B�C�D�E�F�G�H�I�J�K�L�M�N�O�P�Q�R�S�T�U�V�W�X�Y�Z�[�\�]�^�_�`�a�b�c�d�e�f�g�h�i�j�k�l�m�n�o�p�q�r�s�t�u�v�w�x�y�z�{�|�}�~��������������������������������������������������������������������������������������������...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 02 21:40:38 UTC 2023
    - 808.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/array_test.go

    		{testSliceLenCap2_ssa, -1, 10, 10, 10},
    	}
    
    	for i, test := range tests {
    		if l, c := test.fn(a, test.i, test.j); l != test.l && c != test.c {
    			t.Errorf("#%d len(a[%d:%d]), cap(a[%d:%d]) = %d %d, want %d %d", i, test.i, test.j, test.i, test.j, l, c, test.l, test.c)
    		}
    	}
    }
    
    //go:noinline
    func testSliceGetElement_ssa(a [10]int, i, j, p int) int {
    	return a[i:j][p]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  8. src/internal/weak/pointer_test.go

    	wt := make([]weak.Pointer[T], 10)
    	for i := range bt {
    		bt[i] = new(T)
    		wt[i] = weak.Make(bt[i])
    	}
    	for i := range bt {
    		st := wt[i].Strong()
    		if st != bt[i] {
    			t.Fatalf("weak pointer is not the same as strong pointer: %p vs. %p", st, bt[i])
    		}
    		if wp := weak.Make(st); wp != wt[i] {
    			t.Fatalf("new weak pointer not equal to existing weak pointer: %v vs. %v", wp, wt[i])
    		}
    		if i == 0 {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. test/codegen/compare_and_branch.go

    	// s390x:"CGIJ\t[$]12, R[0-9]+, [$]127, "
    	for i := doNotOptimize; i < 128; i++ {
    		dummy()
    	}
    
    	// s390x:"CGIJ\t[$]10, R[0-9]+, [$]-128, "
    	for i := doNotOptimize; i > -129; i-- {
    		dummy()
    	}
    
    	// s390x:"CGIJ\t[$]2, R[0-9]+, [$]127, "
    	for i := doNotOptimize; i >= 128; i++ {
    		dummy()
    	}
    
    	// s390x:"CGIJ\t[$]4, R[0-9]+, [$]-128, "
    	for i := doNotOptimize; i <= -129; i-- {
    		dummy()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. src/runtime/memmove_test.go

    					}
    				}
    				for i := y; i < y+n; i++ {
    					if dst[i] != byte(128+((i-y+x)&127)) {
    						t.Fatalf("copied dst[%d] = %d", i, dst[i])
    					}
    					dst[i] = byte(i & 127) // reset dst
    				}
    				for i := y + n; i < size; i++ {
    					if dst[i] != byte(i&127) {
    						t.Fatalf("suffix dst[%d] = %d", i, dst[i])
    					}
    				}
    			}
    		}
    	}
    }
    
    func TestMemmoveAlias(t *testing.T) {
    	if *flagQuick {
    		t.Skip("-quick")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top