Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for fixup (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. test/codegen/arithmetic.go

    	// amd64:`INCL`
    	a++
    	// amd64:`DECL`
    	b--
    	// amd64:`SUBL.*-128`
    	c += 128
    	return a, b, c
    }
    
    // Divide -> shift rules usually require fixup for negative inputs.
    // If the input is non-negative, make sure the fixup is eliminated.
    func divInt(v int64) int64 {
    	if v < 0 {
    		return 0
    	}
    	// amd64:-`.*SARQ.*63,`, -".*SHRQ", ".*SARQ.*[$]9,"
    	return v / 512
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. src/encoding/json/stream.go

    	dec.scanp += n
    
    	// Don't save err from unmarshal into dec.err:
    	// the connection is still usable since we read a complete JSON
    	// object from it before the error happened.
    	err = dec.d.unmarshal(v)
    
    	// fixup token streaming state
    	dec.tokenValueEnd()
    
    	return err
    }
    
    // Buffered returns a reader of the data remaining in the Decoder's
    // buffer. The reader is valid until the next call to [Decoder.Decode].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go

    					Allowed:   true,
    					PatchType: &invalidv1Patch,
    				},
    			},
    			expectErr: `validating webhook may not return response.patchType`,
    		},
    
    		// v1beta1 invalid responses that we have to allow/fixup for compatibility
    		{
    			name: "v1beta1 wrong group/version/kind",
    			uid:  "123",
    			review: &admissionv1beta1.AdmissionReview{
    				TypeMeta: metav1.TypeMeta{APIVersion: "admission.k8s.io2/v2", Kind: "AdmissionReview2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/parse.go

    	corner bool // noticed corner case to ignore in cross-implementation testing
    
    	// inlines
    	s       string
    	emitted int // s[:emitted] has been emitted into list
    	list    []Inline
    
    	// for fixup at end
    	lists []*List
    	texts []*Text
    
    	backticks backtickParser
    }
    
    func (p *parseState) newText(pos Position, text string) *Text {
    	b := &Text{Position: pos, raw: text}
    	p.texts = append(p.texts, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_arm.s

    	MOVW	R6, 12(R1)
    
    	MOVW	$SYS_clone, R7
    	SWI	$0
    
    	// In parent, return.
    	CMP	$0, R0
    	BEQ	3(PC)
    	MOVW	R0, ret+20(FP)
    	RET
    
    	// Paranoia: check that SP is as we expect. Use R13 to avoid linker 'fixup'
    	NOP	R13	// tell vet SP/R13 changed - stop checking offsets
    	MOVW	12(R13), R0
    	MOVW	$1234, R1
    	CMP	R0, R1
    	BEQ	2(PC)
    	BL	runtime·abort(SB)
    
    	MOVW	0(R13), R8    // m
    	MOVW	4(R13), R0    // g
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top