Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 208 for ss_size (0.11 sec)

  1. cmd/bootstrap-peer-server_gen_test.go

    		}
    	}
    }
    
    func TestEncodeDecodeServerSystemConfig(t *testing.T) {
    	v := ServerSystemConfig{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeServerSystemConfig Msgsize() is inaccurate")
    	}
    
    	vn := ServerSystemConfig{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata_gen_test.go

    			b.Fatal(err)
    		}
    	}
    }
    
    func TestEncodeDecodeBucketMetadata(t *testing.T) {
    	v := BucketMetadata{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBucketMetadata Msgsize() is inaccurate")
    	}
    
    	vn := BucketMetadata{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. cmd/last-minute_gen.go

    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z AccElem) Msgsize() (s int) {
    	s = 1 + 6 + msgp.Int64Size + 5 + msgp.Int64Size + 2 + msgp.Int64Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *xlMetaV1Object) Msgsize() (s int) {
    	s = 1 + 8 + msgp.StringPrefixSize + len(z.Version) + 7 + msgp.StringPrefixSize + len(z.Format) + 5 + z.Stat.Msgsize() + 8 + z.Erasure.Msgsize() + 6 + 1 + 8 + msgp.StringPrefixSize + len(z.Minio.Release) + 5 + msgp.MapHeaderSize
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/typelink.go

    		} else if ldr.IsItab(s) {
    			itabs = append(itabs, s)
    		}
    	}
    	sort.Sort(typelinks)
    
    	tl := ldr.CreateSymForUpdate("runtime.typelink", 0)
    	tl.SetType(sym.STYPELINK)
    	ldr.SetAttrLocal(tl.Sym(), true)
    	tl.SetSize(int64(4 * len(typelinks)))
    	tl.Grow(tl.Size())
    	relocs := tl.AddRelocs(len(typelinks))
    	for i, s := range typelinks {
    		r := relocs.At(i)
    		r.SetSym(s.Type)
    		r.SetOff(int32(i * 4))
    		r.SetSiz(4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 03 21:13:25 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *xlMetaV2Version) Msgsize() (s int) {
    	s = 1 + 5 + msgp.Uint8Size + 6
    	if z.ObjectV1 == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.ObjectV1.Msgsize()
    	}
    	s += 6
    	if z.ObjectV2 == nil {
    		s += msgp.NilSize
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            public String remark;
            public int permissions;
            public int max_uses;
            public int current_uses;
            public String path;
            public String password;
            public int sd_size;
            public byte[] security_descriptor;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.netname, 1);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
  8. cmd/batch-handlers_gen.go

    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BatchJobRequest) Msgsize() (s int) {
    	s = 1 + 3 + msgp.StringPrefixSize + len(z.ID) + 5 + msgp.StringPrefixSize + len(z.User) + 8 + msgp.TimeSize + 10
    	if z.Replicate == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Replicate.Msgsize()
    	}
    	s += 10
    	if z.KeyRotate == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. cmd/metacache_gen.go

    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *metacache) Msgsize() (s int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top