Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 739 for int1 (0.16 sec)

  1. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    			ans = i % j
    		}
    	case "<<":
    		ans = i << uint64(j)
    	case ">>":
    		ans = i >> uint64(j)
    	}
    	switch t {
    	case "int32":
    		ans = int64(int32(ans))
    	case "int16":
    		ans = int64(int16(ans))
    	case "int8":
    		ans = int64(int8(ans))
    	}
    	return fmt.Sprintf("%d", ans)
    }
    
    func main() {
    	w := new(bytes.Buffer)
    	fmt.Fprintf(w, "// run\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  2. src/reflect/swapper.go

    			is := *(*[]int16)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		case 1:
    			is := *(*[]int8)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		}
    	}
    
    	s := (*unsafeheader.Slice)(v.ptr)
    	tmp := unsafe_New(typ) // swap scratch space
    
    	return func(i, j int) {
    		if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
    			panic("reflect: slice index out of range")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. src/internal/reflectlite/swapper.go

    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		case 1:
    			is := *(*[]int8)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		}
    	}
    
    	s := (*unsafeheader.Slice)(v.ptr)
    	tmp := unsafe_New(typ) // swap scratch space
    
    	return func(i, j int) {
    		if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
    			panic("reflect: slice index out of range")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/valuefuzz.go

    			obj.SetString(obj.String() + "x")
    		case reflect.Bool:
    			obj.SetBool(!obj.Bool())
    		case reflect.Float32, reflect.Float64:
    			obj.SetFloat(obj.Float()*2.0 + 1.0)
    		case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
    			obj.SetInt(obj.Int() + 1)
    		case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint:
    			obj.SetUint(obj.Uint() + 1)
    		default:
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/op.go

    func archRegForAbiReg(r abi.RegIndex, c *Config) uint8 {
    	var m int8
    	if int(r) < len(c.intParamRegs) {
    		m = c.intParamRegs[r]
    	} else {
    		m = c.floatParamRegs[int(r)-len(c.intParamRegs)]
    	}
    	return uint8(m)
    }
    
    // For ABI register index r, returns the register number used in the obj
    // package (assembler).
    func ObjRegForAbiReg(r abi.RegIndex, c *Config) int16 {
    	m := archRegForAbiReg(r, c)
    	return c.registers[m].objNum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/value.go

    	}
    	return fmt.Sprintf("v%d", v.ID)
    }
    
    func (v *Value) AuxInt8() int8 {
    	if opcodeTable[v.Op].auxType != auxInt8 && opcodeTable[v.Op].auxType != auxNameOffsetInt8 {
    		v.Fatalf("op %s doesn't have an int8 aux field", v.Op)
    	}
    	return int8(v.AuxInt)
    }
    
    func (v *Value) AuxUInt8() uint8 {
    	if opcodeTable[v.Op].auxType != auxUInt8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/crypto/sha1/sha1.go

    func New() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA1()
    	}
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int { return Size }
    
    func (d *digest) BlockSize() int { return BlockSize }
    
    func (d *digest) Write(p []byte) (nn int, err error) {
    	boring.Unreachable()
    	nn = len(p)
    	d.len += uint64(nn)
    	if d.nx > 0 {
    		n := copy(d.x[d.nx:], p)
    		d.nx += n
    		if d.nx == chunk {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. test/fuse.go

    func fEqPtrEqPtr(a, b *int, f float64) bool {
    	return a == b && f > Cf2 || a == b && f < -Cf2 // ERROR "Redirect EqPtr based on EqPtr$"
    }
    
    func fEqPtrNeqPtr(a, b *int, f float64) bool {
    	return a == b && f > Cf2 || a != b && f < -Cf2 // ERROR "Redirect NeqPtr based on EqPtr$"
    }
    
    func fNeqPtrEqPtr(a, b *int, f float64) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. security/pkg/pki/testdata/multilevelpki/int-cert-chain.pem

    Oliver Liu <******@****.***> 1520311744 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 3.9K bytes
    - Viewed (0)
Back to top