Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for namebuf (0.14 sec)

  1. cmd/os_unix.go

    		// files and directories.
    		typ = unexpectedFileMode
    	}
    
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	nameLen, err := direntNamlen(dirent)
    	if err != nil {
    		return consumed, nil, typ, err
    	}
    
    	return consumed, nameBuf[:nameLen], typ, nil
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/crypto/x509/oid.go

    					bigVal = bigVal.Sub(bigVal, big.NewInt(80))
    				}
    				numBuf = bigVal.Append(numBuf, 10)
    				b.Write(numBuf)
    				numBuf = numBuf[:0]
    				val = 0
    				start = i + 1
    				overflow = false
    			}
    			continue
    		}
    		val <<= bitsPerByte
    		val |= uint64(curVal)
    		if valEnd {
    			if start == 0 {
    				if val < 80 {
    					b.Write(strconv.AppendUint(numBuf, val/40, 10))
    					b.WriteByte('.')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/reflect/export_test.go

    	}
    	m := ut.Methods()[0]
    	mname := t.(*rtype).nameOff(m.Name)
    	if *mname.DataChecked(0, "name flag field")&(1<<2) == 0 {
    		panic("method name does not have pkgPath *string")
    	}
    	return mname.Bytes
    }
    
    type OtherPkgFields struct {
    	OtherExported   int
    	otherUnexported int
    }
    
    func IsExported(t Type) bool {
    	typ := t.(*rtype)
    	n := typ.nameOff(typ.t.Str)
    	return n.IsExported()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/runtime/symtabinl.go

    	_ "unsafe" // for linkname
    )
    
    // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table.
    type inlinedCall struct {
    	funcID    abi.FuncID // type of the called function
    	_         [3]byte
    	nameOff   int32 // offset into pclntab for name of called function
    	parentPc  int32 // position of an instruction whose source position is the call site (offset from entry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/internal/reflectlite/export_test.go

    func FirstMethodNameBytes(t Type) *byte {
    	_ = pinUnexpMethI
    
    	ut := t.uncommon()
    	if ut == nil {
    		panic("type has no methods")
    	}
    	m := ut.Methods()[0]
    	mname := t.(rtype).nameOff(m.Name)
    	if *mname.DataChecked(0, "name flag field")&(1<<2) == 0 {
    		panic("method name does not have pkgPath *string")
    	}
    	return mname.Bytes
    }
    
    type Buffer struct {
    	buf []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/runtime/plugin.go

    // A ptabEntry is generated by the compiler for each exported function
    // and global variable in the main package of a plugin. It is used to
    // initialize the plugin module's symbol map.
    type ptabEntry struct {
    	name nameOff
    	typ  typeOff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top