- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for TestMul (0.15 sec)
-
test/fixedbugs/issue66066.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 677 bytes - Viewed (0) -
src/crypto/aes/aes_test.go
} // i *= x in GF(2) modulo the polynomial i <<= 1 if i&0x100 != 0 { i ^= poly } } return s } // Test all mul inputs against bit-by-bit n² algorithm. func TestMul(t *testing.T) { for i := uint32(0); i < 256; i++ { for j := uint32(0); j < 256; j++ { // Multiply i, j bit by bit. s := uint8(0) for k := uint(0); k < 8; k++ { for l := uint(0); l < 8; l++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 14:58:19 UTC 2024 - 12.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
return func(req *restful.Request, res *restful.Response) { handlers.DeleteCollection(r, checkBody, &scope, admit)(res.ResponseWriter, req.Request) } } func restfulUpdateResource(r rest.Updater, scope handlers.RequestScope, admit admission.Interface) restful.RouteFunction { return func(req *restful.Request, res *restful.Response) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper.go
} func (wrapped *WrappedHandler) restfulHandle(req *restful.Request, resp *restful.Response) { wrapped.ServeHTTP(resp.ResponseWriter, req.Request) } func (wrapped *WrappedHandler) GenerateWebService(prefix string, returnType interface{}) *restful.WebService { mediaTypes, _ := negotiation.MediaTypesForSerializer(wrapped.s) ws := new(restful.WebService) ws.Path(prefix) ws.Doc("get available API versions")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/groupversion.go
See the License for the specific language governing permissions and limitations under the License. */ package endpoints import ( "path" "time" restful "github.com/emicklei/go-restful/v3" apidiscoveryv2 "k8s.io/api/apidiscovery/v2" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go
func (b *builder) buildRoute(root, path, httpMethod, actionVerb, operationVerb string, sample interface{}) *restful.RouteBuilder { var namespaced string if b.namespaced { namespaced = "Namespaced" } route := b.ws.Method(httpMethod). Path(root+path). To(func(req *restful.Request, res *restful.Response) {}). Doc(b.descriptionFor(path, operationVerb)).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 22.8K bytes - Viewed (0)