- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,280 for Byte (0.06 sec)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
return buf.length - index; } public byte[] getBuffer() { return buf; } public int align(int boundary, byte value) { int n = align(boundary); int i = n; while (i > 0) { buf[index - i] = value; i--; } return n; } public void writeOctetArray(byte[] b, int i, int l) { System.arraycopy(b, i, buf, index, l);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
indices := []int{ bytes.Index(buf.Bytes(), []byte("bar=bar")), bytes.Index(buf.Bytes(), []byte("baz=baz")), bytes.Index(buf.Bytes(), []byte("foo=foo")), bytes.Index(buf.Bytes(), []byte("qux=qux")), } if !slices.IsSorted(indices) { t.Fatal("PAX headers are not sorted") } } func TestUSTARLongName(t *testing.T) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
cmd/erasure-decode.go
shardSize int64 shardFileSize int64 buf [][]byte readerToBuf []int stashBuffer []byte } // newParallelReader returns parallelReader. func newParallelReader(readers []io.ReaderAt, e Erasure, offset, totalLength int64) *parallelReader { r2b := make([]int, len(readers)) for i := range r2b { r2b[i] = i } bufs := make([][]byte, len(readers)) shardSize := int(e.ShardSize()) var b []byte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/os_unix.go
// By default at least 128 entries in single getdents call (1MiB buffer) var ( direntPool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize*128) return &buf }, } direntNamePool = sync.Pool{ New: func() interface{} { buf := make([]byte, blockSize) return &buf }, } ) // unexpectedFileMode is a sentinel (and bogus) os.FileMode
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
} public long getSize() { return fileSize; } int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { return 0; } int writeBytesWireFormat( byte[] dst, int dstIndex ) { return 0; } int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { if( wordCount == 0 ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.6K bytes - Viewed (0) -
cmd/signature-v4.go
stringToSign += scope + "\n" canonicalRequestBytes := sha256.Sum256([]byte(canonicalRequest)) stringToSign += hex.EncodeToString(canonicalRequestBytes[:]) return stringToSign } // getSigningKey hmac seed to calculate final signature. func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte { date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd))) regionBytes := sumHMAC(date, []byte(region))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/batch-replicate_gen.go
} // MarshalMsg implements msgp.Marshaler func (z BatchJobReplicateResourceType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchJobReplicateResourceType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 40.7K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
h := [3]uintptr{x[0], x[1], x[1]} buf := *(*[]byte)(unsafe.Pointer(&h)) return r.Write(buf) } // Bytes returns all available read bytes. // It does not move the read pointer and only copy the available data. // If the dst is big enough it will be used as destination, // otherwise a new buffer will be allocated. func (r *RingBuffer) Bytes(dst []byte) []byte { r.mu.Lock() defer r.mu.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.toByteArray(0xFFEEDDCC)) .isEqualTo(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC}); } public void testFromByteArray() { assertThat(Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})).isEqualTo(0x12131415); assertThat(Ints.fromByteArray(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC}))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
cmd/batch-rotate_gen.go
} // MarshalMsg implements msgp.Marshaler func (z BatchKeyRotationType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchKeyRotationType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0)