Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 666 for JPoint (0.13 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

              mappedTo.writeUtf8CodePoint(readHexadecimalUnsignedLong().toInt())
            }
          }
    
          TYPE_DISALLOWED, TYPE_DISALLOWED_STD3_VALID, TYPE_IGNORED, TYPE_VALID -> Unit
    
          else -> throw IOException("unexpected type")
        }
    
        skipRestOfLine()
    
        result +=
          Mapping(
            sourceCodePoint0.toInt(),
            sourceCodePoint1.toInt(),
            type,
            mappedTo.readByteString(),
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      )
    }
    
    /**
     * If [mapping] qualifies to be encoded as [MappedRange.InlineDelta] return new instance, otherwise null.
     * An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference
     * that can be represented in 2^18-1.
     */
    internal fun inlineDeltaOrNull(mapping: Mapping): MappedRange.InlineDelta? {
      if (mapping.hasSingleSourceCodePoint) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       * For example, the tags in this schema are 0 and 1:
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [0] INTEGER OPTIONAL,
       *   y [1] INTEGER OPTIONAL
       * }
       * ```
       *
       * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class
       * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC].
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [APPLICATION 0] INTEGER OPTIONAL,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/image/geom.go

    func (p Point) Sub(q Point) Point {
    	return Point{p.X - q.X, p.Y - q.Y}
    }
    
    // Mul returns the vector p*k.
    func (p Point) Mul(k int) Point {
    	return Point{p.X * k, p.Y * k}
    }
    
    // Div returns the vector p/k.
    func (p Point) Div(k int) Point {
    	return Point{p.X / k, p.Y / k}
    }
    
    // In reports whether p is in r.
    func (p Point) In(r Rectangle) bool {
    	return r.Min.X <= p.X && p.X < r.Max.X &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. 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)
  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. 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)
  8. src/cmd/compile/internal/ssa/bench_test.go

    			fn(a[i]-a[i-1], a[i+len(a)/2-2]-a[i+len(a)/2-1])
    		}
    	}
    }
    
    type Point struct {
    	X, Y int
    }
    
    //go:noinline
    func sign(p1, p2, p3 Point) bool {
    	return (p1.X-p3.X)*(p2.Y-p3.Y)-(p2.X-p3.X)*(p1.Y-p3.Y) < 0
    }
    
    func BenchmarkInvertLessThanNoov(b *testing.B) {
    	p1 := Point{1, 2}
    	p2 := Point{2, 3}
    	p3 := Point{3, 4}
    	for i := 0; i < b.N; i++ {
    		sign(p1, p2, p3)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 02:36:06 UTC 2023
    - 835 bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/scalarmult_test.go

    func BenchmarkScalarBaseMult(b *testing.B) {
    	var p Point
    
    	for i := 0; i < b.N; i++ {
    		p.ScalarBaseMult(dalekScalar)
    	}
    }
    
    func BenchmarkScalarMult(b *testing.B) {
    	var p Point
    
    	for i := 0; i < b.N; i++ {
    		p.ScalarMult(dalekScalar, B)
    	}
    }
    
    func BenchmarkVarTimeDoubleScalarBaseMult(b *testing.B) {
    	var p Point
    
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/crypto/ecdh/nist.go

    	"crypto/internal/nistec"
    	"crypto/internal/randutil"
    	"errors"
    	"internal/byteorder"
    	"io"
    	"math/bits"
    )
    
    type nistCurve[Point nistPoint[Point]] struct {
    	name        string
    	newPoint    func() Point
    	scalarOrder []byte
    }
    
    // nistPoint is a generic constraint for the nistec Point types.
    type nistPoint[T any] interface {
    	Bytes() []byte
    	BytesX() ([]byte, error)
    	SetBytes([]byte) (T, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top