Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for i8rand (0.16 sec)

  1. test/ken/modconst.go

    		b = a % -101
    		i8test(a, b, -101)
    	}
    }
    
    func u8rand() uint8 {
    	a := uint8(rand.Uint32())
    	a >>= uint(rand.Intn(8))
    	return a
    }
    
    func u8test(a, b, c uint8) {
    	d := a % c
    	if d != b {
    		println("u8", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func u8run() {
    	var a, b uint8
    
    	for i := 0; i < Count; i++ {
    		a = u8rand()
    
    		b = a % 1
    		u8test(a, b, 1)
    		b = a % 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  2. test/ken/divconst.go

    		b = a / -128
    		i8test(a, b, -128)
    	}
    }
    
    func u8rand() uint8 {
    	a := uint8(rand.Uint32())
    	a >>= uint(rand.Intn(8))
    	return a
    }
    
    func u8test(a, b, c uint8) {
    	d := a / c
    	if d != b {
    		println("u8", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func u8run() {
    	var a, b uint8
    
    	for i := 0; i < Count; i++ {
    		a = u8rand()
    
    		b = a / 1
    		u8test(a, b, 1)
    		b = a / 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt

    # Verify for functions with control return values, the island with only a
    # consumed control return value has its control output added to the GraphOps
    # FetchOp.
    
    # Match the island containing the "tf.Neg", capture the output
    # CHECK:          %[[ISLAND_0:[a-z_0-9]*]], %[[ISLAND_0_control:[a-z_0-9]*]] = tf_executor.island wraps "tf.Neg"
    
    # Check that the tf.Neg control is passed to the fetch
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt

    # Verify for functions with control return values, the island with a consumed
    # data output and a consumed control has both its outputs added to the GraphOps
    # FetchOp.
    
    # Match the island containing the "tf.Neg", capture the output
    # CHECK:          %[[ISLAND:[a-z_0-9]*]], %[[ISLAND_control:[a-z_0-9]*]] = tf_executor.island wraps "tf.Neg"
    
    # Check that the tf.Neg data output and control are passed to the fetch
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  5. src/math/rand/gen_cooked.go

    			rngVec[i] = u
    		}
    	}
    }
    
    func vrand() int64 {
    	rngTap--
    	if rngTap < 0 {
    		rngTap += length
    	}
    	rngFeed--
    	if rngFeed < 0 {
    		rngFeed += length
    	}
    	x := (rngVec[rngFeed] + rngVec[rngTap])
    	rngVec[rngFeed] = x
    	return x
    }
    
    func main() {
    	srand(1)
    	for i := uint64(0); i < 7.8e12; i++ {
    		vrand()
    	}
    	fmt.Printf("rngVec after 7.8e12 calls to vrand:\n%#v\n", rngVec)
    	for i := range rngVec {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/wasm/anames.go

    	"I32Mul",
    	"I32DivS",
    	"I32DivU",
    	"I32RemS",
    	"I32RemU",
    	"I32And",
    	"I32Or",
    	"I32Xor",
    	"I32Shl",
    	"I32ShrS",
    	"I32ShrU",
    	"I32Rotl",
    	"I32Rotr",
    	"I64Clz",
    	"I64Ctz",
    	"I64Popcnt",
    	"I64Add",
    	"I64Sub",
    	"I64Mul",
    	"I64DivS",
    	"I64DivU",
    	"I64RemS",
    	"I64RemU",
    	"I64And",
    	"I64Or",
    	"I64Xor",
    	"I64Shl",
    	"I64ShrS",
    	"I64ShrU",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/location.js

    ","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","bonaire","bosnia and herzegovina","botswana","bouvet island","brazil","british indian ocean territory","brunei darussalam","bulgaria","burkina faso","burundi","cabo verde","cambodia","cameroon","canada","cayman islands","central african republic","chad","chile","china","christmas island","cocos islands","colombia","comoros","democratic republic of the congo","congo","cook islands","costa rica","côte d'ivoire","croati...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  8. src/math/rand/v2/rand.go

    }
    
    // New returns a new Rand that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	return &Rand{src: src}
    }
    
    // Int64 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
    
    // Uint32 returns a pseudo-random 32-bit value as a uint32.
    func (r *Rand) Uint32() uint32 { return uint32(r.src.Uint64() >> 32) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

      // Collect operands for the new merged island.
      island_operands_and_results.operands.clear();
      for (IslandOp island : merged_island.islands)
        island_operands_and_results.operands.insert(island.operand_begin(),
                                                    island.operand_end());
      for (IslandOp island : merged_island.islands)
        island_operands_and_results.operands.remove(island.getControl());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

        // CHECK: %[[ADD:.*]], %{{.*}} = tf_executor.island wraps "tf.Add"(%[[ARG_2]], %[[ARG_3]]) : (tensor<f32>, tensor<f32>) -> tensor<f32>
        %add, %add_control = tf_executor.island wraps "tf.Add"(%arg2, %arg3) : (tensor<f32>, tensor<f32>) -> tensor<f32>
        // CHECK: %[[MUL:.*]], %{{.*}} = tf_executor.island wraps "tf.Mul"(%[[ARG_2]], %[[ARG_3]]) : (tensor<f32>, tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
Back to top