Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ss_size (0.09 sec)

  1. cmd/storage-datatypes_gen_test.go

    			b.Fatal(err)
    		}
    	}
    }
    
    func TestEncodeDecodeBaseOptions(t *testing.T) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate")
    	}
    
    	vn := BaseOptions{}
    	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: Mon Jun 10 15:51:27 UTC 2024
    - 62.6K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    len(z.UserTags) + 5 + msgp.BoolSize + 18 + z.ReplicationStatus.Msgsize() + 26 + msgp.StringPrefixSize + len(z.ReplicationStatusInternal) + 27 + msgp.StringPrefixSize + len(z.VersionPurgeStatusInternal) + 19 + z.VersionPurgeStatus.Msgsize() + 17 + z.ReplicationState.Msgsize() + 13 + msgp.BoolSize + 7 + z.OpType.Msgsize() + 10 + msgp.StringPrefixSize + len(z.EventType) + 11 + msgp.Uint32Size + 8 + msgp.StringPrefixSize + len(z.ResetID) + 4 + z.Dsc.Msgsize() + 18 + z.ExistingObjResync.Msgsize() + 10 + msgp.StringPrefixSize...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        if (matchPattern(out_size, m_Constant(&out_size_cst))) {
          llvm::SmallVector<int64_t, 2> cst_size;
          for (auto val : out_size_cst.getValues<APInt>()) {
            cst_size.push_back(val.getSExtValue());
          }
    
          out_height_constant = cst_size[0];
          out_width_constant = cst_size[1];
    
          if (out_height_constant < 0 || out_width_constant < 0) return failure();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      repr.clear_tensor_shape();
      if (tfl::IsQuantized(tensor)) {
        repr.mutable_tensor_shape()->add_dim()->set_size(buffer.size());
        repr.set_dtype(tensorflow::DT_INT8);
      } else {
        repr.mutable_tensor_shape()->add_dim()->set_size(
            buffer.size() / (shaped_type.getElementTypeBitWidth() / CHAR_BIT));
      }
      TF_ASSIGN_OR_RETURN(mlir::ElementsAttr compressed_data,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    		}
    		if serverDebugLog {
    			console.Debugf("%s: persisting info on drive: threshold:%s, %s:%#v\n", jobTyp, now.Sub(ri.LastUpdate), jobTyp, ri)
    		}
    		ri.LastUpdate = now
    
    		data := make([]byte, 4, ri.Msgsize()+4)
    
    		// Initialize the header.
    		binary.LittleEndian.PutUint16(data[0:2], format)
    		binary.LittleEndian.PutUint16(data[2:4], version)
    
    		buf, err := ri.MarshalMsg(data)
    		ri.mu.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top