Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 251 for quint8 (0.16 sec)

  1. logger/sql.go

    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/reflect/iter_test.go

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

    			if src, ok := c.LocalAddr().(*UDPAddr); ok {
    				srcs[i], _ = netip.AddrFromSlice(src.IP)
    			}
    			c.Close()
    		}
    	}
    	return srcs
    }
    
    type ipAttr struct {
    	Scope      scope
    	Precedence uint8
    	Label      uint8
    }
    
    func ipAttrOf(ip netip.Addr) ipAttr {
    	if !ip.IsValid() {
    		return ipAttr{}
    	}
    	match := rfc6724policyTable.Classify(ip)
    	return ipAttr{
    		Scope:      classifyScope(ip),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/os/path_plan9.go

    const (
    	PathSeparator     = '/'    // OS-specific path separator
    	PathListSeparator = '\000' // OS-specific path list separator
    )
    
    // IsPathSeparator reports whether c is a directory separator character.
    func IsPathSeparator(c uint8) bool {
    	return PathSeparator == c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 443 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_hurd_386.go

    )
    
    type Winsize struct {
    	Row    uint16
    	Col    uint16
    	Xpixel uint16
    	Ypixel uint16
    }
    
    type Termios struct {
    	Iflag  uint32
    	Oflag  uint32
    	Cflag  uint32
    	Lflag  uint32
    	Cc     [20]uint8
    	Ispeed int32
    	Ospeed int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 447 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert_tf_quant_ops_to_mhlo.mlir

    // RUN: stablehlo-quant-opt %s -quant-convert-tf-quant-ops-to-mhlo | FileCheck %s
    
    // CHECK-LABEL: func @quantized_matmul_fn
    func.func @quantized_matmul_fn(%input: tensor<?x?xf32>) -> tensor<?x?xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/crypto/rand/util.go

    	}
    
    	randutil.MaybeReadByte(rand)
    
    	b := uint(bits % 8)
    	if b == 0 {
    		b = 8
    	}
    
    	bytes := make([]byte, (bits+7)/8)
    	p := new(big.Int)
    
    	for {
    		if _, err := io.ReadFull(rand, bytes); err != nil {
    			return nil, err
    		}
    
    		// Clear bits in the first byte to make sure the candidate has a size <= bits.
    		bytes[0] &= uint8(int(1<<b) - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. cmd/batchjobmetric_string.go

    	_ = x[batchJobMetricReplication-0]
    	_ = x[batchJobMetricKeyRotation-1]
    	_ = x[batchJobMetricExpire-2]
    }
    
    const _batchJobMetric_name = "ReplicationKeyRotationExpire"
    
    var _batchJobMetric_index = [...]uint8{0, 11, 22, 28}
    
    func (i batchJobMetric) String() string {
    	if i >= batchJobMetric(len(_batchJobMetric_index)-1) {
    		return "batchJobMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 797 bytes
    - Viewed (0)
  9. cmd/object-api-interface_gen.go

    func (z WalkVersionsSortOrder) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *WalkVersionsSortOrder) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint8
    		zb0001, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/syscall/route_bsd.go

    type RoutingMessage interface {
    	sockaddr() ([]Sockaddr, error)
    }
    
    const anyMessageLen = int(unsafe.Sizeof(anyMessage{}))
    
    type anyMessage struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    }
    
    // RouteMessage represents a routing message containing routing
    // entries.
    //
    // Deprecated: Use golang.org/x/net/route instead.
    type RouteMessage struct {
    	Header RtMsghdr
    	Data   []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top