- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for TestMul (0.17 sec)
-
src/math/bits/bits_test.go
{_M32, _M32, _M32 - 1, 1, 42}, } { testMul("Mul32", Mul32, a.x, a.y, a.hi, a.lo) testMul("Mul32 symmetric", Mul32, a.y, a.x, a.hi, a.lo) testDiv("Div32", Div32, a.hi, a.lo+a.r, a.y, a.x, a.r) testDiv("Div32 symmetric", Div32, a.hi, a.lo+a.r, a.x, a.y, a.r) } } func TestMulDiv64(t *testing.T) { testMul := func(msg string, f func(x, y uint64) (hi, lo uint64), x, y, hi, lo uint64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 22 20:11:06 UTC 2020 - 32.5K 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) -
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/registry/rest/rest.go
// WATCH: (n/a) -> NamedWatcher // CREATE: (n/a) -> NamedCreater // DELETE: Deleter -> NamedDeleter // UPDATE: Update -> NamedUpdater // Storage is a generic interface for RESTful storage services. // Resources which are exported to the RESTful API of apiserver need to implement this interface. It is expected // that objects may implement any of the below interfaces. type Storage interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 18.6K 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) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
// the go-restful RouteFunction instead of a HandlerFunc plus some Kubernetes endpoint specific information. func InstrumentRouteFunc(verb, group, version, resource, subresource, scope, component string, deprecated bool, removedRelease string, routeFunc restful.RouteFunction) restful.RouteFunction { return restful.RouteFunction(func(req *restful.Request, response *restful.Response) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 35K bytes - Viewed (0) -
pkg/serviceaccount/openidmetadata_test.go
package serviceaccount_test import ( "crypto/ecdsa" "crypto/rsa" "crypto/x509" "encoding/json" "math/big" "net/http" "net/http/httptest" "net/url" "testing" restful "github.com/emicklei/go-restful/v3" "github.com/google/go-cmp/cmp" jose "gopkg.in/square/go-jose.v2" "k8s.io/kubernetes/pkg/routes" "k8s.io/kubernetes/pkg/serviceaccount" ) const (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 01:53:17 UTC 2023 - 14.8K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1/types_swagger_doc_generated.go
limitations under the License. */ package v1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1/types_swagger_doc_generated.go
limitations under the License. */ package v1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/types_swagger_doc_generated.go
limitations under the License. */ package v1alpha1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 10.6K bytes - Viewed (0)