Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,292 for JPoint (0.15 sec)

  1. test/fixedbugs/issue13471.go

    	const _ int = 1e64645       // ERROR "integer too large|floating-point constant truncated to integer|exponent too large|truncated"
    
    	const _ uint64 = 1e646456992 // ERROR "integer too large|floating-point constant truncated to integer|exponent too large|truncated"
    	const _ uint32 = 1e64645699  // ERROR "integer too large|floating-point constant truncated to integer|exponent too large|truncated"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. src/image/draw/clip_test.go

    		image.Point{},
    	},
    	{
    		"clip dr",
    		image.Rect(0, 0, 100, 100),
    		image.Rect(40, 40, 60, 60),
    		image.Rect(0, 0, 100, 100),
    		image.Rectangle{},
    		image.Point{},
    		image.Point{},
    		true,
    		image.Rect(40, 40, 60, 60),
    		image.Pt(40, 40),
    		image.Point{},
    	},
    	{
    		"clip sr",
    		image.Rect(0, 0, 100, 100),
    		image.Rect(0, 0, 100, 100),
    		image.Rect(20, 20, 80, 80),
    		image.Rectangle{},
    		image.Point{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/cmd/gofmt/testdata/composites.golden

    	"bal": {3, 4},
    }
    
    // from exp/4s/data.go
    var pieces4 = []Piece{
    	{0, 0, Point{4, 1}, []Point{{0, 0}, {1, 0}, {1, 0}, {1, 0}}, nil, nil},
    	{1, 0, Point{1, 4}, []Point{{0, 0}, {0, 1}, {0, 1}, {0, 1}}, nil, nil},
    	{2, 0, Point{4, 1}, []Point{{0, 0}, {1, 0}, {1, 0}, {1, 0}}, nil, nil},
    	{3, 0, Point{1, 4}, []Point{{0, 0}, {0, 1}, {0, 1}, {0, 1}}, nil, nil},
    }
    
    var _ = [42]*T{
    	{},
    	{1, 2},
    	{3, 4},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 03:55:43 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

            case 15:
              k2 ^= (long) toInt(bb.get(14)) << 48; // fall through
            case 14:
              k2 ^= (long) toInt(bb.get(13)) << 40; // fall through
            case 13:
              k2 ^= (long) toInt(bb.get(12)) << 32; // fall through
            case 12:
              k2 ^= (long) toInt(bb.get(11)) << 24; // fall through
            case 11:
              k2 ^= (long) toInt(bb.get(10)) << 16; // fall through
            case 10:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/generate.go

    func (p *{{.P}}Point) ScalarMult(q *{{.P}}Point, scalar []byte) (*{{.P}}Point, error) {
    	// Compute a {{.p}}Table for the base point q. The explicit New{{.P}}Point
    	// calls get inlined, letting the allocations live on the stack.
    	var table = {{.p}}Table{New{{.P}}Point(), New{{.P}}Point(), New{{.P}}Point(),
    		New{{.P}}Point(), New{{.P}}Point(), New{{.P}}Point(), New{{.P}}Point(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. src/crypto/elliptic/nistec.go

    // Encoding and decoding is 1/1000th of the runtime of a scalar multiplication,
    // so the overhead is acceptable.
    type nistCurve[Point nistPoint[Point]] struct {
    	newPoint func() Point
    	params   *CurveParams
    }
    
    // nistPoint is a generic constraint for the nistec Point types.
    type nistPoint[T any] interface {
    	Bytes() []byte
    	SetBytes([]byte) (T, error)
    	Add(T, T) T
    	Double(T) T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    }
    
    type NullString struct {
    	sql.NullString
    }
    
    type Point struct {
    	X, Y int
    }
    
    func (point Point) GormDataType() string {
    	return "geo"
    }
    
    func (point Point) GormValue(ctx context.Context, db *gorm.DB) clause.Expr {
    	return clause.Expr{
    		SQL:  "ST_PointFromText(?)",
    		Vars: []interface{}{fmt.Sprintf("POINT(%d %d)", point.X, point.Y)},
    	}
    }
    
    func TestGORMValuer(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. build-logic/performance-testing/src/test/kotlin/gradlebuild/performance/tasks/DetermineBaselinesTest.kt

            mockGitOperation(listOf("git", "rev-parse", "--short", "master-fork-point"), "master-fork-point")
    
            // then
            verifyBaselineDetermination("my-branch", false, null, "5.1-commit-master-fork-point")
        }
    
        @Test
        fun `not determines fork point commit in security advisory fork`() {
            // given
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 09:29:24 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/edwards25519.go

    // (Re)addition and subtraction.
    
    // Add sets v = p + q, and returns v.
    func (v *Point) Add(p, q *Point) *Point {
    	checkInitialized(p, q)
    	qCached := new(projCached).FromP3(q)
    	result := new(projP1xP1).Add(p, qCached)
    	return v.fromP1xP1(result)
    }
    
    // Subtract sets v = p - q, and returns v.
    func (v *Point) Subtract(p, q *Point) *Point {
    	checkInitialized(p, q)
    	qCached := new(projCached).FromP3(q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 13 19:21:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa.go

    	if err != nil {
    		return nil, err
    	}
    	return priv, nil
    }
    
    // randomPoint returns a random scalar and the corresponding point using the
    // procedure given in FIPS 186-4, Appendix B.5.2 (rejection sampling).
    func randomPoint[Point nistPoint[Point]](c *nistCurve[Point], rand io.Reader) (k *bigmod.Nat, p Point, err error) {
    	k = bigmod.NewNat()
    	for {
    		b := make([]byte, c.N.Size())
    		if _, err = io.ReadFull(rand, b); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top