Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for Malloc (0.14 sec)

  1. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-out.yaml

    Jackie Elliott <******@****.***> 1713578333 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

          auto uses = func.getSymbolUses(module);
          if (!uses) continue;
          for (auto& use : *uses) {
            // Only `mlir::func::CallOp` is supported as this requires knowing how
            // to rewrite arguments and results to a function.
            if (!isa<mlir::func::CallOp>(use.getUser())) continue;
            auto caller_parent_func =
                use.getUser()->getParentOfType<func::FuncOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device.cc

        return it->second.get();
      }
    
      std::unique_ptr<XlaDeviceAllocator> alloc =
          std::make_unique<XlaDeviceAllocator>(
              backend->stream_executors()[device_ordinal]);
      XlaDeviceAllocator* alloc_ptr = alloc.get();
      state.allocators_[{backend, device_ordinal}] = std::move(alloc);
      return alloc_ptr;
    }
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. src/crypto/ed25519/ed25519_test.go

    	}
    	testenv.SkipIfOptimizationOff(t)
    
    	if allocs := testing.AllocsPerRun(100, func() {
    		seed := make([]byte, SeedSize)
    		message := []byte("Hello, world!")
    		priv := NewKeyFromSeed(seed)
    		pub := priv.Public().(PublicKey)
    		signature := Sign(priv, message)
    		if !Verify(pub, message, signature) {
    			t.Fatal("signature didn't verify")
    		}
    	}); allocs > 0 {
    		t.Errorf("expected zero allocations, got %0.1f", allocs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/runtime/slice.go

    		to = mallocgc(tomem, et, true)
    		if copymem > 0 && writeBarrier.enabled {
    			// Only shade the pointers in old.array since we know the destination slice to
    			// only contains nil pointers because it has been cleared during alloc.
    			//
    			// It's safe to pass a type to this function as an optimization because
    			// from and to only ever refer to memory representing whole values of
    			// type et. See the comment on bulkBarrierPreWrite.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/covdata/metamerge.go

    // meta-data information.  It helps implement the "merge", "subtract",
    // and "intersect" subcommands.
    
    import (
    	"crypto/md5"
    	"fmt"
    	"internal/coverage"
    	"internal/coverage/calloc"
    	"internal/coverage/cmerge"
    	"internal/coverage/decodecounter"
    	"internal/coverage/decodemeta"
    	"internal/coverage/encodecounter"
    	"internal/coverage/encodemeta"
    	"internal/coverage/slicewriter"
    	"io"
    	"os"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/syntax/parser_test.go

    	var x Expr = NewName(Pos{}, "x")
    	allocs := testing.AllocsPerRun(1000, func() {
    		list := UnpackListExpr(x)
    		if len(list) != 1 || list[0] != x {
    			t.Fatalf("unexpected result")
    		}
    	})
    
    	if allocs > 0 {
    		errorf := t.Errorf
    		if testenv.OptimizationOff() {
    			errorf = t.Logf // noopt builder disables inlining
    		}
    		errorf("UnpackListExpr allocated %v times", allocs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top