Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 210 for x1 (0.03 sec)

  1. src/internal/types/testdata/check/init2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // initialization cycles
    
    package init2
    
    // cycles through functions
    
    func f1() int { _ = x1; return 0 }
    var x1 /* ERROR "initialization cycle" */ = f1
    
    func f2() int { _ = x2; return 0 }
    var x2 /* ERROR "initialization cycle" */ = f2()
    
    // cycles through method expressions
    
    type T3 int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. src/crypto/elliptic/nistec.go

    	x = new(big.Int).SetBytes(out[1 : 1+byteLen])
    	y = new(big.Int).SetBytes(out[1+byteLen:])
    	return x, y
    }
    
    func (curve *nistCurve[Point]) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) {
    	p1, err := curve.pointFromAffine(x1, y1)
    	if err != nil {
    		panic("crypto/elliptic: Add was called on an invalid point")
    	}
    	p2, err := curve.pointFromAffine(x2, y2)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/math/big/alias_test.go

    	x1, y1, v1 := new(big.Int).Set(x), new(big.Int).Set(y), new(big.Int).Set(v)
    
    	// Calculate a reference f(x, y) without aliasing.
    	if out := f(v, x, y); out == nil {
    		// Certain functions like ModInverse return nil for certain inputs.
    		// Check that receiver and arguments were unchanged and move on.
    		return equal(x, x1) && equal(y, y1) && equal(v, v1)
    	} else if out != v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  4. src/go/printer/testdata/generics.golden

    type T[P1, P2, P3 C] struct{}
    
    type T[P C[P]] struct{}
    type T[P1, P2, P3 C[P1, P2, P3]] struct{}
    
    func f[P any](x P)
    func f[P1, P2, P3 any](x1 P1, x2 P2, x3 P3) struct{}
    
    func f[P interface{}](x P)
    func f[P1, P2, P3 interface {
    	m1(P1)
    	~P2 | ~P3
    }](x1 P1, x2 P2, x3 P3) struct{}
    func f[P any](T1[P], T2[P]) T3[P]
    
    func (x T[P]) m()
    func (T[P]) m(x T[P]) P
    
    func _() {
    	type _ []T[P]
    	var _ []T[P]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  5. src/runtime/preempt_riscv64.s

    // Code generated by mkpreempt.go; DO NOT EDIT.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
    	MOV X1, -464(X2)
    	SUB $464, X2
    	MOV X5, 8(X2)
    	MOV X6, 16(X2)
    	MOV X7, 24(X2)
    	MOV X8, 32(X2)
    	MOV X9, 40(X2)
    	MOV X10, 48(X2)
    	MOV X11, 56(X2)
    	MOV X12, 64(X2)
    	MOV X13, 72(X2)
    	MOV X14, 80(X2)
    	MOV X15, 88(X2)
    	MOV X16, 96(X2)
    	MOV X17, 104(X2)
    	MOV X18, 112(X2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/go/printer/testdata/generics.input

    type T[P C] struct{}
    type T[P1, P2, P3 C] struct{}
    
    type T[P C[P]] struct{}
    type T[P1, P2, P3 C[P1, P2, P3]] struct{}
    
    func f[P any](x P)
    func f[P1, P2, P3 any](x1 P1, x2 P2, x3 P3) struct{}
    
    func f[P interface{}](x P)
    func f[P1, P2, P3 interface{ m1(P1); ~P2|~P3 }](x1 P1, x2 P2, x3 P3) struct{}
    func f[P any](T1[P], T2[P]) T3[P]
    
    func (x T[P]) m()
    func ((T[P])) m(x T[P]) P
    
    func _() {
    	type _ []T[P]
    	var _ []T[P]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. src/all.bat

    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    L20:
    L21::end
    L22:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:36:22 UTC 2023
    - 543 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_vendor.txt

    // +build notmytag
    
    package m
    
    import _ "x/x1"
    -- importdiamond.go --
    package m
    
    import _ "diamondroot"
    -- w/go.mod --
    module w
    -- w/w.go --
    package w
    -- x/go.mod --
    module x
    -- x/testdata/x.txt --
    placeholder - want directory with no go files
    -- x/x.go --
    package x
    -- x/x1/x1.go --
    // +build notmytag
    
    package x1
    -- x/x2/dummy.txt --
    dummy
    -- x/x_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. src/internal/types/testdata/examples/functions.go

    // the caller (i.e., itself).
    func max[T interface{ ~int }](x ...T) T {
    	var x0 T
    	if len(x) > 0 {
    		x0 = x[0]
    	}
    	if len(x) > 1 {
    		x1 := max(x[1:]...)
    		if x1 > x0 {
    			return x1
    		}
    	}
    	return x0
    }
    
    // When inferring channel types, the channel direction is ignored
    // for the purpose of type inference. Once the type has been in-
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd_riscv64.s

    	// the value here doesn't really matter).
    	MOV	$0, X10
    
    	RET
    
    TEXT runtime·sigfwd(SB),NOSPLIT,$0-32
    	MOVW	sig+8(FP), X10
    	MOV	info+16(FP), X11
    	MOV	ctx+24(FP), X12
    	MOV	fn+0(FP), X5
    	JALR	X1, X5
    	RET
    
    TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME,$224
    	// Save callee-save registers (X8, X9, X18..X27, F8, F9, F18..F27)
    	MOV	X8, (4*8)(X2)
    	MOV	X9, (5*8)(X2)
    	MOV	X18, (6*8)(X2)
    	MOV	X19, (7*8)(X2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top