Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 320 for append (0.16 sec)

  1. internal/grid/msg.go

    	if m.MuxID != 0 {
    		res = append(res, fmt.Sprintf("MuxID: %v", m.MuxID))
    	}
    	if m.Seq != 0 {
    		res = append(res, fmt.Sprintf("Seq: %v", m.Seq))
    	}
    	if m.DeadlineMS != 0 {
    		res = append(res, fmt.Sprintf("Deadline: %vms", m.DeadlineMS))
    	}
    	if m.Handler != handlerInvalid {
    		res = append(res, fmt.Sprintf("Handler: %v", m.Handler))
    	}
    	if m.Op != 0 {
    		res = append(res, fmt.Sprintf("Op: %v", m.Op))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. cmd/tier-journal_gen.go

    	o = append(o, 0x83, 0xa3, 0x6f, 0x62, 0x6a)
    	o = msgp.AppendString(o, z.ObjName)
    	// string "vid"
    	o = append(o, 0xa3, 0x76, 0x69, 0x64)
    	o = msgp.AppendString(o, z.VersionID)
    	// string "tier"
    	o = append(o, 0xa4, 0x74, 0x69, 0x65, 0x72)
    	o = msgp.AppendString(o, z.TierName)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *jentry) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jun 03 21:26:51 GMT 2021
    - 6.1K bytes
    - Viewed (0)
  3. cmd/local-locker_gen.go

    	// map header, size 9
    	// string "Name"
    	o = append(o, 0x89, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	o = msgp.AppendString(o, z.Name)
    	// string "Writer"
    	o = append(o, 0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72)
    	o = msgp.AppendBool(o, z.Writer)
    	// string "UID"
    	o = append(o, 0xa3, 0x55, 0x49, 0x44)
    	o = msgp.AppendString(o, z.UID)
    	// string "Timestamp"
    	o = append(o, 0xa9, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    	// string "v"
    	o = append(o, 0xa1, 0x76)
    	o = msgp.AppendString(o, z.Volume)
    	// string "ov"
    	o = append(o, 0xa2, 0x6f, 0x76)
    	o = msgp.AppendString(o, z.OrigVolume)
    	// string "fp"
    	o = append(o, 0xa2, 0x66, 0x70)
    	o = msgp.AppendString(o, z.FilePath)
    	// string "uo"
    	o = append(o, 0xa2, 0x75, 0x6f)
    	// map header, size 1
    	// string "np"
    	o = append(o, 0x81, 0xa2, 0x6e, 0x70)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    			// Same, discard one.
    			merged = append(merged, a[0])
    			a = a[1:]
    			b = b[1:]
    		case a[0].name < b[0].name:
    			merged = append(merged, a[0])
    			a = a[1:]
    		default:
    			merged = append(merged, b[0])
    			b = b[1:]
    		}
    		if limit > 0 && len(merged) >= limit {
    			break
    		}
    	}
    	// Append anything left.
    	if limit < 0 || len(merged) < limit {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. internal/logger/reqinfo.go

    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    // GetTags - returns the user defined tags
    func (r *ReqInfo) GetTags() []KeyVal {
    	if r == nil {
    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	return append(make([]KeyVal, 0, len(r.tags)), r.tags...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. cmd/site-replication-utils_gen.go

    	// string "v"
    	o = append(o, 0x86, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	// string "ss"
    	o = append(o, 0xa2, 0x73, 0x73)
    	o, err = z.Status.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "Status")
    		return
    	}
    	// string "did"
    	o = append(o, 0xa3, 0x64, 0x69, 0x64)
    	o = msgp.AppendString(o, z.DeplID)
    	// string "bkts"
    	o = append(o, 0xa4, 0x62, 0x6b, 0x74, 0x73)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 14 15:16:40 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    			p.storage.setWriteAttribute(p.totalWrites.Add(1))
    		}
    		done(&err)
    	}()
    
    	// Copy inline data to a new buffer to function with deadlines.
    	if len(fi.Data) > 0 {
    		fi.Data = append(grid.GetByteBufferCap(len(fi.Data))[:0], fi.Data...)
    	}
    	return xioutil.WithDeadline[RenameDataResp](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (res RenameDataResp, err error) {
    		if len(fi.Data) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. internal/event/target/kafka.go

    	config.Metadata.Retry.Backoff = (1 * time.Second)
    	config.Metadata.RefreshFrequency = (15 * time.Minute)
    
    	target.config = config
    
    	brokers := []string{}
    	for _, broker := range args.Brokers {
    		brokers = append(brokers, broker.String())
    	}
    
    	client, err := sarama.NewClient(brokers, config)
    	if err != nil {
    		if !errors.Is(err, sarama.ErrOutOfBrokers) {
    			target.loggerOnce(context.Background(), err, target.ID().String())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    					Err:              errStr,
    				})
    
    				totalUploadTimes = append(totalUploadTimes, throughputHighestResults[i].UploadTimes...)
    				totalDownloadTimes = append(totalDownloadTimes, throughputHighestResults[i].DownloadTimes...)
    				totalDownloadTTFB = append(totalDownloadTTFB, throughputHighestResults[i].DownloadTTFB...)
    			}
    
    			result.PUTStats.Response = totalUploadTimes.Measure()
    			result.GETStats.Response = totalDownloadTimes.Measure()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top