Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 737 for numKeys (0.42 sec)

  1. tensorflow/cc/experimental/libtf/tests/perf_test.cc

    TaggedValue AddTagged(TaggedValue args, TaggedValue kwargs) {
      return TaggedValue(args.tuple()[0].i64() + args.tuple()[1].i64());
    }
    
    int64_t AddRaw(int64_t a, int64_t b) { return a + b; }
    
    }  // namespace
    
    // Add numbers in a loop by calling a callable.
    void CallFunctions(::testing::benchmark::State& state) {
      Integer sum(0);
      Callable callable((impl::TaggedValue(impl::Func(AddTagged))));
      *callable.Call<Integer>(sum, Integer(30));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/sysnum_linux_generic.go

    //go:build linux && (arm64 || loong64 || riscv64)
    
    package unix
    
    // This file is named "generic" because at a certain point Linux started
    // standardizing on system call numbers across architectures. So far this
    // means only arm64 loong64 and riscv64 use the standard numbers.
    
    const (
    	getrandomTrap       uintptr = 278
    	copyFileRangeTrap   uintptr = 285
    	pidfdSendSignalTrap uintptr = 424
    	pidfdOpenTrap       uintptr = 434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 589 bytes
    - Viewed (0)
  3. docs_src/custom_request_and_route/tutorial002.py

            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    @app.post("/")
    async def sum_numbers(numbers: List[int] = Body()):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 932 bytes
    - Viewed (0)
  4. test/stress/maps.go

    	for m.Len() < 10000 {
    		Println("map at ", m.Len())
    		if m.Len()%100 == 0 {
    			runtime.Gosched()
    		}
    		m.AddItem()
    		m.AddItem()
    		m.DelItem()
    		var wg sync.WaitGroup
    		const numGets = 10
    		wg.Add(numGets)
    		for i := 0; i < numGets; i++ {
    			go func(i int) {
    				if i&1 == 0 {
    					m.GetItem()
    				} else {
    					m.RangeAll()
    				}
    				wg.Done()
    			}(i)
    		}
    		wg.Wait()
    	}
    	for m.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  5. docs_src/custom_request_and_route/tutorial001.py

            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = GzipRoute
    
    
    @app.post("/sum")
    async def sum_numbers(numbers: List[int] = Body()):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 973 bytes
    - Viewed (0)
  6. src/runtime/rand_test.go

    		if x == y && y == z {
    			t.Fatalf("fastrand three times = %#x, %#x, %#x, want different numbers", x, y, z)
    		}
    	}
    	{
    		x, y, z := fastrandn(1e9), fastrandn(1e9), fastrandn(1e9)
    		if x == y && y == z {
    			t.Fatalf("fastrandn three times = %#x, %#x, %#x, want different numbers", x, y, z)
    		}
    	}
    	{
    		x, y, z := fastrand64(), fastrand64(), fastrand64()
    		if x == y && y == z {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 23:44:31 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
            def reportsDir = dslDir.file('build/reports')
            reportsDir.createDir().file('my-report.pdf').touch()
            reportsDir.file('numbers.csv').touch()
    
            and: "A PDF report in a subdirectory of build/reports"
            reportsDir.createDir("metrics").file("scatterPlot.pdf").touch()
    
            when:
            succeeds('copyPdfReportsForArchiving')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/nchw_convolution_to_nhwc.mlir

    // RUN:   -split-input-file -verify-diagnostics | FileCheck %s
    
    // Tests that `stablehlo.transpose` ops are inserted for each of input, filter,
    // and output.
    // Output dimension numbers =  [b, 0, 1, f]x[0, 1, i, o]->[b, 0, 1, f]
    
    // CHECK-LABEL: nchw_conv
    // CHECK-SAME: %[[ARG:.+]]: tensor<1x8x4x4xf32>
    func.func @nchw_conv(%arg0: tensor<1x8x4x4xf32>) -> tensor<1x8x4x4xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 23:00:47 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/networking/v1/types_test.go

    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    // Test_ServiceSpecRemovedFieldProtobufNumberReservation tests that the reserved protobuf field numbers
    // for removed fields are not re-used. DO NOT remove this test for any reason, this ensures that tombstoned
    // protobuf field numbers are not accidentally reused by other fields.
    func Test_NetworkPolicyRemovedFieldProtobufNumberReservation(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/extensions/v1beta1/types_test.go

    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    // Test_ServiceSpecRemovedFieldProtobufNumberReservation tests that the reserved protobuf field numbers
    // for removed fields are not re-used. DO NOT remove this test for any reason, this ensures that tombstoned
    // protobuf field numbers are not accidentally reused by other fields.
    func Test_NetworkPolicyRemovedFieldProtobufNumberReservation(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top