- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for TestPax (0.15 sec)
-
src/archive/tar/writer_test.go
} got := buf.Bytes() if !bytes.Equal(want, got) { t.Fatalf("incorrect result: (-got +want)\n%v", bytediff(got, want)) } } }) } } func TestPax(t *testing.T) { // Create an archive with a large name fileinfo, err := os.Stat("testdata/small.txt") if err != nil { t.Fatal(err) } hdr, err := FileInfoHeader(fileinfo, "") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
test/typeparam/sliceimp.dir/main.go
} if s3 := a.Filter(s1[:0], func(i int) bool { return true }); len(s3) > 0 { panic(fmt.Sprintf("a.Filter(%v, identity) = %v, want empty slice", s1[:0], s3)) } } func TestMax() { s1 := []int{1, 2, 3, -5} if got, want := a.SliceMax(s1), 3; got != want { panic(fmt.Sprintf("a.Max(%v) = %d, want %d", s1, got, want)) } s2 := []string{"aaa", "a", "aa", "aaaa"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 4.6K bytes - Viewed (0) -
test/typeparam/slices.go
} if s3 := _Filter(s1[:0], func(i int) bool { return true }); len(s3) > 0 { panic(fmt.Sprintf("_Filter(%v, identity) = %v, want empty slice", s1[:0], s3)) } } func TestMax() { s1 := []int{1, 2, 3, -5} if got, want := _SliceMax(s1), 3; got != want { panic(fmt.Sprintf("_Max(%v) = %d, want %d", s1, got, want)) } s2 := []string{"aaa", "a", "aa", "aaaa"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} } } public void testMax_noArgs() { try { SignedBytes.max(); fail(); } catch (IllegalArgumentException expected) { } } public void testMax() { assertThat(SignedBytes.max(LEAST)).isEqualTo(LEAST); assertThat(SignedBytes.max(GREATEST)).isEqualTo(GREATEST); assertThat(SignedBytes.max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} } } public void testMax_noArgs() { try { SignedBytes.max(); fail(); } catch (IllegalArgumentException expected) { } } public void testMax() { assertThat(SignedBytes.max(LEAST)).isEqualTo(LEAST); assertThat(SignedBytes.max(GREATEST)).isEqualTo(GREATEST); assertThat(SignedBytes.max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
} public void testMax_noArgs() { try { UnsignedLongs.max(); fail(); } catch (IllegalArgumentException expected) { } } public void testMax() { assertThat(UnsignedLongs.max(LEAST)).isEqualTo(LEAST); assertThat(UnsignedLongs.max(GREATEST)).isEqualTo(GREATEST); assertThat( UnsignedLongs.max(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:36:17 UTC 2024 - 13.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/resources_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 01:57:38 UTC 2021 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } } public void testMax_noArgs() { try { UnsignedInts.max(); fail(); } catch (IllegalArgumentException expected) { } } public void testMax() { assertThat(UnsignedInts.max(LEAST)).isEqualTo(LEAST); assertThat(UnsignedInts.max(GREATEST)).isEqualTo(GREATEST); assertThat( UnsignedInts.max( (int) 8L,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 16:10:08 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
} } } public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> UnsignedBytes.max()); } public void testMax() { assertThat(UnsignedBytes.max(LEAST)).isEqualTo(LEAST); assertThat(UnsignedBytes.max(GREATEST)).isEqualTo(GREATEST); assertThat(UnsignedBytes.max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 13.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } } public void testMax_noArgs() { try { UnsignedInts.max(); fail(); } catch (IllegalArgumentException expected) { } } public void testMax() { assertThat(UnsignedInts.max(LEAST)).isEqualTo(LEAST); assertThat(UnsignedInts.max(GREATEST)).isEqualTo(GREATEST); assertThat( UnsignedInts.max( (int) 8L,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 16:10:08 UTC 2024 - 12.7K bytes - Viewed (0)