- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for op_size (0.06 sec)
-
cmd/xl-storage-meta-inline.go
// Payload size can give an indication of expected payload size. // If plSize is <= 0 it will be calculated. func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) { if len(keys) != len(vals) { panic(fmt.Errorf("xlMetaInlineData.serialize: keys/value number mismatch")) } if len(keys) == 0 { *x = nil return } if plSize <= 0 { plSize = 1 + msgp.MapHeaderSize for i := range keys {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
public MimeMap() throws IOException { int n; in = new byte[IN_SIZE]; final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map"); inLen = 0; while ((n = is.read(in, inLen, IN_SIZE - inLen)) != -1) { inLen += n; } if (inLen < 100 || inLen == IN_SIZE) { throw new IOException("Error reading jcifs/smb1/util/mime.map resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) { var err error // obtains random bucket name. bucket := getRandomBucketName() // create bucket. err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) } // get text data generated for number of bytes equal to object size. textData := generateBytesData(objSize) // generate md5sum for the generated data.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
} @Test void testGetSecurityWithMismatchedSize() throws Exception { // Test when sd_size doesn't match actual array size srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); info502.security_descriptor = new byte[] { 1, 2, 3, 4 }; info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds // Replace info field
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/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
// Calculate the object real size if encrypted if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok { objSize, err = gr.ObjInfo.DecryptedSize() if err != nil { return nil, ObjectInfo{}, err } } else { objSize = gr.ObjInfo.Size } files, err := zipindex.ReadDir(b[len(b)-size:], objSize, nil) if err == nil { return files, gr.ObjInfo, nil } var terr zipindex.ErrNeedMoreData
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
shareInfo502.permissions = 2; shareInfo502.max_uses = 10; shareInfo502.current_uses = 5; shareInfo502.path = "C:\\test"; shareInfo502.password = "password"; shareInfo502.sd_size = 2; shareInfo502.security_descriptor = new byte[] { 1, 2 }; // Set up mocks for the security descriptor encoding mockDeferredBuffer.index = 0; // Set field directly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
cmd/encryption-v1_test.go
decryptedRangeRef := func(s []int64, skipLen, readLen int64, isFromEnd bool) (o, l, skip int64, sn uint32, ps int) { oSize := lsum(s) if isFromEnd { skipLen = oSize - readLen } if skipLen < 0 || readLen < 0 || oSize < 0 || skipLen+readLen > oSize { t.Fatalf("Impossible read specified: %d %d %d", skipLen, readLen, oSize) } var cumulativeSum, cumulativeEncSum int64 toRead := readLen readStart := false
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java
if (info502.security_descriptor != null) { SecurityDescriptor sd; sd = new SecurityDescriptor(info502.security_descriptor, 0, info502.sd_size); return sd.getAces(); } return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0)