Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 489 for rounds (0.1 sec)

  1. src/image/jpeg/reader.go

    		bounds := d.img3.Bounds()
    		img := image.NewRGBA(bounds)
    		imageutil.DrawYCbCr(img, bounds, d.img3, bounds.Min)
    		for iBase, y := 0, bounds.Min.Y; y < bounds.Max.Y; iBase, y = iBase+img.Stride, y+1 {
    			for i, x := iBase+3, bounds.Min.X; x < bounds.Max.X; i, x = i+4, x+1 {
    				img.Pix[i] = 255 - d.blackPix[(y-bounds.Min.Y)*d.blackStride+(x-bounds.Min.X)]
    			}
    		}
    		return &image.CMYK{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

        func.func @main(%arg0: tensor<?xi32, #mhlo.type_extensions<bounds = [1]>>) -> tensor<?xi32, #mhlo.type_extensions<bounds = [1]>> {
          %0 = "tf.Identity"(%arg0) : (tensor<?xi32, #mhlo.type_extensions<bounds = [1]>>) -> tensor<?xi32, #mhlo.type_extensions<bounds = [1]>>
          func.return %0 : tensor<?xi32, #mhlo.type_extensions<bounds = [1]>>
        }
      })";
      SetPassThatChangedIdentity("");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/image/png/fuzz_test.go

    				continue
    			}
    			img1, err := Decode(&w)
    			if err != nil {
    				t.Errorf("failed to decode roundtripped image: %s", err)
    				continue
    			}
    			got := img1.Bounds()
    			want := img.Bounds()
    			if !got.Eq(want) {
    				t.Errorf("roundtripped image bounds have changed, got: %s, want: %s", got, want)
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 15:56:27 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. src/image/draw/draw_test.go

    				b := dst.Bounds()
    				// Draw the (src, mask, op) onto a copy of dst using a slow but obviously correct implementation.
    				golden := makeGolden(dst, b, src, src.Bounds().Min, nil, image.Point{}, op)
    				if !b.Eq(golden.Bounds()) {
    					t.Errorf("drawOverlap xoff=%d,yoff=%d: bounds %v versus %v", xoff, yoff, dst.Bounds(), golden.Bounds())
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

       * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null
       * otherwise.
       */
      @CheckForNull
      private static Type subtypeOfComponentType(Type[] bounds) {
        for (Type bound : bounds) {
          Type componentType = getComponentType(bound);
          if (componentType != null) {
            // Only the first bound can be a class or array.
            // Bounds after the first can only be interfaces.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml

    Jonh Wendell <******@****.***> 1715709579 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 480 bytes
    - Viewed (0)
  7. pkg/monitoring/monitoring.go

    // data collected by the Metric will be collected and exported as a histogram, with the specified bounds.
    func NewDistribution(name, description string, bounds []float64, opts ...Options) Metric {
    	knownMetrics.register(MetricDefinition{
    		Name:        name,
    		Type:        "Distribution",
    		Description: description,
    		Bounds:      bounds,
    	})
    	o, dm := createOptions(name, description, opts...)
    	if dm != nil {
    		return dm
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/dirent.go

    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    		_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    		return uint64(b[1]) | uint64(b[0])<<8
    	case 4:
    		_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    		return uint64(b[3]) | uint64(b[2])<<8 | uint64(b[1])<<16 | uint64(b[0])<<24
    	case 8:
    		_ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_stack_darwin.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <pthread.h>
    #include "libcgo.h"
    
    void
    x_cgo_getstackbound(uintptr bounds[2])
    {
    	void* addr;
    	size_t size;
    	pthread_t p;
    
    	p = pthread_self();
    	addr = pthread_get_stackaddr_np(p); // high address (!)
    	size = pthread_get_stacksize_np(p);
    
    	// bounds points into the Go stack. TSAN can't see the synchronization
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 01:32:45 UTC 2024
    - 617 bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_stack_unix.c

    	// same as the default stack bounds.
    	pthread_attr_getstacksize(&attr, &size);
    	addr = __builtin_frame_address(0) + 4096 - size;
    #endif
    	pthread_attr_destroy(&attr);
    
    	// bounds points into the Go stack. TSAN can't see the synchronization
    	// in Go around stack reuse.
    	_cgo_tsan_acquire();
    	bounds[0] = (uintptr)addr;
    	bounds[1] = (uintptr)addr + size;
    	_cgo_tsan_release();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top