- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fPtr (0.06 sec)
-
src/reflect/example_test.go
return []reflect.Value{in[1], in[0]} } // makeSwap expects fptr to be a pointer to a nil function. // It sets that pointer to a new function created with MakeFunc. // When the function is invoked, reflect turns the arguments // into Values, calls swap, and then turns swap's result slice // into the values returned by the new function. makeSwap := func(fptr any) { // fptr is a pointer to a function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:04:36 UTC 2022 - 4.5K bytes - Viewed (0) -
src/testing/quick/quick_test.go
reportError("fInt32Alias", CheckEqual(fInt32Alias, fInt32Alias, nil), t) reportError("fMap", CheckEqual(fMap, fMap, nil), t) reportError("fMapAlias", CheckEqual(fMapAlias, fMapAlias, nil), t) reportError("fPtr", CheckEqual(fPtr, fPtr, nil), t) reportError("fPtrAlias", CheckEqual(fPtrAlias, fPtrAlias, nil), t) reportError("fSlice", CheckEqual(fSlice, fSlice, nil), t) reportError("fSliceAlias", CheckEqual(fSliceAlias, fSliceAlias, nil), t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 9K bytes - Viewed (0) -
src/encoding/xml/read_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go
newFSMap = map[string]*flowcontrol.FlowSchema{} add := func(ftr *fsTestingRecord) { newFSs = append(newFSs, ftr.fs) newFSMap[ftr.fs.Name] = ftr.fs newFTRs[ftr.fs.Name] = ftr if ftr.wellFormed { if ftr.matchesAllNonResourceRequests && fsPrecedes(ftr.fs, catchAlls[false]) { catchAlls[false] = ftr.fs } if ftr.matchesAllResourceRequests && fsPrecedes(ftr.fs, catchAlls[true]) { catchAlls[true] = ftr.fs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go
fs.Spec.Rules = append(fs.Spec.Rules, rule) ftr.addDigests(ruleMatchingRDigests, true) ftr.addDigests(ruleMatchingNDigests, true) ftr.addDigests(ruleSkippingRDigests, false) ftr.addDigests(ruleSkippingNDigests, false) } if nRules == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 24.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go
t.Run(fmt.Sprintf("trial%d:", i), func(t *testing.T) { ftr := genFS(t, rng, fmt.Sprintf("fs%d", i), rng.Float32() < 0.2, goodPLNames, badPLNames) checkFTR(t, ftr) }) } } func checkFTR(t *testing.T, ftr *fsTestingRecord) { for expectMatch, digests1 := range ftr.digests { if testDebugLogs { t.Logf("%s.digests[%v] = %#+v", ftr.fs.Name, expectMatch, digests1) } for _, digests2 := range digests1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 13.3K bytes - Viewed (0) -
src/internal/coverage/decodecounter/decodecounterfile.go
ftrSize := int64(unsafe.Sizeof(cdr.ftr)) if _, err := cdr.mr.Seek(-ftrSize, io.SeekEnd); err != nil { return err } if err := binary.Read(cdr.mr, binary.LittleEndian, &cdr.ftr); err != nil { return err } if !checkMagic(cdr.ftr.Magic) { return fmt.Errorf("invalid magic string (not a counter data file)") } if cdr.ftr.NumSegments == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 15:29:54 UTC 2023 - 9.8K bytes - Viewed (0) -
internal/disk/stat_solaris.go
info = Info{ Total: uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks), Free: uint64(s.Frsize) * uint64(s.Bavail), Files: uint64(s.Files), Ffree: uint64(s.Ffree), FSType: getFSType(s.Fstr[:]), } if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
Frsize uint64 Blocks uint64 Bfree uint64 Bavail uint64 Files uint64 Ffree uint64 Favail uint64 Fsid uint64 Basetype [16]int8 Flag uint64 Namemax uint64 Fstr [32]int8 } type RawSockaddrInet4 struct { Family uint16 Port uint16 Addr [4]byte /* in_addr */ Zero [8]int8 } type RawSockaddrInet6 struct { Family uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy
- org:leaf between versions 2.0 and 1.0""") op.result != null op.result.resolvedDependenciesCount == 2 } // This documents the current behavior, not necessarily the smartest one. // FTR This behaves the same in 4.7, 4.8 and 4.9 def "non fatal errors incur no resolution failure"() { def mod = mavenHttpRepo.module('org', 'a', '1.0') mod.pomFile << "corrupt" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 28.6K bytes - Viewed (0)