Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PutUint64 (0.23 sec)

  1. docs/debugging/xattr/main.go

    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    func setxattr(path, name string, value uint64) error {
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, value)
    	return xattr.LSet(path, name, data)
    }
    
    func main() {
    	flag.StringVar(&path, "path", "", "path name where the attribute shall be applied")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	*b = (*b)[2:]
    }
    
    func (b *writeBuf) uint32(v uint32) {
    	binary.LittleEndian.PutUint32(*b, v)
    	*b = (*b)[4:]
    }
    
    func (b *writeBuf) uint64(v uint64) {
    	binary.LittleEndian.PutUint64(*b, v)
    	*b = (*b)[8:]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    	case f.Header.Length <= len16:
    		bts[1] = 126
    		binary.BigEndian.PutUint16(bts[2:4], uint16(f.Header.Length))
    		n = 4
    
    	case f.Header.Length <= len64:
    		bts[1] = 127
    		binary.BigEndian.PutUint64(bts[2:10], uint64(f.Header.Length))
    		n = 10
    
    	default:
    		return ws.ErrHeaderLengthUnexpected
    	}
    
    	if f.Header.Masked {
    		bts[1] |= bit0
    		n += copy(bts[n:], f.Header.Mask[:])
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	attr := "user.total_deletes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, deleteCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    func (s *xlStorage) setWriteAttribute(writeCount uint64) error {
    	attr := "user.total_writes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, writeCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    				}
    				globalScannerMetrics.setCycle(&cycleInfo)
    				tmp := make([]byte, 8, 8+cycleInfo.Msgsize())
    				// Cycle for backward compat.
    				binary.LittleEndian.PutUint64(tmp, cycleInfo.next)
    				tmp, _ = cycleInfo.MarshalMsg(tmp)
    				err = saveConfig(ctx, objAPI, dataUsageBloomNamePath, tmp)
    				scannerLogIf(ctx, err, dataUsageBloomNamePath)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg encoding/binary, type ByteOrder interface { PutUint16, PutUint32, PutUint64, String, Uint16, Uint32, Uint64 }
    pkg encoding/binary, type ByteOrder interface, PutUint16([]uint8, uint16)
    pkg encoding/binary, type ByteOrder interface, PutUint32([]uint8, uint32)
    pkg encoding/binary, type ByteOrder interface, PutUint64([]uint8, uint64)
    pkg encoding/binary, type ByteOrder interface, String() string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top