Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,547 for GoUint (0.1 sec)

  1. src/cmd/gofmt/testdata/composites.input

    var pieces4 = []Piece{
    	Piece{0, 0, Point{4, 1}, []Point{Point{0, 0}, Point{1, 0}, Point{1, 0}, Point{1, 0}}, nil, nil},
    	Piece{1, 0, Point{1, 4}, []Point{Point{0, 0}, Point{0, 1}, Point{0, 1}, Point{0, 1}}, nil, nil},
    	Piece{2, 0, Point{4, 1}, []Point{Point{0, 0}, Point{1, 0}, Point{1, 0}, Point{1, 0}}, nil, nil},
    	Piece{3, 0, Point{1, 4}, []Point{Point{0, 0}, Point{0, 1}, Point{0, 1}, Point{0, 1}}, nil, nil},
    }
    
    var _ = [42]*T{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 03:55:43 UTC 2016
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. test/fixedbugs/bug281.go

    // https://golang.org/issue/807
    
    package main
    
    type Point struct {
    	X, Y int64
    }
    
    type Rect struct {
    	Min, Max Point
    }
    
    func (p Point) Sub(q Point) Point {
    	return Point{p.X-q.X, p.Y-q.Y}
    }
    
    type Obj struct {
    	bbox Rect
    }
    
    func (o *Obj) Bbox() Rect {
    	return o.bbox
    }
    
    func (o *Obj) Points() [2]Point{
    	return [2]Point{o.bbox.Min, o.bbox.Max}
    }
    
    var x = 0
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 904 bytes
    - Viewed (0)
  4. tensorflow/cc/framework/ops.h

      Input(const Output& o) : output_(o) {}  // NOLINT(runtime/explicit)
    
      template <typename T, typename = typename std::enable_if<
                                std::is_arithmetic<T>::value ||
                                std::is_convertible<T, std::string>::value>::type>
      Input(const T& v)  // NOLINT(runtime/explicit)
          : Input(Initializer(v)) {}
    
      Input(const Initializer& init)  // NOLINT(runtime/explicit)
          : status_(init.status),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    template <typename F>
    class Cleanup {
     public:
      Cleanup() : released_(true), f_() {}
    
      template <typename G>
      explicit Cleanup(G&& f)          // NOLINT
          : f_(std::forward<G>(f)) {}  // NOLINT(build/c++11)
    
      Cleanup(Cleanup&& src)  // NOLINT
          : released_(src.is_released()), f_(src.release()) {}
    
      // Implicitly move-constructible from any compatible Cleanup<G>.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 09 11:16:00 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kube/krt/static.go

    	if o, f := s.vals[k]; f {
    		return &o
    	}
    	return nil
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (s *staticList[T]) name() string {
    	return "staticList"
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (s *staticList[T]) uid() collectionUID {
    	return s.id
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (s *staticList[T]) dump() {
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. 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)
Back to top