Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 281 for Size (0.2 sec)

  1. cmd/erasure-object.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize || size == -1:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			Elt: sub.Go,
    		}
    		// Recalculate t.Size now that we know sub.Size.
    		t.Size = count * sub.Size
    		t.C.Set("__typeof__(%s[%d])", sub.C, dt.Count)
    
    	case *dwarf.BoolType:
    		t.Go = c.bool
    		t.Align = 1
    
    	case *dwarf.CharType:
    		if t.Size != 1 {
    			fatalf("%s: unexpected: %d-byte char type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.int8
    		t.Align = 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. 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;
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    					}
    					//  Asserting the Size in the PartInfo.
    					if actualMetaData.Size != expectedResult.Parts[j].Size {
    						t.Errorf("Test %d: %s: Part %d: Expected Part Size to be \"%d\", but instead found \"%d\"", i+1, instanceType, j+1, expectedResult.Parts[j].Size, actualMetaData.Size)
    					}
    					//  Asserting the ETag in the PartInfo.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        input_data = ops.convert_to_tensor(
            rng.uniform(low=0.0, high=1.0, size=static_input_shape).astype(
                np.float32
            )
        )
    
        def data_gen() -> repr_dataset.RepresentativeDataset:
          for _ in range(100):
            yield {
                'input_tensor': rng.uniform(
                    low=0.0, high=1.0, size=static_input_shape
                ).astype(np.float32)
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/elf.go

    //	  uint8_t isa_level;
    //	  /* The revision of ISA: 0 for MIPS V and below, 1-n otherwise.  */
    //	  uint8_t isa_rev;
    //	  /* The size of general purpose registers.  */
    //	  uint8_t gpr_size;
    //	  /* The size of co-processor 1 registers.  */
    //	  uint8_t cpr1_size;
    //	  /* The size of co-processor 2 registers.  */
    //	  uint8_t cpr2_size;
    //	  /* The floating-point ABI.  */
    //	  uint8_t fp_abi;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy

            buildOperations.all(ExecuteWorkBuildOperationType).size() == 4
            buildOperations.all(SnapshotTransformInputsBuildOperationType).size() == 4
            buildOperations.all(ExecuteTransformActionBuildOperationType).size() == 4
        }
    
        def "planned transform steps from project buildscript context are not captured"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 67.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        for (int size = 1; size < 200; size++) {
          assertWontGrow(
              size,
              new LinkedHashMap<>(),
              Maps.newLinkedHashMapWithExpectedSize(size),
              Maps.newLinkedHashMapWithExpectedSize(size));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static void assertWontGrow(
          int size,
          HashMap<Object, Object> referenceMap,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    				return &strType
    			},
    			expectedCalcCost: 314575,
    			setMaxElements:   10,
    			expectedSetCost:  6,
    		},
    		{
    			name:             "check cost of size call",
    			schemaGenerator:  genMapWithRule("integer", "oldSelf.size() == self.size()"),
    			expectedCalcCost: 5,
    			setMaxElements:   10,
    			expectedSetCost:  5,
    		},
    		{
    			name:             "check cost of timestamp comparison",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. src/go/printer/nodes.go

    		// it to 0).
    		prevSize := size
    		const infinity = 1e6 // larger than any source line
    		size = p.nodeSize(x, infinity)
    		pair, isPair := x.(*ast.KeyValueExpr)
    		if size <= infinity && prev.IsValid() && next.IsValid() {
    			// x fits on a single line
    			if isPair {
    				size = p.nodeSize(pair.Key, infinity) // size <= infinity
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top