- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 112 for testval (0.1 sec)
-
src/bytes/buffer_test.go
func TestCapWithSliceAndWrittenData(t *testing.T) { buf := NewBuffer(make([]byte, 0, 10)) buf.Write([]byte("test")) n := buf.Cap() if n != 10 { t.Errorf("expected 10, got %d", n) } } func TestNil(t *testing.T) { var b *Buffer if b.String() != "<nil>" { t.Errorf("expected <nil>; got %q", b.String()) } } func TestReadFrom(t *testing.T) { var buf Buffer for i := 3; i < 30; i += 3 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} @GwtIncompatible public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> max()); } public void testMax() { assertThat(max(GREATEST)).isEqualTo(GREATEST); assertThat(max(LEAST)).isEqualTo(LEAST); assertThat(max((float) 8, (float) 6, (float) 7, (float) 5, (float) 3, (float) 0, (float) 9))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
.isEqualTo(3); } @GwtIncompatible public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> max()); } public void testMax() { assertThat(max(LEAST)).isEqualTo(LEAST); assertThat(max(GREATEST)).isEqualTo(GREATEST); assertThat(max((int) 8, (int) 6, (int) 7, (int) 5, (int) 3, (int) 0, (int) 9)) .isEqualTo((int) 9); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
} @GwtIncompatible public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> max()); } public void testMax() { assertThat(max(LEAST)).isEqualTo(LEAST); assertThat(max(GREATEST)).isEqualTo(GREATEST); assertThat( max((double) 8, (double) 6, (double) 7, (double) 5, (double) 3, (double) 0, (double) 9))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} @GwtIncompatible public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> max()); } public void testMax() { assertThat(max(GREATEST)).isEqualTo(GREATEST); assertThat(max(LEAST)).isEqualTo(LEAST); assertThat(max((float) 8, (float) 6, (float) 7, (float) 5, (float) 3, (float) 0, (float) 9))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
.isEqualTo(3); } public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> max()); } public void testMax() { assertThat(max(MIN_VALUE)).isEqualTo(MIN_VALUE); assertThat(max(MAX_VALUE)).isEqualTo(MAX_VALUE); assertThat(max((long) 8, (long) 6, (long) 7, (long) 5, (long) 3, (long) 0, (long) 9))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
list.add("cool"); assertFalse(any(list.iterator(), predicate)); list.add("pants"); assertTrue(any(list.iterator(), predicate)); } public void testAll() { List<String> list = Lists.newArrayList(); Predicate<String> predicate = equalTo("cool"); assertTrue(all(list.iterator(), predicate)); list.add("cool");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
src/bufio/bufio.go
// Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer // object, creating another object (Reader or Writer) that also implements // the interface but provides buffering and some help for textual I/O. package bufio import ( "bytes" "errors" "io" "strings" "unicode/utf8" ) const ( defaultBufSize = 4096 ) var (
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64enc.s
TESTW R11, R11 // 664585db TESTL $4045620583, (BX) // f703674523f1 TESTL $4045620583, (R11) // 41f703674523f1 TESTL $4045620583, DX // f7c2674523f1 TESTL $4045620583, R11 // 41f7c3674523f1 TESTL DX, (BX) // 8513 TESTL R11, (BX) // 44851b TESTL DX, (R11) // 418513
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 08 21:38:44 UTC 2021 - 581.9K bytes - Viewed (1)