Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,782 for Const8 (0.1 sec)

  1. src/cmd/compile/internal/ir/const.go

    	}
    
    	return NewBasicLit(pos, typ, val)
    }
    
    var (
    	intOne     = constant.MakeInt64(1)
    	floatOne   = constant.ToFloat(intOne)
    	complexOne = constant.ToComplex(intOne)
    )
    
    const (
    	// Maximum size in bits for big.Ints before signaling
    	// overflow and also mantissa precision for big.Floats.
    	ConstPrec = 512
    )
    
    func BigFloat(v constant.Value) *big.Float {
    	f := new(big.Float)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/const.go

    Matthew Dempsky <******@****.***> 1696458169 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. src/go/types/const.go

    			case Int:
    				var s = uint(sizeof(typ)) * 8
    				return int64(-1)<<(s-1) <= x && x <= int64(1)<<(s-1)-1
    			case Int8:
    				const s = 8
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int16:
    				const s = 16
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int32:
    				const s = 32
    				return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    			case Int64, UntypedInt:
    				return true
    			case Uint, Uintptr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/math/const.go

    // Package math provides basic constants and mathematical functions.
    //
    // This package does not guarantee bit-identical results across architectures.
    package math
    
    // Mathematical constants.
    const (
    	E   = 2.71828182845904523536028747135266249775724709369995957496696763 // https://oeis.org/A001113
    	Pi  = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/crypto/des/const.go

    Brad Fitzpatrick <******@****.***> 1493866163 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 12:31:18 UTC 2017
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteWasm.go

    	for {
    		c := auxIntToInt32(v.AuxInt)
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(int64(c))
    		return true
    	}
    }
    func rewriteValueWasm_OpConst8(v *Value) bool {
    	// match: (Const8 [c])
    	// result: (I64Const [int64(c)])
    	for {
    		c := auxIntToInt8(v.AuxInt)
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(int64(c))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt

              }
            }
            int_val: 0
          }
        }
      }
      experimental_debug_info {
      }
    }
    node {
      name: "tf.Const1"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_INT32
            tensor_shape {
            }
            int_val: 0
          }
        }
      }
      experimental_debug_info {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue39680.go

    /*
    import "fmt"
    
    // Minimal test case.
    func _[T interface{~T}](x T) T{
    	return x
    }
    
    // Test case from issue.
    type constr[T any] interface {
    	~T
    }
    
    func Print[T constr[T]](s []T) {
    	for _, v := range s {
    		fmt.Print(v)
    	}
    }
    
    func f() {
    	Print([]string{"Hello, ", "playground\n"})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 533 bytes
    - Viewed (0)
  9. src/go/doc/testdata/template.txt

    {{synopsis .Doc}}
    PACKAGE {{.Name}}
    
    IMPORTPATH
    	{{.ImportPath}}
    
    {{with .Imports}}IMPORTS
    {{range .}}	{{.}}
    {{end}}
    {{end}}{{/*
    
    */}}FILENAMES
    {{range .Filenames}}	{{.}}
    {{end}}{{/*
    
    */}}{{with .Consts}}
    CONSTANTS
    {{range .}}	{{synopsis .Doc}}
    	{{node .Decl $.FSet}}
    
    {{end}}{{end}}{{/*
    
    */}}{{with .Vars}}
    VARIABLES
    {{range .}}	{{synopsis .Doc}}
    	{{node .Decl $.FSet}}
    
    {{end}}{{end}}{{/*
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt

    node {
      name: "Quantized_Constant"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_QUINT8
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_QUINT8
            tensor_shape {
            }
            int_val: 7
          }
        }
      }
    }
    library {
    }
    versions {
      producer: 70
    }
    
    # CHECK: tf.Const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 05 09:05:10 UTC 2022
    - 639 bytes
    - Viewed (0)
Back to top