Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for ctr (0.82 sec)

  1. src/crypto/aes/ctr_s390x.go

    	}
    	var ac aesctr
    	ac.block = c
    	ac.ctr[0] = byteorder.BeUint64(iv[0:]) // high bits
    	ac.ctr[1] = byteorder.BeUint64(iv[8:]) // low bits
    	ac.buffer = ac.storage[:0]
    	return &ac
    }
    
    func (c *aesctr) refill() {
    	// Fill up the buffer with an incrementing count.
    	c.buffer = c.storage[:streamBufferSize]
    	c0, c1 := c.ctr[0], c.ctr[1]
    	for i := 0; i < streamBufferSize; i += 16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. plugin/pkg/admission/limitranger/admission_test.go

    	successCases := []testCase{
    		{
    			pod:        validPod("ctr-min-cpu-request", 1, getResourceRequirements(getComputeResourceList("100m", ""), getComputeResourceList("", ""))),
    			limitRange: createLimitRange(api.LimitTypeContainer, getComputeResourceList("50m", ""), api.ResourceList{}, api.ResourceList{}, api.ResourceList{}, api.ResourceList{}),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. src/net/http/triv.go

    // it directly.
    func (ctr *Counter) String() string {
    	ctr.mu.Lock()
    	defer ctr.mu.Unlock()
    	return strconv.Itoa(ctr.n)
    }
    
    func (ctr *Counter) ServeHTTP(w http.ResponseWriter, req *http.Request) {
    	ctr.mu.Lock()
    	defer ctr.mu.Unlock()
    	switch req.Method {
    	case "GET":
    		ctr.n++
    	case "POST":
    		var buf strings.Builder
    		io.Copy(&buf, req.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/runtime/rt0_linux_ppc64le.s

    	// Synchronous initialization.
    	MOVD	$runtime·libpreinit(SB), R12
    	MOVD	R12, CTR
    	BL	(CTR)
    
    	// Create a new thread to do the runtime initialization and return.
    	MOVD	_cgo_sys_thread_create(SB), R12
    	CMP	$0, R12
    	BEQ	nocgo
    	MOVD	$_rt0_ppc64le_linux_lib_go(SB), R3
    	MOVD	$0, R4
    	MOVD	R12, CTR
    	BL	(CTR)
    	BR	done
    
    nocgo:
    	MOVD	$0x800000, R12                     // stacksize = 8192KB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    	// Existing counter?
    	var ctr *Counter
    	for _, s := range c.stacks {
    		if eq(s.pcs, pcs) {
    			if s.counter != nil {
    				ctr = s.counter
    				break
    			}
    		}
    	}
    
    	if ctr == nil {
    		// Create new counter.
    		ctr = &Counter{
    			name: EncodeStack(pcs, c.name),
    			file: c.file,
    		}
    		c.stacks = append(c.stacks, stack{pcs: pcs, counter: ctr})
    	}
    
    	ctr.Inc()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_arm64.s

    	VEOR	ACC1.B16, ACC1.B16, ACC1.B16
    	VEOR	ACCM.B16, ACCM.B16, ACCM.B16
    	// Prepare initial counter, and the increment vector
    	VLD1	(ctrPtr), [CTR.B16]
    	VEOR	INC.B16, INC.B16, INC.B16
    	MOVD	$1, H0
    	VMOV	H0, INC.S[3]
    	VREV32	CTR.B16, CTR.B16
    	VADD	CTR.S4, INC.S4, CTR.S4
    	// Skip to <8 blocks loop
    	CMP	$128, srcPtrLen
    
    	MOVD	ks, H0
    	// For AES-128 round keys are stored in: K0 .. K10, KLAST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. src/runtime/asm_ppc64x.s

    	MOVD	R0, gobuf_sp(R5)
    	MOVD	R0, gobuf_ret(R5)
    	MOVD	R0, gobuf_lr(R5)
    	MOVD	R0, gobuf_ctxt(R5)
    	CMP	R0, R0 // set condition codes for == test, needed by stack split
    	MOVD	gobuf_pc(R5), R12
    	MOVD	R12, CTR
    	BR	(CTR)
    
    // void mcall(fn func(*g))
    // Switch to m->g0's stack, call fn(g).
    // Fn must never return. It should gogo(&g->sched)
    // to keep running g.
    TEXT runtime·mcall<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/a.out.go

    )
    
    // Common values for the BO field.
    
    const (
    	BO_ALWAYS  = 20 // branch unconditionally
    	BO_BCTR    = 16 // decrement ctr, branch on ctr != 0
    	BO_NOTBCTR = 18 // decrement ctr, branch on ctr == 0
    	BO_BCR     = 12 // branch on cr value
    	BO_BCRBCTR = 8  // decrement ctr, branch on ctr != 0 and cr value
    	BO_NOTBCR  = 4  // branch on not cr value
    )
    
    // Bit settings from the CR
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy_test.go

    					api.DeprecatedAppArmorAnnotationKeyPrefix + "ctr": api.DeprecatedAppArmorAnnotationValueUnconfined,
    				},
    			},
    			Spec: api.PodSpec{
    				Containers: []api.Container{{Name: "ctr"}},
    			},
    		},
    		validation: func(t *testing.T, pod *api.Pod) {
    			assert.Equal(t, map[string]string{
    				api.DeprecatedAppArmorAnnotationKeyPrefix + "ctr": api.DeprecatedAppArmorAnnotationValueUnconfined,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_ppc64x.s

    	CMP	R22, $0
    	BEQ	nosaveg
    
    	CMP	g, R22
    	BEQ	nosaveg
    	MOVD	(g_stack+stack_lo)(R22), R22 // g.m.gsignal.stack.lo
    	MOVD	g, (R22)
    
    	BL	(CTR)	// Call from VDSO
    
    	MOVD	$0, (R22)	// clear g slot, R22 is unchanged by C code
    
    	JMP	finish
    
    nosaveg:
    	BL	(CTR)	// Call from VDSO
    
    finish:
    	MOVD	$0, R0		// Restore R0
    	MOVD	0(R1), R3	// sec
    	MOVD	8(R1), R5	// nsec
    	MOVD	R15, R1		// Restore SP
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top