Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for TestMul (0.27 sec)

  1. src/math/big/int_test.go

    }
    
    func checkMul(a, b []byte) bool {
    	var x, y, z1 Int
    	x.SetBytes(a)
    	y.SetBytes(b)
    	z1.Mul(&x, &y)
    
    	var z2 Int
    	z2.SetBytes(mulBytes(a, b))
    
    	return z1.Cmp(&z2) == 0
    }
    
    func TestMul(t *testing.T) {
    	if err := quick.Check(checkMul, nil); err != nil {
    		t.Error(err)
    	}
    }
    
    var mulRangesZ = []struct {
    	a, b int64
    	prod string
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	for i, test := range tests {
    		test.a.Add(test.b)
    		if test.a.Cmp(test.expected) != 0 {
    			t.Errorf("[%d] Expected %q, got %q", i, test.expected.String(), test.a.String())
    		}
    	}
    }
    
    func TestMul(t *testing.T) {
    	tests := []struct {
    		a        Quantity
    		b        int64
    		expected Quantity
    		ok       bool
    	}{
    		{decQuantity(10, 0, DecimalSI), 10, decQuantity(100, 0, DecimalSI), true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = tfl.sub %arg0, %arg1 {fused_activation_function = "RELU6"} : tensor<? x i64>
      func.return %0#0 : tensor<? x i64>
    }
    
    // CHECK-LABEL: testMul
    func.func @testMul(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
      // CHECK: tfl.mul %arg0, %arg1 {fused_activation_function = "RELU6"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server.go

    	KeyFile  string
    }
    
    // containerInterface defines the restful.Container functions used on the root container
    type containerInterface interface {
    	Add(service *restful.WebService) *restful.Container
    	Handle(path string, handler http.Handler)
    	Filter(filter restful.FilterFunction)
    	ServeHTTP(w http.ResponseWriter, r *http.Request)
    	RegisteredWebServices() []*restful.WebService
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/go.mod

    require (
    	github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
    	github.com/blang/semver/v4 v4.0.0 // indirect
    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
    	github.com/emicklei/go-restful/v3 v3.11.0 // indirect
    	github.com/fxamacker/cbor/v2 v2.7.0-beta // indirect
    	github.com/go-errors/errors v1.4.2 // indirect
    	github.com/go-logr/logr v1.4.1 // indirect
    	github.com/go-openapi/jsonpointer v0.19.6 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/go.mod

    go 1.22.0
    
    require (
    	github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
    	github.com/coreos/go-oidc v2.2.1+incompatible
    	github.com/coreos/go-systemd/v22 v22.5.0
    	github.com/emicklei/go-restful/v3 v3.11.0
    	github.com/fsnotify/fsnotify v1.7.0
    	github.com/gogo/protobuf v1.3.2
    	github.com/google/cel-go v0.20.1
    	github.com/google/gnostic-models v0.6.8
    	github.com/google/go-cmp v0.6.0
    	github.com/google/gofuzz v1.2.0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. go.mod

    	github.com/cpuguy83/go-md2man/v2 v2.0.3
    	github.com/cyphar/filepath-securejoin v0.2.4
    	github.com/distribution/reference v0.5.0
    	github.com/docker/go-units v0.5.0
    	github.com/emicklei/go-restful/v3 v3.11.0
    	github.com/fsnotify/fsnotify v1.7.0
    	github.com/go-logr/logr v1.4.1
    	github.com/godbus/dbus/v5 v5.1.0
    	github.com/gogo/protobuf v1.3.2
    	github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/go.mod

    // This is a generated file. Do not edit directly.
    
    module k8s.io/apiextensions-apiserver
    
    go 1.22.0
    
    require (
    	github.com/emicklei/go-restful/v3 v3.11.0
    	github.com/gogo/protobuf v1.3.2
    	github.com/google/cel-go v0.20.1
    	github.com/google/gnostic-models v0.6.8
    	github.com/google/go-cmp v0.6.0
    	github.com/google/gofuzz v1.2.0
    	github.com/google/uuid v1.3.1
    	github.com/spf13/cobra v1.8.0
    	github.com/spf13/pflag v1.0.5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. hack/unwanted-dependencies.json

            "github.com/prometheus/client_golang",
            "go.etcd.io/etcd/client/v2",
            "go.etcd.io/etcd/server/v3",
            "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful",
            "k8s.io/kube-openapi",
            "sigs.k8s.io/structured-merge-diff/v4"
          ],
          "github.com/mailru/easyjson": [
            "github.com/go-openapi/swag",
            "k8s.io/kube-openapi",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 12:31:38 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/go.sum

    github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxERmMY4rD+g=
    github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top