- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 69 for testvol (0.15 sec)
-
src/crypto/internal/bigmod/nat_test.go
for i, tt := range examples { got := (&Nat{tt.in}).expand(tt.n) if len(got.limbs) != len(tt.out) || got.Equal(&Nat{tt.out}) != 1 { t.Errorf("%d: got %v, expected %v", i, got, tt.out) } } } func TestMod(t *testing.T) { m := modulusFromBytes([]byte{0x06, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d}) x := natFromBytes([]byte{0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:56:20 UTC 2024 - 11.6K 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) -
tensorflow/c/BUILD
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 27 18:00:18 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy
import org.junit.Assert; import org.junit.Test; public class PowerizeTest { @Test public void testPow() { Powerize powerize = new Powerize(); Assert.assertEquals(1, powerize.pow(1, 1)); Assert.assertEquals(4, powerize.pow(2, 2));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 26.3K bytes - Viewed (0) -
src/syscall/js/js_test.go
func TestWasmImport(t *testing.T) { a := uint32(3) b := uint32(5) want := a + b if got := testAdd(a, b); got != want { t.Errorf("got %v, want %v", got, want) } } func TestBool(t *testing.T) { want := true o := dummys.Get("someBool") if got := o.Bool(); got != want { t.Errorf("got %#v, want %#v", got, want) } dummys.Set("otherBool", want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
src/fmt/scan_test.go
func (ec *eofCounter) Read(b []byte) (n int, err error) { n, err = ec.reader.Read(b) if n == 0 { ec.eofCount++ } return } // TestEOF verifies that when we scan, we see at most EOF once per call to a // Scan function, and then only when it's really an EOF. func TestEOF(t *testing.T) { ec := &eofCounter{strings.NewReader("123\n"), 0} var a int n, err := Fscanln(ec, &a) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 20:25:13 UTC 2023 - 39.3K bytes - Viewed (0) -
src/cmd/doc/doc_test.go
// // Example // // a\.ExportedField = 123 // // Text after pre-formatted block\.`, `ExportedField int`, }, []string{"ignore:directive"}, }, } func TestDoc(t *testing.T) { maybeSkip(t) defer log.SetOutput(log.Writer()) for _, test := range tests { var b bytes.Buffer var flagSet flag.FlagSet var logbuf bytes.Buffer log.SetOutput(&logbuf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0) -
src/internal/reflectlite/all_test.go
func TestMapSetNil(t *testing.T) { m := make(map[string]int) vm := ValueOf(&m) vm.Elem().Set(Zero(vm.Elem().Type())) if m != nil { t.Errorf("got non-nil (%p), want nil", m) } } func TestAll(t *testing.T) { testType(t, 1, TypeOf((int8)(0)), "int8") testType(t, 2, TypeOf((*int8)(nil)).Elem(), "int8") typ := TypeOf((*struct { c chan *int32 d float32 })(nil))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:26:08 UTC 2023 - 24.2K bytes - Viewed (0) -
src/context/x_test.go
package context_test import ( . "context" "errors" "fmt" "math/rand" "runtime" "strings" "sync" "testing" "time" ) // Each XTestFoo in context_test.go must be called from a TestFoo here to run. func TestParentFinishesChild(t *testing.T) { XTestParentFinishesChild(t) // uses unexported context types } func TestChildFinishesFirst(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 26.3K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
got := ExpectedExpiryTime(tc.modTime, int(tc.days)) if !got.Equal(tc.expected) { t.Fatalf("Expected %v to be equal to %v", got, tc.expected) } }) } } func TestEval(t *testing.T) { testCases := []struct { inputConfig string objectName string objectTags string objectModTime time.Time isDelMarker bool
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0)