Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for seg3 (0.09 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go

    //
    //export TestSEGV
    func TestSEGV() {
    	defer func() {
    		if recover() == nil {
    			fmt.Fprintln(os.Stderr, "no panic from segv")
    			os.Exit(1)
    		}
    	}()
    	*P = 0
    	fmt.Fprintln(os.Stderr, "continued after segv")
    	os.Exit(1)
    }
    
    // Noop ensures that the Go runtime is initialized.
    //
    //export Noop
    func Noop() {
    }
    
    // Raise SIGPIPE.
    //
    //export GoRaiseSIGPIPE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. src/debug/buildinfo/buildinfo.go

    	for _, load := range x.f.Loads {
    		seg, ok := load.(*macho.Segment)
    		if !ok {
    			continue
    		}
    		if seg.Addr <= addr && addr <= seg.Addr+seg.Filesz-1 {
    			if seg.Name == "__PAGEZERO" {
    				continue
    			}
    			n := seg.Addr + seg.Filesz - addr
    			if n > size {
    				n = size
    			}
    			return saferio.ReadDataAt(seg, n, int64(addr-seg.Addr))
    		}
    	}
    	return nil, errUnrecognizedFormat
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/net/http/routing_index.go

    	// do something simpler: we find the position with the fewest patterns.
    	var lmin, wmin []*pattern
    	min := math.MaxInt
    	hasLit := false
    	for i, seg := range pat.segments {
    		if seg.multi {
    			break
    		}
    		if !seg.wild {
    			hasLit = true
    			lpats := idx.segments[routingIndexKey{s: seg.s, pos: i}]
    			wpats := idx.segments[routingIndexKey{s: "", pos: i}]
    			if sum := len(lpats) + len(wpats); sum < min {
    				lmin = lpats
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/macho.go

    func (x uint64s) Swap(i, j int)      { x[i], x[j] = x[j], x[i] }
    func (x uint64s) Less(i, j int) bool { return x[i] < x[j] }
    
    func (f *machoFile) loadAddress() (uint64, error) {
    	if seg := f.macho.Segment("__TEXT"); seg != nil {
    		return seg.Addr, nil
    	}
    	return 0, fmt.Errorf("unknown load address")
    }
    
    func (f *machoFile) dwarf() (*dwarf.Data, error) {
    	return f.macho.DWARF()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/util_test.go

    				{Number: 8080, Name: "http2-number", Protocol: "http2"},
    			},
    			WorkloadSelector: &networking.WorkloadSelector{
    				Labels: map[string]string{"app": "bar"},
    			},
    		},
    	}
    
    	se3 := config.Config{
    		Meta: config.Meta{GroupVersionKind: gvk.ServiceEntry, Namespace: "default", Name: "se-3"},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"www.wikipedia.org"},
    			Ports: []*networking.ServicePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 22:32:10 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. security/pkg/util/jwtutil.go

    		return nil, fmt.Errorf("failed to decode the JWT claims")
    	}
    	return claims, nil
    }
    
    func DecodeJwtPart(seg string) ([]byte, error) {
    	if l := len(seg) % 4; l > 0 {
    		seg += strings.Repeat("=", 4-l)
    	}
    
    	return base64.URLEncoding.DecodeString(seg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/net/http/routing_index_test.go

    	}
    
    	var (
    		methods   = []string{"", "GET ", "HEAD ", "POST "}
    		hosts     = []string{"", "h1", "h2"}
    		segs      = []string{"/a", "/b", "/{x}"}
    		finalSegs = []string{"/a", "/b", "/{f}", "/{m...}", "/{$}"}
    	)
    
    	g := genConcat(
    		genChoice(methods),
    		genChoice(hosts),
    		genStar(3, genChoice(segs)),
    		genChoice(finalSegs))
    	g(collect)
    	return pats
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprog/segv_linux.go

    package main
    
    import "syscall"
    
    func init() {
    	register("TgkillSegv", TgkillSegv)
    }
    
    func TgkillSegv() {
    	c := make(chan bool)
    	go func() {
    		close(c)
    		for i := 0; ; i++ {
    			// Sum defined in segv.go.
    			Sum += i
    		}
    	}()
    
    	<-c
    
    	syscall.Tgkill(syscall.Getpid(), syscall.Gettid(), syscall.SIGSEGV)
    
    	// Wait for the OS to deliver the signal.
    	select {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 05 15:24:08 UTC 2023
    - 517 bytes
    - Viewed (0)
  9. src/internal/coverage/encodecounter/encode.go

    	}
    	if err := visitor.VisitFuncs(emitter); err != nil {
    		return err
    	}
    	return nil
    }
    
    func (cfw *CoverageDataWriter) writeFooter() error {
    	cfw.segs++
    	cf := coverage.CounterFileFooter{
    		Magic:       coverage.CovCounterMagic,
    		NumSegments: cfw.segs,
    	}
    	if err := binary.Write(cfw.w, binary.LittleEndian, cf); err != nil {
    		return err
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    					}
    				}
    			}
    			*usedPrefixes = true
    		}
    		if haveCS {
    			seg += "%cs:"
    		}
    		if haveDS {
    			seg += "%ds:"
    		}
    		if haveSS {
    			seg += "%ss:"
    		}
    		if haveES {
    			seg += "%es:"
    		}
    		if haveFS {
    			seg += "%fs:"
    		}
    		if haveGS {
    			seg += "%gs:"
    		}
    		disp := ""
    		if x.Disp != 0 {
    			disp = fmt.Sprintf("%#x", x.Disp)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
Back to top