- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for cFns (0.04 sec)
-
cmd/object-api-utils.go
// Call the cleanup funcs for i := len(cFns) - 1; i >= 0; i-- { cFns[i]() } return nil, err } } decReader := io.LimitReader(s2Reader, decLength) if decLength > compReadAheadSize { rah, err := readahead.NewReaderSize(decReader, compReadAheadBuffers, compReadAheadBufSize) if err == nil { decReader = rah cFns = append([]func(){func() { rah.Close()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 36.3K bytes - Viewed (0) -
test/typeparam/cons.go
Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any } type Nil[a any] struct { } func (xs Nil[a]) Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any { return casenil.Apply(xs) } type Cons[a any] struct { Head a Tail List[a] } func (xs Cons[a]) Match(casenil Function[Nil[a], any], casecons Function[Cons[a], any]) any { return casecons.Apply(xs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 21 23:41:49 UTC 2022 - 2K bytes - Viewed (0) -
platforms/core-runtime/functional/src/main/java/org/gradle/internal/collect/PersistentList.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 09:24:00 UTC 2024 - 4.4K bytes - Viewed (0) -
test/typeparam/issue50485.dir/a.go
}) } } type HList interface { sealed() } // Header is constrains interface type, enforce Head type of Cons is HT type Header[HT any] interface { HList Head() HT } // Cons means H :: T // zero value of Cons[H,T] is not allowed. // so Cons defined as interface type type Cons[H any, T HList] interface { HList Head() H Tail() T } type Nil struct { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue59740.go
// original test case from issue type List[T any] func(T, func(T, List[T]) T) T func nil[T any](n T, _ List[T]) T { return n } func cons[T any](h T, t List[T]) List[T] { return func(n T, f func(T, List[T]) T) T { return f(h, t) } } func nums[T any](t T) List[T] { return cons(t, cons(t, nil /* ERROR "type func(n T, _ List[T]) T of nil[T] does not match inferred type List[T] for List[T]" */ [T]))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 12:32:24 UTC 2023 - 800 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/term_plan9.go
"runtime" "golang.org/x/sys/plan9" ) type state struct{} func isTerminal(fd int) bool { path, err := plan9.Fd2path(fd) if err != nil { return false } return path == "/dev/cons" || path == "/mnt/term/dev/cons" } func makeRaw(fd int) (*State, error) { return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) } func getState(fd int) (*State, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 1.1K bytes - Viewed (0) -
src/crypto/x509/root_unix_test.go
fileEnv string dirEnv string files []string dirs []string cns []string }{ { // Environment variables override the default locations preventing fall through. name: "override-defaults", fileEnv: testMissing, dirEnv: testMissing, files: []string{testFile}, dirs: []string{testDir}, cns: nil, }, { // File environment overrides default file locations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy
given: buildFile << """ configurations { consumable('cons') resolvable('res') dependencyScope('dep') } configurations.cons.canBeConsumed = true configurations.cons.canBeResolved = false configurations.cons.canBeDeclared = false configurations.res.canBeConsumed = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 01:42:49 UTC 2024 - 27.5K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/gl/stopwords.txt
a aínda alí aquel aquela aquelas aqueles aquilo aquí ao aos as así á ben cando che co coa comigo con connosco contigo convosco coas cos cun cuns cunha cunhas da dalgunha dalgunhas dalgún dalgúns das de del dela delas deles desde deste do dos dun duns dunha dunhas e el ela elas eles
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Jul 19 06:31:02 UTC 2018 - 932 bytes - Viewed (0) -
src/runtime/mgcpacer.go
// allocated (cons) per unit of scan work completed (mark) in a GC // cycle, divided by the CPU time spent on each activity. // // Updated at the end of each GC cycle, in endCycle. consMark float64 // lastConsMark is the computed cons/mark value for the previous 4 GC // cycles. Note that this is *not* the last value of consMark, but the // measured cons/mark value in endCycle. lastConsMark [4]float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0)