- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 208 for ss_size (0.68 sec)
-
internal/config/cache/remote_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeCondCheck(t *testing.T) { v := CondCheck{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeCondCheck Msgsize() is inaccurate") } vn := CondCheck{} 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 Nov 22 21:46:17 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/types_proto.go
func (m *Unknown) NestedMarshalTo(data []byte, b ProtobufMarshaller, size uint64) (int, error) { // Calculate the full size of the message. msgSize := m.Size() if b != nil { msgSize += int(size) + sovGenerated(size) + 1 } // Reverse marshal the fields of m. i := msgSize i -= len(m.ContentType) copy(data[i:], m.ContentType) i = encodeVarintGenerated(data, i, uint64(len(m.ContentType))) i-- data[i] = 0x22
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 25 18:54:00 UTC 2019 - 2.6K bytes - Viewed (0) -
tensorflow/c/kernels/bitcast_op.cc
s); } if (TF_GetCode(s) == TF_OK) { kernel->in_size = TF_DataTypeSize(kernel->input_data_type); kernel->out_size = TF_DataTypeSize(kernel->output_data_type); size_t check_size = std::max(kernel->in_size, kernel->out_size) % std::min(kernel->in_size, kernel->out_size); if (check_size != 0) { std::ostringstream err;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 31 03:28:11 UTC 2021 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
* can hold setSize elements with the desired load factor. */ @VisibleForTesting static int chooseTableSize(int setSize) { if (setSize == 1) { return 2; } // Correct the size for open addressing to match desired load factor. // Round up to the next highest power of 2. int tableSize = Integer.highestOneBit(setSize - 1) << 1;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 4.5K bytes - Viewed (0) -
internal/bucket/replication/datatypes_gen.go
if err != nil { err = msgp.WrapError(err) return } (*z) = StatusType(zb0001) } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z StatusType) Msgsize() (s int) { s = msgp.StringPrefixSize + len(string(z)) return } // DecodeMsg implements msgp.Decodable func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 08 19:08:18 UTC 2024 - 2.3K bytes - Viewed (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) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/batch-handlers_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeBatchJobRequest(t *testing.T) { v := BatchJobRequest{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBatchJobRequest Msgsize() is inaccurate") } vn := BatchJobRequest{} 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: Tue Aug 29 18:27:23 UTC 2023 - 4.5K bytes - Viewed (0) -
cmd/storage-rest-common_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodensScannerOptions(t *testing.T) { v := nsScannerOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodensScannerOptions Msgsize() is inaccurate") } vn := nsScannerOptions{} 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: Tue Nov 21 01:09:35 UTC 2023 - 4.6K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen_test.go
b.Fatal(err) } } } func TestEncodeDecoderebalanceInfo(t *testing.T) { v := rebalanceInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecoderebalanceInfo Msgsize() is inaccurate") } vn := rebalanceInfo{} 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: Tue Oct 25 19:36:57 UTC 2022 - 11K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeActiveWorkerStat(t *testing.T) { v := ActiveWorkerStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeActiveWorkerStat Msgsize() is inaccurate") } vn := ActiveWorkerStat{} 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: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0)