Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ss_size (0.14 sec)

  1. cmd/data-usage-cache_gen.go

    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *dataUsageCache) Msgsize() (s int) {
    	s = 1 + 5 + z.Info.Msgsize() + 6 + msgp.MapHeaderSize
    	if z.Cache != nil {
    		for za0001, za0002 := range z.Cache {
    			_ = za0002
    			s += msgp.StringPrefixSize + len(za0001) + za0002.Msgsize()
    		}
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 100.8K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *DeleteVersionHandlerParams) Msgsize() (s int) {
    	s = 1 + 3 + msgp.StringPrefixSize + len(z.DiskID) + 2 + msgp.StringPrefixSize + len(z.Volume) + 3 + msgp.StringPrefixSize + len(z.FilePath) + 4 + msgp.BoolSize + 3 + z.Opts.Msgsize() + 3 + z.FI.Msgsize()
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    	sdata.SetLocal(true)
    	sdata.SetType(sym.SRODATA)
    	sdata.SetSize(int64(len(str)))
    	sdata.SetData([]byte(str))
    	s.AddAddr(ctxt.Arch, sdata.Sym())
    	s.AddUint(ctxt.Arch, uint64(len(str)))
    }
    
    func addinitarrdata(ctxt *Link, ldr *loader.Loader, s loader.Sym) {
    	p := ldr.SymName(s) + ".ptr"
    	sp := ldr.CreateSymForUpdate(p, 0)
    	sp.SetType(sym.SINITARR)
    	sp.SetSize(0)
    	sp.SetDuplicateOK(true)
    	sp.AddAddr(ctxt.Arch, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

                               opts.op_registry());
      TensorProto value;
      value.set_dtype(dtype);
      for (int dim : shape) {
        value.mutable_tensor_shape()->add_dim()->set_size(dim);
      }
      return opts.WithAttr("value", value)
          .WithAttr("dtype", dtype)
          .FinalizeBuilder(&node_builder);
    }
    
    Node* KnownShape(absl::Span<const int> shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

          metadata.list_size = 0;
          metadata.total_size = -1;
    #define LIST_CASE(field, attr_type, ...)              \
      if (attr->list().field##_size() > 0) {              \
        metadata.type = attr_type;                        \
        metadata.list_size = attr->list().field##_size(); \
        __VA_ARGS__;                                      \
        break;                                            \
      }
    
          LIST_CASE(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          case tensorflow::AttrValue::kList:
            if (attr.list().s_size() > 0) {
              auto start = flex_builder->StartVector(key);
              for (const std::string& v : attr.list().s()) {
                flex_builder->Add(v);
              }
              flex_builder->EndVector(start, /*typed=*/true, /*fixed=*/false);
            } else if (attr.list().i_size() > 0) {
              auto start = flex_builder->StartVector(key);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	return brs, nil
    }
    
    // save resync status to resync.bin
    func saveResyncStatus(ctx context.Context, bucket string, brs BucketReplicationResyncStatus, objectAPI ObjectLayer) error {
    	data := make([]byte, 4, brs.Msgsize()+4)
    
    	// Initialize the resync meta header.
    	binary.LittleEndian.PutUint16(data[0:2], resyncMetaFormat)
    	binary.LittleEndian.PutUint16(data[2:4], resyncMetaVersion)
    
    	buf, err := brs.MarshalMsg(data)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        return std::nullopt;
    
      xla::Window window;
      for (size_t i = 0; i < window_dimensions.size(); i++) {
        auto dim = window.add_dimensions();
        dim->set_size(window_dimensions[i]);
        if (!window_strides.empty()) {
          dim->set_stride(window_strides[i]);
        } else {
          dim->set_stride(1);
        }
        if (!padding.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    func saveSiteResyncMetadata(ctx context.Context, ss SiteResyncStatus, objectAPI ObjectLayer) error {
    	if objectAPI == nil {
    		return errSRObjectLayerNotReady
    	}
    	data := make([]byte, 4, ss.Msgsize()+4)
    
    	// Initialize the resync meta header.
    	binary.LittleEndian.PutUint16(data[0:2], siteResyncMetaFormat)
    	binary.LittleEndian.PutUint16(data[2:4], siteResyncMetaVersion)
    
    	buf, err := ss.MarshalMsg(data)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top