Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,292 for JPoint (0.08 sec)

  1. src/image/geom_test.go

    import (
    	"fmt"
    	"testing"
    )
    
    func TestRectangle(t *testing.T) {
    	// in checks that every point in f is in g.
    	in := func(f, g Rectangle) error {
    		if !f.In(g) {
    			return fmt.Errorf("f=%s, f.In(%s): got false, want true", f, g)
    		}
    		for y := f.Min.Y; y < f.Max.Y; y++ {
    			for x := f.Min.X; x < f.Max.X; x++ {
    				p := Point{x, y}
    				if !p.In(g) {
    					return fmt.Errorf("p=%s, p.In(%s): got false, want true", p, g)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 05:05:59 UTC 2017
    - 3K bytes
    - Viewed (0)
  2. src/runtime/os_freebsd_arm.go

    		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)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core-platform/build.gradle.kts

        }
        runtime(project(":gradle-cli-main")) {
            because("This is the entry point of the `gradle` command.")
        }
        runtime(project(":daemon-main")) {
            because("This is the entry point of the Gradle daemon.")
        }
        runtime(project(":tooling-api-provider")) {
            because("This is the entry point of the tooling API provider, which is the version-specific client part of the tooling API.")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/strconv/decimal.go

    // license that can be found in the LICENSE file.
    
    // Multiprecision decimal numbers.
    // For floating-point formatting only; not general purpose.
    // Only operations are assign and (binary) left/right shift.
    // Can do binary floating point in multiprecision decimal precisely
    // because 2 divides 10; cannot do decimal floating point
    // in multiprecision binary precisely.
    
    package strconv
    
    type decimal struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 15 19:41:25 UTC 2017
    - 11K bytes
    - Viewed (0)
  5. src/encoding/gob/example_interface_test.go

    // license that can be found in the LICENSE file.
    
    package gob_test
    
    import (
    	"bytes"
    	"encoding/gob"
    	"fmt"
    	"log"
    	"math"
    )
    
    type Point struct {
    	X, Y int
    }
    
    func (p Point) Hypotenuse() float64 {
    	return math.Hypot(float64(p.X), float64(p.Y))
    }
    
    type Pythagoras interface {
    	Hypotenuse() float64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  6. android/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)
  7. pkg/scheduler/testing/framework/fake_plugins.go

    func (pl *FakeReservePlugin) Name() string {
    	return "FakeReserve"
    }
    
    // Reserve invoked at the Reserve extension point.
    func (pl *FakeReservePlugin) Reserve(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) *framework.Status {
    	return pl.Status
    }
    
    // Unreserve invoked at the Unreserve extension point.
    func (pl *FakeReservePlugin) Unreserve(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/image/image.go

    func (p *RGBA) Set(x, y int, c color.Color) {
    	if !(Point{x, y}.In(p.Rect)) {
    		return
    	}
    	i := p.PixOffset(x, y)
    	c1 := color.RGBAModel.Convert(c).(color.RGBA)
    	s := p.Pix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857
    	s[0] = c1.R
    	s[1] = c1.G
    	s[2] = c1.B
    	s[3] = c1.A
    }
    
    func (p *RGBA) SetRGBA64(x, y int, c color.RGBA64) {
    	if !(Point{x, y}.In(p.Rect)) {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_cache_gomips.txt

    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Building for mipsle without setting GOMIPS will use floating point registers.
    env GOARCH=mipsle
    env GOOS=linux
    go build -gcflags=-S f.go
    stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+
    
    # Clean cache
    go clean -cache
    
    # Building with GOMIPS=softfloat will not use floating point registers
    env GOMIPS=softfloat
    go build -gcflags=-S f.go
    ! stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 859 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/doc.go

    // return the UTF-8 representation of the Unicode code point x, and not a decimal
    // string representation of x as one might expect. Furthermore, if x denotes an
    // invalid code point, the conversion cannot be statically rejected.
    //
    // For conversions that intend on using the code point, consider replacing them
    // with string(rune(x)). Otherwise, strconv.Itoa and its equivalents return the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 982 bytes
    - Viewed (0)
Back to top