Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for maxInt (0.24 sec)

  1. src/internal/trace/internal/oldtrace/parser.go

    	lastTs Timestamp
    	lastG  uint64
    	// map from Ps to the last Gs that ran on them
    	lastGs map[int32]uint64
    	lastP  int32
    }
    
    func (p *parser) discard(n uint64) bool {
    	if n > math.MaxInt {
    		return false
    	}
    	if noff := p.off + int(n); noff < p.off || noff > len(p.data) {
    		return false
    	} else {
    		p.off = noff
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    				}
    			} else {
    				// With w,delta constants, we want to derive: x+delta > w  ⇒  x > w-delta
    				//
    				// We compute (using integers of the correct size):
    				//    min = w - delta
    				//    max = MaxInt - delta
    				//
    				// And we prove that:
    				//    if min<max: min < x AND x <= max
    				//    if min>max: min < x OR  x <= max
    				//
    				// This is always correct, even in case of overflow.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    					Drives:   anonymizeDrives(server.Disks),
    					PoolNumber: func() int {
    						if len(server.PoolNumbers) == 1 {
    							return server.PoolNumbers[0]
    						}
    						return math.MaxInt // this indicates that its unset.
    					}(),
    					PoolNumbers: server.PoolNumbers,
    					MemStats: madmin.MemStats{
    						Alloc:      server.MemStats.Alloc,
    						TotalAlloc: server.MemStats.TotalAlloc,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  4. src/encoding/json/testdata/code.json.gz

    ":1,"min_t":1316289444,"max_t":1316289444,"mean_t":1316289444},{"name":"transport.go","kids":[],"cl_weight":0.1,"touches":1,"min_t":1316289444,"max_t":1316289444,"mean_t":1316289444}],"cl_weight":0.9999999999999999,"touches":1,"min_t":1316289444,"max_t":1316289444,"mean_t":1316289444},{"name":"draw","kids":[{"name":"Makefile","kids":[],"cl_weight":1,"touches":1,"min_t":1258062920,"max_t":1258062920,"mean_t":1258062920}],"cl_weight":1,"touches":1,"min_t":1258062920,"max_t":1258062920,"mean_t":125...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
  5. src/math/big/decimal.go

    		x.mant[0] = '1' // ok since len(x.mant) > n
    		x.mant = x.mant[:1]
    		x.exp++
    		return
    	}
    
    	// n > 0 && x.mant[n-1] < '9'
    	x.mant[n-1]++
    	x.mant = x.mant[:n]
    	// x already trimmed
    }
    
    func (x *decimal) roundDown(n int) {
    	if n < 0 || n >= len(x.mant) {
    		return // nothing to do
    	}
    	x.mant = x.mant[:n]
    	trim(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  6. src/runtime/softfloat64.go

    	mant0, exp0, trunc0 := mant, exp, trunc
    	if mant == 0 {
    		return sign
    	}
    	for mant < 1<<mantbits32 {
    		mant <<= 1
    		exp--
    	}
    	for mant >= 4<<mantbits32 {
    		trunc |= mant & 1
    		mant >>= 1
    		exp++
    	}
    	if mant >= 2<<mantbits32 {
    		if mant&1 != 0 && (trunc != 0 || mant&2 != 0) {
    			mant++
    			if mant >= 4<<mantbits32 {
    				mant >>= 1
    				exp++
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 17:58:41 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc

          /*storageType=*/IntegerType::get(&context, /*width=*/8),
          /*expressedType=*/FloatType::getF32(&context), scale, zero_point,
          /*storageTypeMin=*/llvm::minIntN(8) + (narrow_range ? 1 : 0),
          /*storageTypeMax=*/llvm::maxIntN(8));
    }
    
    UniformQuantizedType CreateI32F32UniformQuantizedType(
        const Location loc, MLIRContext& context, const double scale,
        const int64_t zero_point) {
      return UniformQuantizedType::getChecked(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	log.SetFlags(0)
    	log.SetPrefix("bisect: ")
    
    	var b Bisect
    	b.Stdout = os.Stdout
    	b.Stderr = os.Stderr
    	flag.IntVar(&b.Max, "max", 0, "stop after finding `m` failing change sets")
    	flag.IntVar(&b.MaxSet, "maxset", 0, "do not search for change sets larger than `s` elements")
    	flag.DurationVar(&b.Timeout, "timeout", 0, "stop target and consider failed after duration `d`")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

      EXPECT_TRUE(succeeded(CastI64ToI32(llvm::minIntN(32))));
      EXPECT_TRUE(succeeded(CastI64ToI32(llvm::maxIntN(32))));
    }
    
    TEST_F(AttrsAndConstraintsTest, CastingFailsForI64ValueOutOfI32Range) {
      EXPECT_TRUE(failed(CastI64ToI32(llvm::minIntN(32) - 10)));
      EXPECT_TRUE(failed(CastI64ToI32(llvm::maxIntN(32) + 10)));
    }
    
    TEST_F(AttrsAndConstraintsTest, I64ArrayInI32RangeAreCastedCorrectly) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. src/math/big/float.go

    			z.mant = z.mant.add(x.mant, z.mant)
    		}
    	default:
    		// ex == ey, no shift needed
    		z.mant = z.mant.add(x.mant, y.mant)
    	case ex > ey:
    		if al {
    			t := nat(nil).shl(x.mant, uint(ex-ey))
    			z.mant = z.mant.add(t, y.mant)
    		} else {
    			z.mant = z.mant.shl(x.mant, uint(ex-ey))
    			z.mant = z.mant.add(z.mant, y.mant)
    		}
    		ex = ey
    	}
    	// len(z.mant) > 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top