- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,280 for Byte (0.04 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComRename.java
} int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { writeInt2( searchAttributes, dst, dstIndex ); return 2; } int writeBytesWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; dst[dstIndex++] = (byte)0x04; dstIndex += writeString( oldFileName, dst, dstIndex ); dst[dstIndex++] = (byte)0x04; if( useUnicode ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
} /** Returns a byte array of length size that has values 0 .. size - 1. */ static byte[] newPreFilledByteArray(int size) { return newPreFilledByteArray(0, size); } /** Returns a byte array of length size that has values offset .. offset + size - 1. */ static byte[] newPreFilledByteArray(int offset, int size) { byte[] array = new byte[size]; for (int i = 0; i < size; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
src/bytes/example_test.go
fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte("O"))) fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte("Ami"))) fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte(""))) // Output: // true // false // false // true } func ExampleIndex() { fmt.Println(bytes.Index([]byte("chicken"), []byte("ken"))) fmt.Println(bytes.Index([]byte("chicken"), []byte("dmr"))) // Output: // 4 // -1 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
return combineBuffers(bufs, MAX_ARRAY_LEN); } else { throw new OutOfMemoryError("input is too large to fit in a byte array"); } } private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { if (bufs.isEmpty()) { return new byte[0]; } byte[] result = bufs.remove(); if (result.length == totalLen) { return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0) -
internal/s3select/jstream/scratch.go
package jstream import ( "unicode/utf8" ) type scratch struct { data []byte fill int } // reset scratch buffer func (s *scratch) reset() { s.fill = 0 } // bytes returns the written contents of scratch buffer func (s *scratch) bytes() []byte { return s.data[0:s.fill] } // grow scratch buffer func (s *scratch) grow() { ndata := make([]byte, cap(s.data)*2) copy(ndata, s.data) s.data = ndata }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 758 bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataOutput.java
/** * @deprecated This method is dangerous as it discards the high byte of every character. For * UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}. */ @Deprecated @Override void writeBytes(String s); /** Returns the contents that have been written to this instance, as a byte array. */ byte[] toByteArray();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
internal/s3select/jstream/scanner.go
if atomic.LoadInt64(&s.end) == maxInt { return maxInt } return atomic.LoadInt64(&s.end) - s.pos } // read byte at current position (without advancing) func (s *scanner) cur() byte { return s.buf[s.ipos] } // read next byte func (s *scanner) next() byte { if s.pos >= atomic.LoadInt64(&s.end) { return nullByte } s.ipos++ if s.ipos > s.ifill { // internal buffer is exhausted
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
return dstIndex - start; } int writeDataWireFormat( byte[] dst, int dstIndex ) { return 0; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
private int lockSequenceNumber; private int lockSequenceIndex; private byte[] fileId; private final Smb2Lock[] locks; /** * @param config * @param fileId * @param locks */ public Smb2LockRequest ( Configuration config, byte[] fileId, Smb2Lock[] locks ) { super(config, SMB2_LOCK); this.fileId = fileId; this.locks = locks;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
func (z decomError) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 1 // string "Err" o = append(o, 0x81, 0xa3, 0x45, 0x72, 0x72) o = msgp.AppendString(o, z.Err) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *decomError) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0)