Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 205 for qint32 (0.24 sec)

  1. tests/migrate_test.go

    func TestMigrateSerialColumn(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		return
    	}
    
    	type Event struct {
    		ID  uint `gorm:"primarykey"`
    		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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    }
    
    // WriteRune writes a single Unicode code point, returning
    // the number of bytes written and any error.
    func (b *Writer) WriteRune(r rune) (size int, err error) {
    	// Compare as uint32 to correctly handle negative runes.
    	if uint32(r) < utf8.RuneSelf {
    		err = b.WriteByte(byte(r))
    		if err != nil {
    			return 0, err
    		}
    		return 1, nil
    	}
    	if b.err != nil {
    		return 0, b.err
    	}
    	n := b.Available()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	globalReplicationStats atomic.Pointer[ReplicationStats]
    )
    
    // ReplicationPool describes replication pool
    type ReplicationPool struct {
    	// atomic ops:
    	activeWorkers    int32
    	activeLrgWorkers int32
    	activeMRFWorkers int32
    
    	objLayer    ObjectLayer
    	ctx         context.Context
    	priority    string
    	maxWorkers  int
    	maxLWorkers int
    	stats       *ReplicationStats
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg syscall (linux-386), type TCPInfo struct, Rtt uint32
    pkg syscall (linux-386), type TCPInfo struct, Rttvar uint32
    pkg syscall (linux-386), type TCPInfo struct, Sacked uint32
    pkg syscall (linux-386), type TCPInfo struct, Snd_cwnd uint32
    pkg syscall (linux-386), type TCPInfo struct, Snd_mss uint32
    pkg syscall (linux-386), type TCPInfo struct, Snd_ssthresh uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

      // will be blocked till the copy completes. This is the default placement
      // policy.
      TFE_DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
      TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    } TFE_ContextDevicePlacementPolicy;
    // LINT.ThenChange(//tensorflow/c/eager/immediate_execution_context.h)
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  6. doc/go_spec.html

    var i = 1&lt;&lt;s                   // 1 has type int
    var j int32 = 1&lt;&lt;s             // 1 has type int32; j == 0
    var k = uint64(1&lt;&lt;s)           // 1 has type uint64; k == 1&lt;&lt;33
    var m int = 1.0&lt;&lt;s             // 1.0 has type int; m == 1&lt;&lt;33
    var n = 1.0&lt;&lt;s == j            // 1.0 has type int32; n == true
    var o = 1&lt;&lt;s == 2&lt;&lt;s           // 1 and 2 have type int; o == false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  7. internal/hash/checksum.go

    // MinIOMultipartChecksum is as metadata on multipart uploads to indicate checksum type.
    const MinIOMultipartChecksum = "x-minio-multipart-checksum"
    
    // ChecksumType contains information about the checksum type.
    type ChecksumType uint32
    
    const (
    
    	// ChecksumTrailing indicates the checksum will be sent in the trailing header.
    	// Another checksum type will be set.
    	ChecksumTrailing ChecksumType = 1 << iota
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. internal/logger/target/http/http.go

    // buffer is full, new logs are just ignored and an error
    // is returned to the caller.
    type Target struct {
    	totalMessages  atomic.Int64
    	failedMessages atomic.Int64
    	status         atomic.Int32
    
    	// Worker control
    	workers    atomic.Int64
    	maxWorkers int64
    
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    				} else {
    					write([]byte{0})
    				}
    				xioutil.SafeClose(doneCh)
    				return
    			case block := <-blockCh:
    				var tmp [5]byte
    				tmp[0] = 2
    				binary.LittleEndian.PutUint32(tmp[1:], uint32(len(block)))
    				write(tmp[:])
    				write(block)
    				if canWrite {
    					w.(http.Flusher).Flush()
    				}
    			}
    		}
    	}()
    	return &h
    }
    
    var poolBuf8k = sync.Pool{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		}
    		copy(objectEncryptionKey[:], key)
    
    		var nonce [12]byte
    		tmp := sha256.Sum256([]byte(fmt.Sprint(uploadID, partID)))
    		copy(nonce[:], tmp[:12])
    
    		partEncryptionKey := objectEncryptionKey.DerivePartKey(uint32(partID))
    		encReader, err := sio.EncryptReader(reader, sio.Config{
    			Key:          partEncryptionKey[:],
    			CipherSuites: fips.DARECiphers(),
    			Nonce:        &nonce,
    		})
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top