Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,144 for sizeof (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        if (offset < buffer_end && gcs_file->buffer_start) {
          copy_size = (std::min)(n, static_cast<size_t>(buffer_end - offset));
          memcpy(buffer,
                 gcs_file->buffer.data() + (offset - gcs_file->buffer_start),
                 copy_size);
        }
        bool consumed_buffer_to_eof =
            offset + copy_size >= buffer_end && gcs_file->buffer_end_is_past_eof;
        if (copy_size < n && !consumed_buffer_to_eof) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      }
    
      void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) {
        int32_t* data = static_cast<int32_t*>(TF_TensorData(t));
        size_t size = TF_TensorByteSize(t);
        ASSERT_EQ(expected.size() * sizeof(int32_t), size);
        for (int i = 0; i < expected.size(); ++i) {
          ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i;
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. doc/go_spec.html

    </pre>
    
    <p>
    A (variable of) type <code>T</code> has <i>variable size</i> if <code>T</code>
    is a <a href="#Type_parameter_declarations">type parameter</a>, or if it is an
    array or struct type containing elements
    or fields of variable size. Otherwise the size is <i>constant</i>.
    Calls to <code>Alignof</code>, <code>Offsetof</code>, and <code>Sizeof</code>
    are compile-time <a href="#Constant_expressions">constant expressions</a> of
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    a <a href="#Run_time_panics">run-time panic</a> occurs.
    </p>
    
    <h3 id="Size_and_alignment_guarantees">Size and alignment guarantees</h3>
    
    <p>
    For the <a href="#Numeric_types">numeric types</a>, the following sizes are guaranteed:
    </p>
    
    <pre class="grammar">
    type                                 size in bytes
    
    byte, uint8, int8                     1
    uint16, int16                         2
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

        metadata.list_size = attr->list().field##_size(); \
        __VA_ARGS__;                                      \
        break;                                            \
      }
    
          LIST_CASE(
              s, TF_ATTR_STRING, metadata.total_size = 0;
              for (int i = 0; i < attr->list().s_size();
                   ++i) { metadata.total_size += attr->list().s(i).size(); });
          LIST_CASE(i, TF_ATTR_INT);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    »ÀNW¢¦h†½zÈ$¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ$CªPartASizes‘Ñ$C¤SizeÑ$C¥MTimeÓ É ¸Åñ€§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¬content-type°application/json¤etagÙ d6566afb36d109141150¡v Î W G ¤nullÅ ,”³ §<“ a j ž¤ðŒ•{ ìë¡ 8±õe"… ™ k{"key":"batch_size","value":"1"},{"key":"queue_size","value":"100000"},{"key":"queue_dir","value":""}]},"notify_amqp":{"_":[{"key":"enable","value":"off"},{"key":"url","value":""},{"key":"exchange","va...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  7. cmd/testdata/xl-meta-consist.zip

    ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¤etagÙ"51fe09d68bacc8c5a68a-1¬content-type¸application/octet-streamÎöa‰ 10/xl.meta XL2 Æ b ¨Versions‘‚¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ÔLã°ê8EÒŸˆ”Ù Sé6¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistš ¨CSumAlgo ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¬content-type¸application/octet-strea...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 19 18:48:00 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  8. cmd/testdata/xl-meta-merge.zip

    ¦EcDist” ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ äªPartASizes‘Ñ ä¤SizeÑ ä¥MTimeÓ ¹ôc â N§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¬content-type¸application/octet-stream¤etagÙ 9fe7a344ef4227d3e537¡vÎeçnÐÄ$•Ä sÉöQð#Ef° ÌS Û|âÓ ¹ôb Îf­Ä ñ.È´ Å Mƒ¤Type ¥V2ObjÞ ¢IDÄ sÉöQð#Ef° ÌS Û|â¤DDirÄ #" ‘³sF"¥ URÄ,C ¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDist” ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ äªPartASizes‘Ñ ä¤SizeÑ ä¥MTimeÓ ¹ôb Îf­§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¬...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  9. cmd/data-usage_test.go

    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir2/d2file2", size: 300},
    		{name: "dir2/d2file3/", size: 300},
    		{name: "dir2/d2file4/", size: 300},
    		{name: "dir2/d2file5", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. cmd/utils_test.go

    	"strings"
    	"testing"
    )
    
    // Tests maximum object size.
    func TestMaxObjectSize(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		size  int64
    	}{
    		// Test - 1 - maximum object size.
    		{
    			true,
    			globalMaxObjectSize + 1,
    		},
    		// Test - 2 - not maximum object size.
    		{
    			false,
    			globalMaxObjectSize - 1,
    		},
    	}
    	for i, s := range sizes {
    		isMax := isMaxObjectSize(s.size)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top