Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for Int8 (0.03 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    type Symbol struct {
    	Name    string
    	Kind    Kind
    	Version Version // Go version that first included the symbol
    }
    
    // A Kind indicates the kind of a symbol:
    // function, variable, constant, type, and so on.
    type Kind int8
    
    const (
    	Invalid Kind = iota // Example name:
    	Type                // "Buffer"
    	Func                // "Println"
    	Var                 // "EOF"
    	Const               // "Pi"
    	Field               // "Point.X"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/common.go

    package language
    
    // This file contains code common to the maketables.go and the package code.
    
    // AliasType is the type of an alias in AliasMap.
    type AliasType int8
    
    const (
    	Deprecated AliasType = iota
    	Macro
    	Legacy
    
    	AliasTypeUnknown AliasType = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 334 bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue49705.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type Integer interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    func shl[I Integer](n int) I {
    	return 1 << n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 347 bytes
    - Viewed (0)
  4. 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)
  5. test/typeparam/list.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    )
    
    type Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    // _List is a linked list of ordered values of type T.
    type _List[T Ordered] struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/c/kernels/ops/bitcast.cc

          "T: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
      TF_OpDefinitionBuilderAddAttr(
          op_builder,
          "type: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.h

    //
    // Specifically, it combines the following concerns, each of which would be
    // independent variables in a more generic setup:
    //   - numBits and isSigned imply storage data type (uint8, int8, int16)
    //   - numBits < 8 is promoted to uint8 or int8
    //   - "narrow_range" narrows the lower bound of the storage type's range by
    //     1
    //   - the specified min/max values are "nudged" so that the result has a zero
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        attrs=[
            'stride_w: int', 'stride_h: int', 'dilation_w: int', 'dilation_h: int',
            'padding: {"SAME", "VALID"}', 'act: {"", "RELU", "RELU6", "TANH"} = ""'
        ],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_conv_add_relu(input_, filter_, bias, stride_w, stride_h,
                                 dilation_w, dilation_h, padding, act):
      res = tf.raw_ops.Conv2D(
          input=input_,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. src/encoding/gob/decgen.go

    			error_(ovfl)
    		}
    		slice[i] = int32(x)`,
    	},
    	{
    		"int64",
    		"Int64",
    		`slice[i] = state.decodeInt()`,
    	},
    	{
    		"int8",
    		"Int8",
    		`x := state.decodeInt()
    		if x < math.MinInt8 || math.MaxInt8 < x {
    			error_(ovfl)
    		}
    		slice[i] = int8(x)`,
    	},
    	{
    		"string",
    		"String",
    		`u := state.decodeUint()
    		n := int(u)
    		if n < 0 || uint64(n) != u || n > state.b.Len() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !unix && !windows
    
    package filelock
    
    import (
    	"errors"
    	"io/fs"
    )
    
    type lockType int8
    
    const (
    	readLock = iota + 1
    	writeLock
    )
    
    func lock(f File, lt lockType) error {
    	return &fs.PathError{
    		Op:   lt.String(),
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 563 bytes
    - Viewed (0)
Back to top