Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 337 for Sizes (0.06 sec)

  1. src/crypto/tls/conn_test.go

    	go func() {
    		// This goroutine performs a TLS handshake over clientConn and
    		// then reads TLS records until EOF. It writes a slice that
    		// contains all the record sizes to recordSizesChan.
    		defer close(recordSizesChan)
    		defer clientConn.Close()
    
    		tlsConn := Client(clientConn, config)
    		if err := tlsConn.Handshake(); err != nil {
    			t.Errorf("Error from client handshake: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. test/codegen/slices.go

    	// ppc64x:-`.*runtime\.makeslice`
    	// ppc64x:-`.*runtime\.panicmakeslicelen`
    	return append(s, make([]int, uint(1<<2))...)
    }
    
    // On ppc64x continue to use memclrNoHeapPointers
    // for sizes >= 512.
    func SliceExtensionConst512(s []int) []int {
    	// amd64:-`.*runtime\.memclrNoHeapPointers`
    	// ppc64x:`.*runtime\.memclrNoHeapPointers`
    	return append(s, make([]int, 1<<9)...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 18:57:27 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                    trySplit.estimateSize(), originalSize));
          }
        }
        if (subsized) {
          if (trySplit != null) {
            assertEquals(
                "sum of estimated sizes of trySplit and original spliterator after trySplit",
                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
            assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/const.go

    		x.val = constant.MakeUnknown()
    	}
    }
    
    // representableConst reports whether x can be represented as
    // value of the given basic type and for the configuration
    // provided (only needed for int/uint sizes).
    //
    // If rounded != nil, *rounded is set to the rounded value of x for
    // representable floating-point and complex values, and to an Int
    // value for integer values; it is left alone otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. pkg/registry/core/node/strategy_test.go

    					api.ResourceName("hugepages-1Gi"): resource.MustParse("2Gi"),
    				},
    			},
    		}, true},
    		{api.Node{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "multiple-hugepage-sizes",
    			},
    			Status: api.NodeStatus{
    				Capacity: api.ResourceList{
    					api.ResourceCPU:                   resource.MustParse("100"),
    					api.ResourceMemory:                resource.MustParse("10000"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. pkg/controller/deployment/sync_test.go

    			if err := dc.scale(ctx, test.deployment, test.newRS, test.oldRSs); err != nil {
    				t.Errorf("%s: unexpected error: %v", test.name, err)
    				return
    			}
    
    			// Construct the nameToSize map that will hold all the sizes we got our of tests
    			// Skip updating the map if the replica set wasn't updated since there will be
    			// no update action for it.
    			nameToSize := make(map[string]int32)
    			if test.newRS != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

    // known (fixed).
    struct SizeInfo {
      Value size;
      bool fixed;
    };
    
    // Modifies a function's signature to rewrite tensor list arguments to buffers
    // and sizes.
    void ModifyFunctionSignature(
        func::FuncOp func, Type size_type,
        llvm::SmallDenseMap<Value, SizeInfo>* buffer_to_size,
        llvm::function_ref<std::optional<Type>(int64_t)> arg_to_buffer_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

            tf_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) {
          // The op has multiple variadic operands or results.
          // Calculate operand and result segment sizes using the OpDef.
          tensorflow::NameRangeMap input_ranges, output_ranges;
          // This will fail only if the OpDef is syntactically invalid.
          if (!NameRangesForNode(node_def, *op_def, &input_ranges, &output_ranges)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/os/dir_windows.go

    	// the FILE_ID_BOTH_DIR_INFO structure is 105 bytes, so dirBufSize
    	// should not be set below 1024 bytes (512+105+safety buffer).
    	// Windows 8.1 and earlier only works with buffer sizes up to 64 kB.
    	dirBufSize = 64 * 1024 // 64kB
    )
    
    var dirBufPool = sync.Pool{
    	New: func() any {
    		// The buffer must be at least a block long.
    		buf := make([]byte, dirBufSize)
    		return &buf
    	},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. cmd/erasure-coding.go

    			failOnErr(err)
    			encoded, err := e.EncodeData(GlobalContext, testData[:])
    			failOnErr(err)
    			hash := xxhash.New()
    			for i, data := range encoded {
    				// Write index to keep track of sizes of each.
    				_, err = hash.Write([]byte{byte(i)})
    				failOnErr(err)
    				_, err = hash.Write(data)
    				failOnErr(err)
    				got[conf] = map[ErasureAlgo]uint64{algo: hash.Sum64()}
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top