Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for dX (0.02 sec)

  1. src/crypto/internal/mlkem768/mlkem768.go

    // (DRAFT), Algorithm 14.
    func parseDK(dx *decryptionKey, dkPKE []byte) error {
    	if len(dkPKE) != decryptionKeySize {
    		return errors.New("mlkem768: invalid decryption key length")
    	}
    
    	for i := range dx.s {
    		f, err := polyByteDecode[nttElement](dkPKE[:encodingSize12])
    		if err != nil {
    			return err
    		}
    		dx.s[i] = f
    		dkPKE = dkPKE[encodingSize12:]
    	}
    
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. src/image/gif/writer_test.go

    		Delay:     make([]int, len(frames)),
    		LoopCount: 5,
    	}
    	for i, f := range frames {
    		g, err := readGIF(f)
    		if err != nil {
    			t.Fatal(f, err)
    		}
    		m := g.Image[0]
    		if m.Bounds().Dx() != width || m.Bounds().Dy() != height {
    			t.Fatalf("frame %d had unexpected bounds: got %v, want width/height = %d/%d",
    				i, m.Bounds(), width, height)
    		}
    		g0.Image[i] = m
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/edwards25519.go

    	// specifically the "Canonical A, R" section.
    
    	y, err := new(field.Element).SetBytes(x)
    	if err != nil {
    		return nil, errors.New("edwards25519: invalid point encoding length")
    	}
    
    	// -x² + y² = 1 + dx²y²
    	// x² + dx²y² = x²(dy² + 1) = y² - 1
    	// x² = (y² - 1) / (dy² + 1)
    
    	// u = y² - 1
    	y2 := new(field.Element).Square(y)
    	u := new(field.Element).Subtract(y2, feOne)
    
    	// v = dy² + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 13 19:21:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    				switch {
    				case strings.HasSuffix(args[ri], "[1]"): // MOVW Rx, Dy[1]
    					break
    				case strings.HasSuffix(args[ri], "[0]"): // Dx[0] -> Fx
    					args[ri] = strings.Replace(args[ri], "[0]", "", -1)
    					fallthrough
    				case strings.HasPrefix(args[ri], "D"): // Dx -> Fx
    					args[ri] = "F" + args[ri][1:]
    				case strings.HasPrefix(args[ri], "S"):
    					if inst.Args[ix].(Reg)&1 == 0 { // Sx -> Fy, y = x/2, if x is even
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_amd64.s

    GLOBL andMask<>(SB), (NOPTR+RODATA), $240
    
    // func gcmAesFinish(productTable *[256]byte, tagMask, T *[16]byte, pLen, dLen uint64)
    TEXT ·gcmAesFinish(SB),NOSPLIT,$0
    #define pTbl DI
    #define tMsk SI
    #define tPtr DX
    #define plen AX
    #define dlen CX
    
    	MOVQ productTable+0(FP), pTbl
    	MOVQ tagMask+8(FP), tMsk
    	MOVQ T+16(FP), tPtr
    	MOVQ pLen+24(FP), plen
    	MOVQ dLen+32(FP), dlen
    
    	MOVOU (tPtr), ACC0
    	MOVOU (tMsk), T2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/x86/ssa.go

    			switch v.Op {
    			case ssa.Op386DIVL, ssa.Op386MODL:
    				s.Prog(x86.ACDQ)
    			case ssa.Op386DIVW, ssa.Op386MODW:
    				s.Prog(x86.ACWD)
    			}
    		}
    
    		// for unsigned ints, we sign extend by setting DX = 0
    		// signed ints were sign extended above
    		if v.Op == ssa.Op386DIVLU || v.Op == ssa.Op386MODLU ||
    			v.Op == ssa.Op386DIVWU || v.Op == ssa.Op386MODWU {
    			c := s.Prog(x86.AXORL)
    			c.From.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  7. src/internal/reflectlite/all_test.go

    func (p Point) NoArgs() {
    	// Exercise no-argument/no-result paths.
    }
    
    // This will be index 4.
    func (p Point) TotalDist(points ...Point) int {
    	tot := 0
    	for _, q := range points {
    		dx := q.x - p.x
    		dy := q.y - p.y
    		tot += dx*dx + dy*dy // Should call Sqrt, but it's just a test.
    
    	}
    	return tot
    }
    
    type D1 struct {
    	d int
    }
    type D2 struct {
    	d int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  8. src/runtime/mkpreempt.go

    )
    
    // Copied from cmd/compile/internal/ssa/gen/*Ops.go
    
    var regNames386 = []string{
    	"AX",
    	"CX",
    	"DX",
    	"BX",
    	"SP",
    	"BP",
    	"SI",
    	"DI",
    	"X0",
    	"X1",
    	"X2",
    	"X3",
    	"X4",
    	"X5",
    	"X6",
    	"X7",
    }
    
    var regNamesAMD64 = []string{
    	"AX",
    	"CX",
    	"DX",
    	"BX",
    	"SP",
    	"BP",
    	"SI",
    	"DI",
    	"R8",
    	"R9",
    	"R10",
    	"R11",
    	"R12",
    	"R13",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/runtime/panic.go

    // defer list means that the main goroutine's defers can still
    // be handled non-atomically.
    //
    // In the diagram, dY and dX are meant to be processed when
    // drangefunc would be processed, which is to say the defer order
    // should be d4, d3, dY, dX, d2, d1. To make that happen,
    // when defer processing reaches a d with rangefunc=true,
    // it calls deferconvert to atomically take the extras
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    // for example:
    //
    //	//go:nosplit
    //	func f(arg1, arg2, arg3 int) {
    //		dx := getclosureptr()
    //	}
    //
    // The compiler rewrites calls to this function into instructions that fetch the
    // pointer from a well-known register (DX on x86 architecture, etc.) directly.
    //
    // WARNING: PGO-based devirtualization cannot detect that caller of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top