Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 13 (0.11 sec)

  1. internal/s3select/genmessage.go

    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    )
    
    func genRecordsHeader() {
    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 5})
    	buf.WriteString("event")
    
    	buf.WriteByte(13)
    	buf.WriteString(":content-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 24})
    	buf.WriteString("application/octet-stream")
    
    	buf.WriteByte(11)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. internal/grid/debugmsg_string.go

    }
    
    const _debugMsg_name = "debugShutdowndebugKillInbounddebugKillOutbounddebugWaitForExitdebugSetConnPingDurationdebugSetClientPingDurationdebugAddToDeadlinedebugIsOutgoingClosed"
    
    var _debugMsg_index = [...]uint8{0, 13, 29, 46, 62, 86, 112, 130, 151}
    
    func (i debugMsg) String() string {
    	if i < 0 || i >= debugMsg(len(_debugMsg_index)-1) {
    		return "debugMsg(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 16:43:38 GMT 2024
    - 993 bytes
    - Viewed (0)
  3. cmd/erasure-sets_test.go

    		{"The Shining Script <v1>.pdf", objs[14]},
    		{"Cost Benefit Analysis (2009-2010).pptx", objs[13]},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", objs[1]},
    		{"SHØRT", objs[9]},
    		{"There are far too many object names, and far too few bucket names!", objs[13]},
    		{"a/b/c/", objs[1]},
    		{"/a/b/c", objs[4]},
    		{string([]byte{0xff, 0xfe, 0xfd}), objs[13]},
    	}
    
    	// Tests hashing order to be consistent.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/stserrorcode_string.go

    	_ = x[ErrSTSInsecureConnection-8]
    	_ = x[ErrSTSInvalidClientCertificate-9]
    	_ = x[ErrSTSNotInitialized-10]
    	_ = x[ErrSTSIAMNotInitialized-11]
    	_ = x[ErrSTSUpstreamError-12]
    	_ = x[ErrSTSInternalError-13]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 03 20:24:25 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. cmd/osmetric_string.go

    	_ = x[osMetricOpenFileWFd-6]
    	_ = x[osMetricOpenFileRFd-7]
    	_ = x[osMetricOpen-8]
    	_ = x[osMetricOpenFileDirectIO-9]
    	_ = x[osMetricLstat-10]
    	_ = x[osMetricRemove-11]
    	_ = x[osMetricStat-12]
    	_ = x[osMetricAccess-13]
    	_ = x[osMetricCreate-14]
    	_ = x[osMetricReadDirent-15]
    	_ = x[osMetricFdatasync-16]
    	_ = x[osMetricSync-17]
    	_ = x[osMetricLast-18]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. utils/utils.go

    	if filepath.Base(s) != "gorm.io" {
    		s = dir
    	}
    	return filepath.ToSlash(s) + "/"
    }
    
    // FileWithLineNum return the file name and line number of the current file
    func FileWithLineNum() string {
    	pcs := [13]uintptr{}
    	// the third caller usually from gorm internal
    	len := runtime.Callers(3, pcs[:])
    	frames := runtime.CallersFrames(pcs[:len])
    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_test.go

    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_1024_B_AND_64_KB": 1,
    				"BETWEEN_64_KB_AND_256_KB": 1,
    				"BETWEEN_1024B_AND_1_MB":   2,
    				"BETWEEN_10_MB_AND_64_MB":  1,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. cmd/storagemetric_string.go

    	_ = x[storageMetricAppendFile-8]
    	_ = x[storageMetricCreateFile-9]
    	_ = x[storageMetricReadFileStream-10]
    	_ = x[storageMetricRenameFile-11]
    	_ = x[storageMetricRenameData-12]
    	_ = x[storageMetricCheckParts-13]
    	_ = x[storageMetricDelete-14]
    	_ = x[storageMetricDeleteVersions-15]
    	_ = x[storageMetricVerifyFile-16]
    	_ = x[storageMetricWriteAll-17]
    	_ = x[storageMetricDeleteVersion-18]
    	_ = x[storageMetricWriteMetadata-19]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 01 20:10:54 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. internal/grid/handlers_string.go

    	_ = x[HandlerLockForceUnlock-6]
    	_ = x[HandlerWalkDir-7]
    	_ = x[HandlerStatVol-8]
    	_ = x[HandlerDiskInfo-9]
    	_ = x[HandlerNSScanner-10]
    	_ = x[HandlerReadXL-11]
    	_ = x[HandlerReadVersion-12]
    	_ = x[HandlerDeleteFile-13]
    	_ = x[HandlerDeleteVersion-14]
    	_ = x[HandlerUpdateMetadata-15]
    	_ = x[HandlerWriteMetadata-16]
    	_ = x[HandlerCheckParts-17]
    	_ = x[HandlerRenameData-18]
    	_ = x[HandlerRenameFile-19]
    	_ = x[HandlerReadAll-20]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. internal/disk/stat_linux.go

    	}
    	// as per the doc, only 11 fields are guaranteed
    	// only set if available
    	if len(stats) > 14 {
    		iostats.DiscardIOs = stats[11]
    		iostats.DiscardMerges = stats[12]
    		iostats.DiscardSectors = stats[13]
    		iostats.DiscardTicks = stats[14]
    	}
    	return
    }
    
    func readStat(fileName string) (stats []uint64, err error) {
    	file, err := os.Open(fileName)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top