Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 866 for JPoint (0.21 sec)

  1. test/fixedbugs/issue31747.go

    	_ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later"
    
    	_ = 0b111 // ERROR "binary"
    	_ = 0o567 // ERROR "octal"
    	_ = 0xabc // ok
    	_ = 0x0p1 // ERROR "hexadecimal floating-point"
    
    	_ = 1_000i // ERROR "underscore"
    	_ = 0b111i // ERROR "binary"
    	_ = 0o567i // ERROR "octal"
    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/crypto/internal/edwards25519/edwards25519_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			p1, err := new(Point).SetBytes(decodeHex(tt.encoding))
    			if err != nil {
    				t.Fatalf("error decoding non-canonical point: %v", err)
    			}
    			p2, err := new(Point).SetBytes(decodeHex(tt.canonical))
    			if err != nil {
    				t.Fatalf("error decoding canonical point: %v", err)
    			}
    			if p1.Equal(p2) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/tables.go

    	}
    }
    
    // Builds a lookup table at runtime. Fast.
    func (v *nafLookupTable5) FromP3(q *Point) {
    	// Goal: v.points[i] = (2*i+1)*Q, i.e., Q, 3Q, 5Q, ..., 15Q
    	// This allows lookup of -15Q, ..., -3Q, -Q, 0, Q, 3Q, ..., 15Q
    	v.points[0].FromP3(q)
    	q2 := Point{}
    	q2.Add(q, q)
    	tmpP3 := Point{}
    	tmpP1xP1 := projP1xP1{}
    	for i := 0; i < 7; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 05 21:02:45 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt

    class Test {
        private fun test(x: Int, y: Int) {
            val (_, _) = invert(x, y)
        }
    
        private fun invert(x: Int, y: Int): Point {
            return Point(-x, -y)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jan 25 08:05:58 UTC 2023
    - 219 bytes
    - Viewed (0)
  5. test/fixedbugs/bug007.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type (
    	Point struct {
    		x, y float64
    	}
    	Polar Point
    )
    
    func main() {
    }
    
    /*
    bug7.go:5: addtyp: renaming Point to Polar
    main.go.c:14: error: redefinition of typedef ‘_T_2’
    main.go.c:13: error: previous declaration of ‘_T_2’ was here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 481 bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/go1_12.go

    	_ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later"
    
    	_ = 0b111 // ERROR "binary"
    	_ = 0o567 // ERROR "octal"
    	_ = 0xabc // ok
    	_ = 0x0p1 // ERROR "hexadecimal floating-point"
    
    	_ = 1_000i // ERROR "underscore"
    	_ = 0b111i // ERROR "binary"
    	_ = 0o567i // ERROR "octal"
    	_ = 0xabci // ERROR "hexadecimal floating-point"
    	_ = 0x0p1i // ERROR "hexadecimal floating-point"
    )
    
    // signed shift counts
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/runtime/os_linux_arm.go

    	// reflect the CPU capabilities. Assume that every Android arm device
    	// has the necessary floating point hardware available.
    	if GOOS == "android" {
    		return
    	}
    	if cpu.HWCap&_HWCAP_VFP == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no floating point hardware, so it cannot run\n")
    		print("a binary compiled for hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM.\n")
    		exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/unicode/utf16/utf16.go

    	maxRune         = '\U0010FFFF' // Maximum valid Unicode code point.
    )
    
    const (
    	// 0xd800-0xdc00 encodes the high 10 bits of a pair.
    	// 0xdc00-0xe000 encodes the low 10 bits of a pair.
    	// the value is those 20 bits plus 0x10000.
    	surr1 = 0xd800
    	surr2 = 0xdc00
    	surr3 = 0xe000
    
    	surrSelf = 0x10000
    )
    
    // IsSurrogate reports whether the specified Unicode code point
    // can appear in a surrogate pair.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/runtime/os_linux_s390x.go

    	// Check if the present z-system has the hardware capability to carryout
    	// floating point operations. Check if hwcap reflects CPU capability for the
    	// necessary floating point hardware (HasVX) availability.
    	// Starting with Go1.19, z13 is the minimum machine level for running Go on LoZ
    	if cpu.HWCap&_HWCAP_VX == 0 {
    		print("runtime: This CPU has no floating point hardware, so this program cannot be run. \n")
    		exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 17:36:28 UTC 2023
    - 825 bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      private final char[][] replacements;
      // The number of elements in the replacement array.
      private final int replacementsLength;
      // The first code point in the safe range.
      private final int safeMin;
      // The last code point in the safe range.
      private final int safeMax;
    
      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top