Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for Int8 (0.13 sec)

  1. src/crypto/sha1/sha1.go

    	}
    
    	nx := byte(d.nx)
    	t := nx - 56                 // if nx < 56 then the MSB of t is one
    	mask1b := byte(int8(t) >> 7) // mask1b is 0xFF iff one block is enough
    
    	separator := byte(0x80) // gets reset to 0x00 once used
    	for i := byte(0); i < chunk; i++ {
    		mask := byte(int8(i-nx) >> 7) // 0x00 after the end of data
    
    		// if we reached the end of the data, replace with 0x80 or 0x00
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

          return DT_QUINT8;
        case toco::IODataType::QUANTIZED_INT8:
          return DT_QINT8;
        case toco::IODataType::QUANTIZED_INT16:
          return DT_QINT16;
        case toco::IODataType::INT8:
          return DT_INT8;
        case toco::IODataType::INT16:
          return DT_INT16;
        case toco::IODataType::UINT16:
          return DT_UINT16;
        case toco::IODataType::INT32:
          return DT_INT32;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/math/rand/rand.go

    	// It is saved so next Read call can start where the previous
    	// one finished.
    	readVal int64
    	// readPos indicates the number of low-order bytes of readVal
    	// that are still valid.
    	readPos int8
    }
    
    // New returns a new [Rand] that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	s64, _ := src.(Source64)
    	return &Rand{src: src, s64: s64}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/database/sql/convert.go

    			return nil
    		}
    	}
    
    	var sv reflect.Value
    
    	switch d := dest.(type) {
    	case *string:
    		sv = reflect.ValueOf(src)
    		switch sv.Kind() {
    		case reflect.Bool,
    			reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,
    			reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64,
    			reflect.Float32, reflect.Float64:
    			*d = asString(src)
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/encoding/gob/type.go

    	externalEnc int          // xGob, xBinary, or xText
    	externalDec int          // xGob, xBinary, or xText
    	encIndir    int8         // number of indirections to reach the receiver type; may be negative
    	decIndir    int8         // number of indirections to reach the receiver type; may be negative
    }
    
    // externalEncoding bits
    const (
    	xGob    = 1 + iota // GobEncoder or GobDecoder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	return int32(sh<<16 | mb<<8 | me)
    }
    
    func GetPPC64Shiftsh(auxint int64) int64 {
    	return int64(int8(auxint >> 16))
    }
    
    func GetPPC64Shiftmb(auxint int64) int64 {
    	return int64(int8(auxint >> 8))
    }
    
    func GetPPC64Shiftme(auxint int64) int64 {
    	return int64(int8(auxint))
    }
    
    // Test if this value can encoded as a mask for a rlwinm like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. test/codegen/bits.go

    func signextendAndMask8to64(a int8) (s, z uint64) {
    	// ppc64x: "MOVB", "ANDCC\t[$]1015,"
    	s = uint64(a) & 0x3F7
    	// ppc64x: -"MOVB", "ANDCC\t[$]247,"
    	z = uint64(uint8(a)) & 0x3F7
    	return
    }
    
    // Verify zero-extended values are not sign-extended under a bit mask (#61297)
    func zeroextendAndMask8to64(a int8, b int16) (x, y uint64) {
    	// ppc64x: -"MOVB\t", -"ANDCC", "MOVBZ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/generic.rules

      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    (StaticLECall {callAux} (Addr {scon} (SB)) sptr (Const64 [1]) mem)
      && isSameCall(callAux, "runtime.memequal")
      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  9. src/runtime/os_plan9.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"internal/stringslite"
    	"unsafe"
    )
    
    type mOS struct {
    	waitsemacount uint32
    	notesig       *int8
    	errstr        *byte
    	ignoreHangup  bool
    }
    
    func closefd(fd int32) int32
    
    //go:noescape
    func open(name *byte, mode, perm int32) int32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/encoding/gob/encoder_test.go

    		}
    	}
    }
    
    func TestEncodeIntSlice(t *testing.T) {
    
    	s8 := []int8{1, 5, 12, 22, 35, 51, 70, 92, 117}
    	s16 := []int16{145, 176, 210, 247, 287, 330, 376, 425, 477}
    	s32 := []int32{532, 590, 651, 715, 782, 852, 925, 1001, 1080}
    	s64 := []int64{1162, 1247, 1335, 1426, 1520, 1617, 1717, 1820, 1926}
    
    	t.Run("int8", func(t *testing.T) {
    		var sink bytes.Buffer
    		enc := NewEncoder(&sink)
    		enc.Encode(s8)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top