Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 239 for kmem (0.1 sec)

  1. src/runtime/tracemap.go

    	// Create data array.
    	sl := notInHeapSlice{
    		array: tab.mem.alloc(size),
    		len:   int(size),
    		cap:   int(size),
    	}
    	memmove(unsafe.Pointer(sl.array), data, size)
    
    	// Create metadata structure.
    	meta := (*traceMapNode)(unsafe.Pointer(tab.mem.alloc(unsafe.Sizeof(traceMapNode{}))))
    	*(*notInHeapSlice)(unsafe.Pointer(&meta.data)) = sl
    	meta.id = id
    	meta.hash = hash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/runtime/pprof/proto_other.go

    	"os"
    )
    
    // readMapping reads /proc/self/maps and writes mappings to b.pb.
    // It saves the address ranges of the mappings in b.mem for use
    // when emitting locations.
    func (b *profileBuilder) readMapping() {
    	data, _ := os.ReadFile("/proc/self/maps")
    	parseProcSelfMaps(data, b.addMapping)
    	if len(b.mem) == 0 { // pprof expects a map entry, so fake one.
    		b.addMappingEntry(0, 0, 0, "", "", true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 928 bytes
    - Viewed (0)
  3. src/runtime/pprof/proto.go

    			})
    		}
    		b.pbLine(tagLocation_Line, funcID, int64(frame.Line))
    	}
    	for i := range b.mem {
    		if b.mem[i].start <= addr && addr < b.mem[i].end || b.mem[i].fake {
    			b.pb.uint64Opt(tagLocation_MappingID, uint64(i+1))
    
    			m := b.mem[i]
    			m.funcs |= b.deck.symbolizeResult
    			b.mem[i] = m
    			break
    		}
    	}
    	b.pb.endMessage(tagProfile_Location, start)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/build-boring.sh

    export CGO_ENABLED=0
    
    # Modify the support code crypto/mem.c (outside the FIPS module)
    # to not try to use weak symbols, because they don't work with some
    # Go toolchain / clang toolchain combinations.
    perl -p -i -e 's/defined.*ELF.*defined.*GNUC.*/$0 \&\& !defined(GOBORING)/' boringssl/crypto/mem.c
    
    # Verbatim instructions from BoringCrypto build docs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 21:28:09 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. src/runtime/memmove_test.go

    	size := 512
    	if testing.Short() {
    		size = 128 + 16
    	}
    	mem := make([]byte, size)
    	for i := 0; i < size; i++ {
    		mem[i] = 0xee
    	}
    	for n := 0; n < size; n++ {
    		for x := 0; x <= size-n; x++ { // offset in mem
    			MemclrBytes(mem[x : x+n])
    			for i := 0; i < x; i++ {
    				if mem[i] != 0xee {
    					t.Fatalf("overwrite prefix mem[%d] = %d", i, mem[i])
    				}
    			}
    			for i := x; i < x+n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    )
    
    // A Mem is a memory reference made up of a base R and index expression X.
    // The effective memory address is R or R+X depending on AddrMode.
    // The index expression is X = Sign*(Index Shift Count) + Offset,
    // but in any instruction either Sign = 0 or Offset = 0.
    type Mem struct {
    	Base   Reg
    	Mode   AddrMode
    	Sign   int8
    	Index  Reg
    	Shift  Shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    		return fmt.Sprintf("Reg(%d)", i)
    	}
    	return regNames[i]
    }
    
    // A Mem is a memory reference.
    // The general form is Segment:[Base+Scale*Index+Disp].
    type Mem struct {
    	Segment Reg
    	Base    Reg
    	Scale   uint8
    	Index   Reg
    	Disp    int64
    }
    
    func (Mem) isArg() {}
    
    func (m Mem) String() string {
    	var base, plus, scale, index, disp string
    
    	if m.Base != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. .idea/runConfigurations/Test__KMM.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Test: KMM" type="GradleRunConfiguration" factoryName="Gradle" folderName="Tests">
        <ExternalSystemSettings>
          <option name="executionName" />
          <option name="externalProjectPath" value="$PROJECT_DIR$" />
          <option name="externalSystemIdString" value="GRADLE" />
          <option name="scriptParameters" value="" />
          <option name="taskDescriptions">
            <list />
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 11 10:10:03 UTC 2021
    - 730 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/memcombine.go

    			// 8-byte-reg/4-byte-ptr architecture like amd64p32.
    			loadMem = nil
    			break
    		}
    		mem := load.Args[1]
    		base, idx := splitPtr(load.Args[0])
    		if loadMem == nil {
    			// First one we found
    			loadMem = mem
    			loadBase = base
    			loadIdx = idx
    			continue
    		}
    		if base != loadBase || mem != loadMem {
    			loadMem = nil
    			break
    		}
    		if idx != loadIdx+(a[i].offset-a[0].offset) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/preflight/checks_linux.go

    	actual := uint64(info.Totalram) * uint64(info.Unit) / 1024 / 1024
    	if actual < mc.Mem {
    		errorList = append(errorList, errors.Errorf("the system RAM (%d MB) is less than the minimum %d MB", actual, mc.Mem))
    	}
    	return warnings, errorList
    }
    
    // addOSValidator adds a new OSValidator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top