Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for sizeOf (0.26 sec)

  1. src/archive/zip/writer.go

    		// if modification time is the only timestamp being encoded.
    		var mbuf [9]byte // 2*SizeOf(uint16) + SizeOf(uint8) + SizeOf(uint32)
    		mt := uint32(fh.Modified.Unix())
    		eb := writeBuf(mbuf[:])
    		eb.uint16(extTimeExtraID)
    		eb.uint16(5)  // Size: SizeOf(uint8) + SizeOf(uint32)
    		eb.uint8(1)   // Flags: ModTime
    		eb.uint32(mt) // ModTime
    		fh.Extra = append(fh.Extra, mbuf[:]...)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_test.c

        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", list.size(), TF_ATTR_STRING, list_total_size);
      std::unique_ptr<void*[]> values(new void*[list.size()]);
      std::unique_ptr<size_t[]> lens(new size_t[list.size()]);
      std::unique_ptr<char[]> storage(new char[list_total_size]);
      TF_OperationGetAttrStringList(oper, "v", values.get(), lens.get(),
                                    list.size(), storage.get(), list_total_size,
                                    s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/c_api_experimental.cc

          static_cast<bool>(should_enable);
    }
    
    void TF_SetXlaMinClusterSize(int size) {
      tensorflow::MarkForCompilationPassFlags* flags =
          tensorflow::GetMarkForCompilationPassFlags();
      flags->tf_xla_min_cluster_size = size;
    }
    
    TF_Buffer* TF_CreateConfig(unsigned char enable_xla_compilation,
                               unsigned char gpu_memory_allow_growth,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  5. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  8. 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)
  9. cmd/encryption-v1.go

    		return 0, o.Size, 0, 0, 0, nil
    	}
    
    	// Assemble slice of (decrypted) part sizes in `sizes`
    	var sizes []int64
    	var decObjSize int64 // decrypted total object size
    	if o.isMultipart() {
    		sizes = make([]int64, len(o.Parts))
    		for i, part := range o.Parts {
    			var partSize uint64
    			partSize, err = sio.DecryptedSize(uint64(part.Size))
    			if err != nil {
    				err = errObjectTampered
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              format(
                  "estimated size of spliterator after trySplit (%s) is larger than original size (%s)",
                  spliterator.estimateSize(), originalSize));
        }
        if (trySplit != null) {
          if (trySplit.estimateSize() > originalSize) {
            fail(
                format(
                    "estimated size of trySplit result (%s) is larger than original size (%s)",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top