- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for fixup (0.09 sec)
-
src/net/main_conf_test.go
// and returns a fixup function to restore the old settings. func forceGoDNS() func() { c := systemConf() oldGo := c.netGo oldCgo := c.netCgo fixup := func() { c.netGo = oldGo c.netCgo = oldCgo } c.netGo = true c.netCgo = false return fixup } // forceCgoDNS forces the resolver configuration to use the cgo resolver // and returns a fixup function to restore the old settings.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 20:29:27 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
"strconv" "strings" ) // names records state information collected in the first fixup // phase so that it can be passed to the second fixup phase. type names struct { MetaVar *ir.Name PkgIdVar *ir.Name InitFn *ir.Func CounterMode coverage.CounterMode CounterGran coverage.CounterGranularity } // Fixup adds calls to the pkg init function as appropriate to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
src/net/lookup_test.go
} if runtime.GOOS == "ios" { t.Skip("no resolv.conf on iOS") } defer dnsWaitGroup.Wait() if fixup := forceGoDNS(); fixup != nil { testDots(t, "go") fixup() } if fixup := forceCgoDNS(); fixup != nil { testDots(t, "cgo") fixup() } } func testDots(t *testing.T, mode string) { names, err := LookupAddr("8.8.8.8") // Google dns server if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/config_test.go
testCases := map[string]struct { ConfigBody string ExpectedAdmissionConfig *apiserver.AdmissionConfiguration PluginNames []string }{ "v1alpha1 configuration - path fixup": { ConfigBody: `{ "apiVersion": "apiserver.k8s.io/v1alpha1", "kind": "AdmissionConfiguration", "plugins": [ {"name": "ImagePolicyWebhook", "path": "image-policy-webhook.json"}, {"name": "ResourceQuota"} ]}`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/internal/obj/dwarf.go
// (depending on what happens with optimization, some vars may be // eliminated). // // The fixup table below helps overcome this hurdle. At the point // where a parameter/variable reference is made (via a call to // "ReferenceChildDIE"), a fixup record is generate that records // the relocation that is targeting that child variable. At a later
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:40:28 UTC 2023 - 22K bytes - Viewed (0) -
src/math/big/natdiv.go
(As before, this fixup is only needed at most twice.) Now that q̂ = ⌊uₙuₙ₋₁uₙ₋₂ / vₙ₋₁vₙ₋₂⌋, as mentioned above it is at most one away from the correct q, and we've avoided doing any n-digit math. (If we need the new remainder, it can be computed as r̂·B + uₙ₋₂ - q̂·vₙ₋₂.) The final check u < q̂·v and the possible fixup must be done at full precision.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 34.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules
(CMPconst [0] z:(ANDconst [c] x)) && int64(uint16(c)) == c && v.Block == z.Block => (CMPconst [0] convertPPC64OpToOpCC(z)) // And finally, fixup the flag user. (CMPconst <t> [0] (Select0 z:((ADD|AND|ANDN|OR|SUB|NOR|XOR)CC x y))) => (Select1 <t> z) (CMPconst <t> [0] (Select0 z:((ADDCCconst|ANDCCconst|NEGCC|CNTLZDCC|RLDICLCC) y))) => (Select1 <t> z)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 3.8K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
// p *N1 // } // // To handle such cases, the parser generates a fixup record (below) and // delays setting of N1's underlying type until parsing is complete, at // which point fixups are applied. type fixupRecord struct { toUpdate *types.Named // type to modify when fixup is processed target types.Type // type that was incomplete when fixup was created }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
src/internal/bytealg/count_ppc64x.s
CMP R4, $1 BLT tail_0 MOVBZ (R3), R12 CMPB R12, R5, R12 ANDCC $0x8, R12, R12 ADD R12, R18, R18 #endif tail_0: // No remaining tail to count. SRD $3, R18, R3 // Fixup count, it is off by 8x.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 20:30:44 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm_test.go
t.Fatal(err) } if !matched { t.Errorf("Failed to detect long forward BC fixup in (%v):%s\n", platenv, out) } matched, err = regexp.MatchString(strings.Join(test.backpattern, "\n\t*"), string(out)) if err != nil { t.Fatal(err) } if !matched { t.Errorf("Failed to detect long backward BC fixup in (%v):%s\n", platenv, out) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 22:14:57 UTC 2024 - 17.3K bytes - Viewed (0)