- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 230 for BarTest (0.17 sec)
-
platforms/jvm/war/src/test/groovy/org/gradle/api/tasks/bundling/WarTest.groovy
package org.gradle.api.tasks.bundling import org.gradle.api.Action import org.gradle.api.file.CopySpec import org.gradle.api.plugins.JavaBasePlugin import org.gradle.test.fixtures.archive.JarTestFixture class WarTest extends AbstractArchiveTaskTest { War war def setup() { war = createTask(War) configure(war) } @Override AbstractArchiveTask getArchiveTask() { war }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 18:51:45 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/jvm/tasks/JarTest.groovy
import org.gradle.api.tasks.bundling.AbstractArchiveTask import org.gradle.api.tasks.bundling.AbstractArchiveTaskTest import org.gradle.test.fixtures.archive.JarTestFixture class JarTest extends AbstractArchiveTaskTest { Jar jar def setup() { jar = createTask(Jar) configure(jar) } @Override AbstractArchiveTask getArchiveTask() { jar }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarTest.groovy
import org.gradle.plugins.ear.descriptor.EarSecurityRole import org.gradle.plugins.ear.descriptor.internal.DefaultDeploymentDescriptor import org.gradle.test.fixtures.archive.JarTestFixture class EarTest extends AbstractArchiveTaskTest { Ear ear def setup() { ear = createTask(Ear) configure(ear) // This would normally be set by the EarPlugin ear.libDirName = "lib" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 19:58:25 UTC 2023 - 4.7K bytes - Viewed (0) -
test/typeparam/list.go
func main() { i3 := &_List[int]{nil, 1} i2 := &_List[int]{i3, 3} i1 := &_List[int]{i2, 2} if got, want := i1.Largest(), 3; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } b3 := &_List[byte]{nil, byte(1)} b2 := &_List[byte]{b3, byte(3)} b1 := &_List[byte]{b2, byte(2)} if got, want := b1.Largest(), byte(3); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Dec 03 17:08:51 UTC 2022 - 2.4K bytes - Viewed (0) -
test/typeparam/listimp.dir/main.go
func main() { i3 := &a.List[int]{nil, 1} i2 := &a.List[int]{i3, 3} i1 := &a.List[int]{i2, 2} if got, want := i1.Largest(), 3; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } b3 := &a.List[byte]{nil, byte(1)} b2 := &a.List[byte]{b3, byte(3)} b1 := &a.List[byte]{b2, byte(2)} if got, want := b1.Largest(), byte(3); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 1.4K bytes - Viewed (0) -
test/string_lit.go
assert("\\x\\u\\U\\", `\x\u\U\`, "backslash 3 (backquote)") // test large and surrogate-half runes. perhaps not the most logical place for these tests. var r int32 r = 0x10ffff // largest rune value s = string(r) assert(s, "\xf4\x8f\xbf\xbf", "largest rune") r = 0x10ffff + 1 s = string(r) assert(s, "\xef\xbf\xbd", "too-large rune") r = 0xD800 s = string(r) assert(s, "\xef\xbf\xbd", "surrogate rune min") r = 0xDFFF
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 13 01:17:02 UTC 2013 - 3.6K bytes - Viewed (0) -
test/typeparam/listimp.dir/a.go
~float32 | ~float64 | ~string } // List is a linked list of ordered values of type T. type List[T Ordered] struct { Next *List[T] Val T } func (l *List[T]) Largest() T { var max T for p := l; p != nil; p = p.Next { if p.Val > max { max = p.Val } } return max } type OrderedNum interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 |
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Dec 03 17:08:51 UTC 2022 - 1.1K bytes - Viewed (0) -
src/hash/adler32/adler32.go
// significant-byte first (network) order. package adler32 import ( "errors" "hash" "internal/byteorder" ) const ( // mod is the largest prime that is less than 65536. mod = 65521 // nmax is the largest n such that // 255 * n * (n+1) / 2 + (n+1) * (mod-1) <= 2^32-1. // It is mentioned in RFC 1950 (search for "5552"). nmax = 5552 ) // The size of an Adler-32 checksum in bytes.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 3K bytes - Viewed (0) -
src/net/http/cookiejar/jar_test.go
type query struct { toURL string // the URL in the Cookies call want string // the expected list of cookies (order matters) } // run runs the jarTest. func (test jarTest) run(t *testing.T, jar *Jar) { now := tNow // Populate jar with cookies. setCookies := make([]*http.Cookie, len(test.setCookies)) for i, cs := range test.setCookies {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 34K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic_test.go
} m := umagic(n, int64(c)).m s := umagic(n, int64(c)).s C := new(big.Int).SetUint64(c) M := new(big.Int).SetUint64(m) M.Add(M, TwoN) // Find largest multiple of c. Mul := new(big.Int).Div(Max, C) Mul.Mul(Mul, C) mul := Mul.Uint64() // Try some input values, mostly around multiples of c. for _, x := range [...]uint64{0, 1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 22:02:07 UTC 2019 - 9.1K bytes - Viewed (0)