- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,057 for Bytes (0.01 sec)
-
cmd/copy-part-range.go
writeErrorResponse(ctx, w, apiErr, url) return } } // Parses x-amz-copy-source-range for CopyObjectPart API. Its behavior // is different from regular HTTP range header. It only supports the // form `bytes=first-last` where first and last are zero-based byte // offsets. See // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html // for full details. This function treats an empty rangeString as
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0); // Should write exactly 56 bytes (structure size without data) assertEquals(56, written); // Check structure size (first 2 bytes should be 57) assertEquals(57, (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byte // - 3 zero bytes (padding and no FID) int written = pipe.writeSetupWireFormat(dst, 0); assertEquals(4, written, "Setup should write 4 bytes"); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
byte[] buffer = new byte[256]; int written = trans2QueryFSInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
byte[] mic = new byte[] { (byte) 0xFE, 0x55 }; NegTokenInit init = new NegTokenInit(mechs, flags, mechToken, mic); byte[] bytes = init.toByteArray(); NegTokenInit parsed = new NegTokenInit(bytes); assertArrayEquals(mechs, parsed.getMechanisms(), "Mechanism OIDs should round-trip"); assertEquals(flags, parsed.getContextFlags(), "Flags should round-trip");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
cmd/sftp-server-driver.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "errors" "fmt" "io" "net/http" "os" "path" "strings" "sync" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.go
) var ( usageSinceLastUpdateSecondsMD = NewGaugeMD(usageSinceLastUpdateSeconds, "Time since last update of usage metrics in seconds") usageTotalBytesMD = NewGaugeMD(usageTotalBytes, "Total cluster usage in bytes") usageObjectsCountMD = NewGaugeMD(usageObjectsCount, "Total cluster objects count") usageVersionsCountMD = NewGaugeMD(usageVersionsCount, "Total cluster object versions (including delete markers) count")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
frame.writeByte(Http2.TYPE_HEADERS) frame.writeByte(FLAG_END_HEADERS or FLAG_END_STREAM) frame.writeInt(expectedStreamId and 0x7fffffff) frame.writeAll(headerBytes) // Check writer sends the same bytes. assertThat(sendHeaderFrames(true, sentHeaders)).isEqualTo(frame) reader.nextFrame( requireSettings = false, object : BaseTestHandler() { override fun headers( inFinished: Boolean,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
// Encode input parameters for WitnessHeartbeat // Context handle (20 bytes) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
* @throws PACDecodingException if the check fails, which is not expected in this test. */ @Test void testCheck_withValidString() throws PACDecodingException { // Corresponds to a string of length 5 (10 bytes for UTF-16) PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100); String testString = "abcde"; // The check method should return the same string instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0)