Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Int8 (0.09 sec)

  1. src/encoding/binary/binary.go

    	d.offset += 8
    	return x
    }
    
    func (e *encoder) uint64(x uint64) {
    	e.order.PutUint64(e.buf[e.offset:e.offset+8], x)
    	e.offset += 8
    }
    
    func (d *decoder) int8() int8 { return int8(d.uint8()) }
    
    func (e *encoder) int8(x int8) { e.uint8(uint8(x)) }
    
    func (d *decoder) int16() int16 { return int16(d.uint16()) }
    
    func (e *encoder) int16(x int16) { e.uint16(uint16(x)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. test/codegen/shift.go

    	g := int16(v >> 48)
    	// ppc64x:".*MOVH"
    	g += int16(v >> 30)
    	// ppc64x:-".*MOVH"
    	g += int16(f >> 16)
    	// ppc64x:-".*MOVB"
    	h := int8(v >> 56)
    	// ppc64x:".*MOVB"
    	h += int8(v >> 28)
    	// ppc64x:-".*MOVB"
    	h += int8(f >> 24)
    	// ppc64x:".*MOVB"
    	h += int8(f >> 16)
    	return int64(h), uint64(g)
    }
    
    func checkShiftAndMask32(v []uint32) {
    	i := 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/scalar.go

    		}
    
    		if window < width/2 {
    			carry = 0
    			naf[pos] = int8(window)
    		} else {
    			carry = 1
    			naf[pos] = int8(window) - int8(width)
    		}
    
    		pos += w
    	}
    	return naf
    }
    
    func (s *Scalar) signedRadix16() [64]int8 {
    	b := s.Bytes()
    	if b[31] > 127 {
    		panic("scalar has high bit set illegally")
    	}
    
    	var digits [64]int8
    
    	// Compute unsigned radix-16 digits:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/reflect/iter.go

    				return []Value{ValueOf(yield(in[0]))}
    			})
    			v.Call([]Value{rf})
    		}
    	}
    	switch v.Kind() {
    	case Int:
    		return rangeNum[int](v.Int())
    	case Int8:
    		return rangeNum[int8](v.Int())
    	case Int16:
    		return rangeNum[int16](v.Int())
    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int8
    			e int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int8; e int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/reflect/iter_test.go

    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) {
    			i := int8(0)
    			for v := range s {
    				if v.Interface().(int8) != i {
    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/encoding/binary/binary_test.go

    // license that can be found in the LICENSE file.
    
    package binary
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math"
    	"reflect"
    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    type Struct struct {
    	Int8       int8
    	Int16      int16
    	Int32      int32
    	Int64      int64
    	Uint8      uint8
    	Uint16     uint16
    	Uint32     uint32
    	Uint64     uint64
    	Float32    float32
    	Float64    float64
    	Complex64  complex64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

              /*used_tensors=*/used_tensors, /*quantized=*/true);
          // If the tensor is a weight, it should have type INT8.
          // If the tensor is a bias, it should have type FLOAT32.
          // If the tensor is an input or output it should have type FLOAT32.
          // The input to dequantize should be INT8, and all other tensors should be
          // FLOAT32.
          if (i == dequant_input_idx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/block.go

    		if v.LackingPos() {
    			continue
    		}
    		return false
    	}
    	return true
    }
    
    func (b *Block) AuxIntString() string {
    	switch b.Kind.AuxIntType() {
    	case "int8":
    		return fmt.Sprintf("%v", int8(b.AuxInt))
    	case "uint8":
    		return fmt.Sprintf("%v", uint8(b.AuxInt))
    	case "": // no aux int type
    		return ""
    	default: // type specified but not implemented - print as int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    // to the `output_buffer`. Both `model_buffer` and `output_buffer` should be a
    // valid FlatBuffer format for Model supported by TFLite.
    //
    // The `input_type`, `output_type` and `inference_type` can be float32 / qint8 /
    // int8 / int16.
    //
    // Returns a partially quantized model if `fully_quantize` is false. Returns a
    // non-OK status if the quantization fails.
    //
    // When `verify_numeric` is true, the model will have it's original float ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top