Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,343 for intp (0.05 sec)

  1. tensorflow/compiler/mlir/lite/utils/low_bit_utils.h

    std::vector<uint8_t> PackInt4ValuesDensely(std::vector<uint8_t> src_buffer);
    
    // Assumes `src_buffer` contains 2 4-bit elements packed in 8-bit.
    // Returns a vector where each int8 element contains a int4 sign-extended value.
    std::vector<char> UnpackDenseInt4IntoInt8(
        const std::vector<uint8_t>& src_buffer, int64_t num_elements);
    }  // namespace tflite
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 12 20:13:51 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/math/rand/rand.go

    			low = uint32(prod)
    		}
    	}
    	return int32(prod >> 32)
    }
    
    // Intn returns, as an int, a non-negative pseudo-random number in the half-open interval [0,n).
    // It panics if n <= 0.
    func (r *Rand) Intn(n int) int {
    	if n <= 0 {
    		panic("invalid argument to Intn")
    	}
    	if n <= 1<<31-1 {
    		return int(r.Int31n(int32(n)))
    	}
    	return int(r.Int63n(int64(n)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/abiutils_test.go

    	exp := makeExpectedDump(`
            IN 0: R{ I0 } spilloffset: 0 typ: int8
            IN 1: R{ I1 I2 I3 I4 } spilloffset: 2 typ: struct { int8; int8; struct {}; int8; int16 }
            IN 2: R{ I5 } spilloffset: 8 typ: int64
            OUT 0: R{ I0 I1 I2 I3 } spilloffset: -1 typ: struct { int8; int8; struct {}; int8; int16 }
            OUT 1: R{ I4 } spilloffset: -1 typ: int8
            OUT 2: R{ I5 } spilloffset: -1 typ: int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    	} else {
    		t.Fatal("expected result must not be nil")
    	}
    }
    
    func TestIP(t *testing.T) {
    	ipv4Addr, _ := netip.ParseAddr("192.168.0.1")
    	int4 := types.Int(4)
    
    	ipv6Addr, _ := netip.ParseAddr("2001:db8::68")
    	int6 := types.Int(6)
    
    	trueVal := types.Bool(true)
    	falseVal := types.Bool(false)
    
    	cases := []struct {
    		name              string
    		expr              string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

          mlir::FloatType::getFloat8E4M3FN(&context)));
    
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<int4>(
          {static_cast<int4>(1), static_cast<int4>(-1)}, DT_INT4,
          mlir::IntegerType::get(&context, 4,
                                 mlir::IntegerType::SignednessSemantics::Signed)));
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<int8>(
          {1, -1}, DT_INT8, mlir::IntegerType::get(&context, 8)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/testing/quick/quick.go

    	"reflect"
    	"strings"
    	"time"
    )
    
    var defaultMaxCount *int = flag.Int("quickchecks", 100, "The default number of iterations for each check")
    
    // A Generator can generate random values of its own type.
    type Generator interface {
    	// Generate returns a random instance of the type on which it is a
    	// method using the size as a size hint.
    	Generate(rand *rand.Rand, size int) reflect.Value
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/logic_test.go

    		golden func(int8) int8
    	}{
    		{"x|x", func(x int8) int8 { return x | x }, id},
    		{"x|0", func(x int8) int8 { return x | 0 }, id},
    		{"x|-1", func(x int8) int8 { return x | -1 }, func(x int8) int8 { return -1 }},
    		{"x&x", func(x int8) int8 { return x & x }, id},
    		{"x&0", func(x int8) int8 { return x & 0 }, zero},
    		{"x&-1", func(x int8) int8 { return x & -1 }, id},
    		{"x^x", func(x int8) int8 { return x ^ x }, zero},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_messages_test.go

    	if rand.Intn(10) > 5 {
    		m.supportedVersion = uint16(rand.Intn(0xffff) + 1)
    	}
    	if rand.Intn(10) > 5 {
    		m.cookie = randomBytes(rand.Intn(500)+1, rand)
    	}
    	if rand.Intn(10) > 5 {
    		for i := 0; i < rand.Intn(5); i++ {
    			m.serverShare.group = CurveID(rand.Intn(30000) + 1)
    			m.serverShare.data = randomBytes(rand.Intn(200)+1, rand)
    		}
    	} else if rand.Intn(10) > 5 {
    		m.selectedGroup = CurveID(rand.Intn(30000) + 1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go

    	Type        [64]int8
    	Blocksize   uint32
    	Min_keysize uint32
    	Max_keysize uint32
    }
    
    type CryptoReportBlkCipher struct {
    	Type        [64]int8
    	Geniv       [64]int8
    	Blocksize   uint32
    	Min_keysize uint32
    	Max_keysize uint32
    	Ivsize      uint32
    }
    
    type CryptoReportAEAD struct {
    	Type        [64]int8
    	Geniv       [64]int8
    	Blocksize   uint32
    	Maxauthsize uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go

    	Type        [64]int8
    	Blocksize   uint32
    	Min_keysize uint32
    	Max_keysize uint32
    }
    
    type CryptoReportBlkCipher struct {
    	Type        [64]int8
    	Geniv       [64]int8
    	Blocksize   uint32
    	Min_keysize uint32
    	Max_keysize uint32
    	Ivsize      uint32
    }
    
    type CryptoReportAEAD struct {
    	Type        [64]int8
    	Geniv       [64]int8
    	Blocksize   uint32
    	Maxauthsize uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top