Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for magbuf (0.16 sec)

  1. src/cmd/link/internal/ld/ar.go

    			}
    			return
    		}
    		Exitf("cannot open file %s: %v", name, err)
    	}
    	defer f.Close()
    
    	var magbuf [len(ARMAG)]byte
    	if _, err := io.ReadFull(f, magbuf[:]); err != nil {
    		Exitf("file %s too short", name)
    	}
    
    	if string(magbuf[:]) != ARMAG {
    		Exitf("%s is not an archive file", name)
    	}
    
    	var arhdr ArHdr
    	l := nextar(f, f.Offset(), &arhdr)
    	if l <= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. src/runtime/mwbbuf.go

    Andy Pan <******@****.***> 1706754074 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    	case string:
    		lg = log.Info{ConsoleMsg: e, NodeName: sys.nodeName}
    	}
    	atomic.AddInt64(&sys.totalMessages, 1)
    
    	sys.pubsub.Publish(lg)
    	sys.Lock()
    	// add log to ring buffer
    	sys.logBuf.Value = lg
    	sys.logBuf = sys.logBuf.Next()
    	sys.Unlock()
    	err := sys.console.Send(entry)
    	if err != nil {
    		atomic.AddInt64(&sys.failedMessages, 1)
    	}
    	return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/runtime/print.go

    	printlock()
    	var markbuf [1]byte
    	markbuf[0] = ' '
    	minhexdigits = int(unsafe.Sizeof(uintptr(0)) * 2)
    	for i := uintptr(0); p+i < end; i += goarch.PtrSize {
    		if i%16 == 0 {
    			if i != 0 {
    				println()
    			}
    			print(hex(p+i), ": ")
    		}
    
    		if mark != nil {
    			markbuf[0] = mark(p + i)
    			if markbuf[0] == 0 {
    				markbuf[0] = ' '
    			}
    		}
    		gwrite(markbuf[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. src/debug/dwarf/typeunit.go

    	name  string // Name of .debug_type section.
    	cache Type   // Cache the type, nil to start.
    }
    
    // Parse a .debug_types section.
    func (d *Data) parseTypes(name string, types []byte) error {
    	b := makeBuf(d, unknownFormat{}, name, 0, types)
    	for len(b.data) > 0 {
    		base := b.off
    		n, dwarf64 := b.unitLength()
    		if n != Offset(uint32(n)) {
    			b.error("type unit length overflow")
    			return b.err
    		}
    		hdroff := b.off
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/syscall/route_freebsd_32bit.go

    }
    
    func (any *anyMessage) parseInterfaceMessage(b []byte) *InterfaceMessage {
    	p := (*InterfaceMessage)(unsafe.Pointer(any))
    	// FreeBSD 10 and beyond have a restructured mbuf
    	// packet header view.
    	// See https://svnweb.freebsd.org/base?view=revision&revision=254804.
    	m := (*ifMsghdr)(unsafe.Pointer(any))
    	p.Header.Data.Hwassist = uint32(m.Data.Hwassist)
    	p.Header.Data.Epoch = m.Data.Epoch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 15:46:41 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top