Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 368 for rounds (0.15 sec)

  1. src/cmd/cgo/gcc.go

    	}
    	args, err := quoted.Split(value)
    	if err != nil {
    		return nil, err
    	}
    	if len(args) == 0 {
    		return nil, errors.New("CC not set and no default found")
    	}
    	if _, err := exec.LookPath(args[0]); err != nil {
    		return nil, fmt.Errorf("C compiler %q not found: %v", args[0], err)
    	}
    	return args[:len(args):len(args)], nil
    }
    
    // gccMachine returns the gcc -m flag to use, either "-m32", "-m64" or "-marm".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/runtime/error.go

    	boundsSliceAlen:  "slice bounds out of range [:%x]",
    	boundsSliceAcap:  "slice bounds out of range [:%x]",
    	boundsSliceB:     "slice bounds out of range [%x:]",
    	boundsSlice3Alen: "slice bounds out of range [::%x]",
    	boundsSlice3Acap: "slice bounds out of range [::%x]",
    	boundsSlice3B:    "slice bounds out of range [:%x:]",
    	boundsSlice3C:    "slice bounds out of range [%x::]",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/internal/byteorder/byteorder.go

    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func LeAppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    		byte(v>>8),
    	)
    }
    
    func LeUint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/image/jpeg/reader_test.go

    			t.Errorf("%s: %v", tc+".progressive.jpeg", err)
    			continue
    		}
    		if m0.Bounds() != m1.Bounds() {
    			t.Errorf("%s: bounds differ: %v and %v", tc, m0.Bounds(), m1.Bounds())
    			continue
    		}
    		// All of the video-*.jpeg files are 150x103.
    		if m0.Bounds() != image.Rect(0, 0, 150, 103) {
    			t.Errorf("%s: bad bounds: %v", tc, m0.Bounds())
    			continue
    		}
    
    		switch m0 := m0.(type) {
    		case *image.YCbCr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        TFL_TensorOf<[F32, I32, I64, I1, I8, UI8]>:$output
      );
    
      let hasOptions = 1;
    }
    
    def TFL_RoundOp: TFL_Op<"round", [
        Pure,
        TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = "Round operator";
    
      let description = [{
    Rounds the values of a tensor to the nearest integer, element-wise.
      }];
    
      let arguments = (ins
        TFL_FpTensor:$x
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/metrics-v3-system-cpu.go

    	m.Set(sysCPUSteal, cpuStealVal)
    
    	// metrics-resource.go runs a job to collect resource metrics including their Avg values and
    	// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait.
    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    		if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top