Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 149 for Malloc (0.42 sec)

  1. src/net/netip/netip_test.go

    				// Optimizations are required to remove some allocs.
    				t.Skipf("skipping on %v", testenv.Builder())
    			}
    			allocs := int(testing.AllocsPerRun(1000, func() {
    				sinkString = tc.ip.String()
    			}))
    			if allocs != tc.wantAllocs {
    				t.Errorf("allocs=%d, want %d", allocs, tc.wantAllocs)
    			}
    		})
    	}
    }
    
    func TestPrefixString(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

                           bool would_be_cloned,
                           mlir::IRMapping &mapping) const final {
        // All tf_mlrt dialect ops can be inlined.
        return true;
      }
      // Note that CallOp and ReturnOp are handled by func; so need to implement
      // handleTerminator.
    };
    
    }  // namespace
    
    TensorflowMlrtDialect::TensorflowMlrtDialect(mlir::MLIRContext *context)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/encoding/binary/binary_test.go

    func TestAppendAllocs(t *testing.T) {
    	buf := make([]byte, 0, Size(&s))
    	var err error
    	allocs := testing.AllocsPerRun(1, func() {
    		_, err = Append(buf, LittleEndian, &s)
    	})
    	if err != nil {
    		t.Fatal("Append failed:", err)
    	}
    	if allocs != 0 {
    		t.Fatalf("Append allocated %v times instead of not allocating at all", allocs)
    	}
    }
    
    var sizableTypes = []any{
    	bool(false),
    	int8(0),
    	int16(0),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/testdata/http/extended-allow-full-rule-out.yaml

    Kuat <******@****.***> 1714759362 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // within its purview are mutating in nature.
      void PropagatePotentiallyWrittenWithinUnhandledOp(Operation* op);
    
      // Given a Region associated with the callee and operands from the
      // corresponding callOp, propagate the potentially written decision to the
      // callOp's operands, if the corresponding region's arguments are potentially
      // written resources.
      void PropagatePotentiallyWrittenUpFromCallee(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

        // the op using the builder.
        CPred<"ArgTypesMatchCallee(&*$_builder.getInsertionPoint(), $1, $2)">>;
    
    foreach callOp = [TF_PartitionedCallOp, TF_StatefulPartitionedCallOp] in {
      def : Pat<(callOp:$op $args, FlatSymbolRefAttr:$f,
                 $config, $config_proto, $executor_type),
                (CallOp $f, $args),
              [(ArgTypesMatchCallee $op, $args, $f)]>;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

    // uses `get_next` to get the next value and calls `reduce_func`.  `body_args`
    // is used as pass through of state values for else branch.  `dataset_types` is
    // used for constructing the CallOp for `reduce_func`.
    IfRegionOp CreateOptionalDatasetIf(
        OpBuilder builder, ReduceDatasetOp reduce_dataset, FuncOp reduce_func,
        IteratorGetNextAsOptionalOp get_next, OptionalHasValueOp optional_has_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. src/runtime/traceallocfree.go

    // license that can be found in the LICENSE file.
    
    // Runtime -> tracer API for memory events.
    
    package runtime
    
    import (
    	"internal/abi"
    	"runtime/internal/sys"
    )
    
    // Batch type values for the alloc/free experiment.
    const (
    	traceAllocFreeTypesBatch = iota // Contains types. [{id, address, size, ptrspan, name length, name string} ...]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-gc-stress.test

    String id=26
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/mgcmark.go"
    String id=27
    	data="runtime.deductAssistCredit"
    String id=28
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/malloc.go"
    String id=29
    	data="runtime.mallocgc"
    String id=30
    	data="runtime.makeslice"
    String id=31
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/slice.go"
    String id=32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 139.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf_test.go

    	// size, no ALLOC flag, and the offset should not fall into any of
    	// the segments defined by the program headers.
    	if section.Addr != 0 {
    		t.Fatalf("expected Addr == 0 for .shstrtab got %x", section.Addr)
    	}
    	if section.Size == 0 {
    		t.Fatal("expected nonzero Size for .shstrtab got 0")
    	}
    	if section.Flags&elf.SHF_ALLOC != 0 {
    		t.Fatal("expected zero alloc flag got nonzero for .shstrtab")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top