Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 567 for uint24 (0.07 sec)

  1. cmd/bucket-replication-handlers.go

    				ReplicationValidityCheck: true, // set this to validate the replication config
    			},
    		}
    		obj := path.Join(minioReservedBucket, globalLocalNodeNameHex, "deleteme")
    		ui, err := c.PutObject(ctx, clnt.Bucket, obj, reader, int64(len(buf)), "", "", putOpts)
    		if err != nil && !isReplicationPermissionCheck(ErrorRespToObjectError(err, bucket, obj)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. statement.go

    		default:
    			switch rv := reflect.ValueOf(v); rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				if rv.Len() == 0 {
    					writer.WriteString("(NULL)")
    				} else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) {
    					stmt.Vars = append(stmt.Vars, v)
    					stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    				} else {
    					writer.WriteByte('(')
    					for i := 0; i < rv.Len(); i++ {
    						if i > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. tests/associations_has_many_test.go

    	AssertAssociationCount(t, users, "Toys", 0, "After Clear")
    }
    
    func TestHasManyAssociationUnscoped(t *testing.T) {
    	type ItemContent struct {
    		gorm.Model
    		ItemID       uint   `gorm:"not null"`
    		Name         string `gorm:"not null;type:varchar(50)"`
    		LanguageCode string `gorm:"not null;type:varchar(2)"`
    	}
    	type Item struct {
    		gorm.Model
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Crc32cHashFunction.java

         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
         * crc3 = int3
         *
         * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first int
         * gives us the desired result.  computeForWord(0) == 0, so all the others do the right thing.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    			s.end -= s.start
    			s.start = 0
    		}
    		// Is the buffer full? If so, resize.
    		if s.end == len(s.buf) {
    			// Guarantee no overflow in the multiplication below.
    			const maxInt = int(^uint(0) >> 1)
    			if len(s.buf) >= s.maxTokenSize || len(s.buf) > maxInt/2 {
    				s.setErr(ErrTooLong)
    				return false
    			}
    			newSize := len(s.buf) * 2
    			if newSize == 0 {
    				newSize = startBufSize
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. cmd/notification.go

    	if len(sys.peerClients) == 0 {
    		return nil
    	}
    	peerClients := sys.allPeerClients
    	if len(peerClients) == 0 {
    		return nil
    	}
    	idx := xxhash.Sum64String(s) % uint64(len(peerClients))
    	return peerClients[idx]
    }
    
    // GetPeerOnlineCount gets the count of online and offline nodes.
    func (sys *NotificationSys) GetPeerOnlineCount() (nodesOnline, nodesOffline int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sync/errgroup"
    	"golang.org/x/exp/slices"
    )
    
    //go:generate stringer -type=healingMetric -trimprefix=healingMetric $GOFILE
    
    type healingMetric uint8
    
    const (
    	healingMetricBucket healingMetric = iota
    	healingMetricObject
    	healingMetricCheckAbandonedParts
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    # C references to Go
    
    Go functions can be exported for use by C code in the following way:
    
    	//export MyFunction
    	func MyFunction(arg1, arg2 int, arg3 string) int64 {...}
    
    	//export MyFunction2
    	func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...}
    
    They will be available in the C code as:
    
    	extern GoInt64 MyFunction(int arg1, int arg2, GoString arg3);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top