Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for Uint16 (0.24 sec)

  1. internal/grid/handlers.go

    	bootstrapPrefix = "bootstrap"
    	peerPrefix      = "peer"
    	peerPrefixS3    = "peerS3"
    	healPrefix      = "heal"
    )
    
    func init() {
    	// Static check if we exceed 255 handler ids.
    	// Extend the type to uint16 when hit.
    	if handlerLast > 255 {
    		panic(fmt.Sprintf("out of handler IDs. %d > %d", handlerLast, 255))
    	}
    }
    
    func (h HandlerID) valid() bool {
    	return h != handlerInvalid && h < handlerLast
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    		UID uint32
    	}
    
    	type Event1 struct {
    		ID  uint   `gorm:"primarykey"`
    		UID uint32 `gorm:"not null;autoIncrement"`
    	}
    
    	type Event2 struct {
    		ID  uint   `gorm:"primarykey"`
    		UID uint16 `gorm:"not null;autoIncrement"`
    	}
    
    	var err error
    	err = DB.Migrator().DropTable(&Event{})
    	if err != nil {
    		t.Errorf("DropTable err:%v", err)
    	}
    
    	// create sequence
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case siteResyncMetaFormat:
    	default:
    		return rs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case siteResyncMetaVersion:
    	default:
    		return rs, fmt.Errorf("resyncMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    	// OK, parse data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_BFLOAT16, static_cast<TF_DataType>(tensorflow::DT_BFLOAT16));
      EXPECT_EQ(TF_QINT16, static_cast<TF_DataType>(tensorflow::DT_QINT16));
      EXPECT_EQ(TF_QUINT16, static_cast<TF_DataType>(tensorflow::DT_QUINT16));
      EXPECT_EQ(TF_UINT16, static_cast<TF_DataType>(tensorflow::DT_UINT16));
      EXPECT_EQ(TF_COMPLEX128, static_cast<TF_DataType>(tensorflow::DT_COMPLEX128));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. cmd/data-usage-cache_gen.go

    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *dataUsageEntry) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(10)
    	var zb0001Mask uint16 /* 10 bits */
    	_ = zb0001Mask
    	if z.ReplicationStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x80
    	}
    	if z.AllTierStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x100
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    <pre class="grammar">
    uint8       the set of all unsigned  8-bit integers (0 to 255)
    uint16      the set of all unsigned 16-bit integers (0 to 65535)
    uint32      the set of all unsigned 32-bit integers (0 to 4294967295)
    uint64      the set of all unsigned 64-bit integers (0 to 18446744073709551615)
    
    int8        the set of all signed  8-bit integers (-128 to 127)
    int16       the set of all signed 16-bit integers (-32768 to 32767)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    <pre class="grammar">
    uint8       the set of all unsigned  8-bit integers (0 to 255)
    uint16      the set of all unsigned 16-bit integers (0 to 65535)
    uint32      the set of all unsigned 32-bit integers (0 to 4294967295)
    uint64      the set of all unsigned 64-bit integers (0 to 18446744073709551615)
    
    int8        the set of all signed  8-bit integers (-128 to 127)
    int16       the set of all signed 16-bit integers (-32768 to 32767)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

        case DT_DOUBLE:
        case DT_COMPLEX64:
        case DT_COMPLEX128:
        case DT_RESOURCE:
        case DT_VARIANT:
          return true;
        case DT_QINT8:
        case DT_QINT16:
        case DT_QINT32:
        case DT_QUINT8:
        case DT_QUINT16:
          return tensorflow::flags::Global()
              .enable_quantized_dtypes_training.value();
        default:
          return false;
      }
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. RELEASE.md

        *   Added 16-bit and 32-bit int support for the built-in op `bitcast`.
        *   Added 8-bit/16-bit/32-bit int/uint support for the built-in op `bitwise_xor`
        *   Added int16 indices support for built-in op `gather` and `gather_nd`.
        *   Added 8-bit/16-bit/32-bit int/uint support for the built-in op `right_shift`
        *   Added reference implementation for 16-bit int unquantized `add`.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top