- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 64 for s_size (0.04 seconds)
-
tensorflow/c/eager/c_api.cc
case tensorflow::AttrValue::kList: { // String if (const int s_size = default_value.list().s_size()) { absl::InlinedVector<const void*, 4> values_vector; values_vector.reserve(s_size); absl::InlinedVector<size_t, 4> lengths_vector; lengths_vector.reserve(s_size); for (int i = 0; i < s_size; ++i) { const string& v = default_value.list().s(i);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (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 fieldCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
} static class TestSubSearcher extends RankFusionSearcher { private int mainSize; private int inSize; private int outSize; TestSubSearcher(int mainSize, int inSize, int outSize) { this.mainSize = mainSize; this.inSize = inSize; this.outSize = outSize; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 25.8K bytes - Click Count (0) -
cmd/metrics-v2_gen.go
} o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z MetricTypeV2) Msgsize() (s int) { s = msgp.StringPrefixSize + len(string(z)) return } // MarshalMsg implements msgp.Marshaler func (z *MetricV2) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 6 // string "Description"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0) -
cmd/site-replication-metrics_gen_test.go
if err != nil { b.Fatal(err) } } } func TestEncodeDecodeRStat(t *testing.T) { v := RStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeRStat Msgsize() is inaccurate") } vn := RStat{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
internal/grid/msg_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeconnectReq(t *testing.T) { v := connectReq{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeconnectReq Msgsize() is inaccurate") } vn := connectReq{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
cmd/batch-rotate_gen.go
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 *BatchJobKeyRotateFlags) Msgsize() (s int) { s = 1 + 7 + z.Filter.Msgsize() + 7 + z.Notify.Msgsize() + 6 + z.Retry.Msgsize() return } // DecodeMsg implements msgp.Decodable
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 27.1K bytes - Click Count (0) -
cmd/endpoint-ellipses.go
return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg) } // Final set size with all the symmetry accounted for. setSize = commonSetDriveCount(commonSize, setCounts) } // Check whether setSize is with the supported range. if !isValidSetSize(setSize) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
cmd/data-usage-cache_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeallTierStats(t *testing.T) { v := allTierStats{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate") } vn := allTierStats{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0) -
cmd/batch-replicate_gen_test.go
} } func TestEncodeDecodeBatchJobReplicateCredentials(t *testing.T) { v := BatchJobReplicateCredentials{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBatchJobReplicateCredentials Msgsize() is inaccurate") } vn := BatchJobReplicateCredentials{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.2K bytes - Click Count (0)