- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,556 for Byte (0.99 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
*/ @Test void testWriteParameterWordsWireFormat() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); byte[] dst = new byte[10]; // When int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0); // Then assertEquals(0, result, "writeParameterWordsWireFormat should return 0"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
byte[] buffer = new byte[100]; boolean result = response.verifySignature(buffer, 0, 100); assertTrue(result); } @Test @DisplayName("Should verify signature on error when secure negotiate required") void testVerifySignatureErrorWithSecureNegotiate() { byte[] buffer = new byte[100];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
* The file ID to close */ public Smb2CloseRequest(final Configuration config, final byte[] fileId) { this(config, fileId, ""); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[]) */ @Override public void setFileId(final byte[] fileId) { this.fileId = fileId; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
return this.pid; } /** * Returns the starting byte offset of the lock range. * * @return the starting byte offset */ public long getByteOffset() { return this.byteOffset; } /** * Returns the byte length of the lock range. * * @return the byte length of the range */ public long getLengthInBytes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
internal/bpool/bpool.go
package bpool import ( "github.com/klauspost/reedsolomon" ) // BytePoolCap implements a leaky pool of []byte in the form of a bounded channel. type BytePoolCap struct { c chan []byte w int wcap int } // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new // byte arrays sized based on width. func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); out.write(new byte[] {1, 2, 3, 4}); out.close(); assertTrue(sink.wasStreamClosed()); assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); } public void testWrite_bytes() throws IOException { assertArrayEquals(new byte[0], sink.getBytes()); sink.write(bytes);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
src/bytes/buffer_test.go
var testString string // test data for write tests var testBytes []byte // test data; same as testString but as a slice. type negativeReader struct{} func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } func init() { testBytes = make([]byte, N) for i := 0; i < N; i++ { testBytes[i] = 'a' + byte(i%26) } testString = string(testBytes) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0) -
logger/sql_test.go
} func (s ExampleStruct) Value() (driver.Value, error) { return json.Marshal(s) } func format(v []byte, escaper string) string { return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper } func TestExplainSQL(t *testing.T) { type role string type password []byte type intType int type floatType float64 var ( tt = now.MustParse("2020-02-23 11:10:10")
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)