- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for test_uint (0.14 sec)
-
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
private static final byte GREATEST = (byte) 255; // Only in this class, VALUES must be strictly ascending private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST}; public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 13.4K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/funcprops_test.go
func TestFuncProperties(t *testing.T) { td := t.TempDir() // td = "/tmp/qqq" // os.RemoveAll(td) // os.Mkdir(td, 0777) testenv.MustHaveGoBuild(t) // NOTE: this testpoint has the unfortunate characteristic that it // relies on the installed compiler, meaning that if you make // changes to the inline heuristics code in your working copy and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 15K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_dependencies.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 01:37:51 UTC 2023 - 30.1K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
if err := encAndDec(t7, &t7p); err != nil { t.Error(err) } } var testInt int var testFloat32 float32 var testString string var testSlice []string var testMap map[string]int var testArray [7]int type SingleTest struct { in any out any err string } var singleTests = []SingleTest{ {17, &testInt, ""}, {float32(17.5), &testFloat32, ""}, {"bike shed", &testString, ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
src/expvar/expvar_test.go
vars.m.Delete(k) } vars.keys = nil } func TestNil(t *testing.T) { RemoveAll() val := Get("missing") if val != nil { t.Errorf("got %v, want nil", val) } } func TestInt(t *testing.T) { RemoveAll() reqs := NewInt("requests") if i := reqs.Value(); i != 0 { t.Errorf("reqs.Value() = %v, want 0", i) } if reqs != Get("requests").(*Int) { t.Errorf("Get() failed.") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:46:19 UTC 2024 - 13.4K bytes - Viewed (0) -
src/math/big/rat_test.go
x, _ := new(Rat).SetString(test.rat1) y, _ := new(Rat).SetString(test.rat2) out := x.Cmp(y) if out != test.out { t.Errorf("#%d got out = %v; want %v", i, out, test.out) } } } func TestIsInt(t *testing.T) { one := NewInt(1) for _, a := range setStringTests { x, ok := new(Rat).SetString(a.in) if !ok { continue } i := x.IsInt() e := x.Denom().Cmp(one) == 0 if i != e {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 00:15:59 UTC 2022 - 18.9K bytes - Viewed (0) -
src/syscall/js/js_test.go
t.Errorf("got %#v, want %#v", got, want) } if got, want := js.Global().Get("setTimeout").String(), "<function>"; got != want { t.Errorf("got %#v, want %#v", got, want) } } func TestInt(t *testing.T) { want := 42 o := dummys.Get("someInt") if got := o.Int(); got != want { t.Errorf("got %#v, want %#v", got, want) } dummys.Set("otherInt", 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) -
platforms/documentation/docs/src/main/resources/header.html
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 05:15:02 UTC 2024 - 35.6K bytes - Viewed (0)