Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for kmem (0.04 sec)

  1. src/os/user/lookup_unix_test.go

    package user
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    var groupTests = []struct {
    	in   string
    	name string
    	gid  string
    }{
    	{testGroupFile, "nobody", "-2"},
    	{testGroupFile, "kmem", "2"},
    	{testGroupFile, "notinthefile", ""},
    	{testGroupFile, "comment", ""},
    	{testGroupFile, "plussign", ""},
    	{testGroupFile, "+plussign", ""},
    	{testGroupFile, "-minussign", ""},
    	{testGroupFile, "minussign", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  2. src/os/user/listgroups_unix_test.go

    invalidgid:*:notanumber:root
    +plussign:*:20:root
    -minussign:*:21:root
    # Next line is invalid (empty group name)
    :*:22:root
    
    daemon:*:1:root
        indented:*:7:root
    # comment:*:4:found
         # comment:*:4:found
    kmem:*:2:root
    manymembers:x:777:jill,jody,john,jack,jov,user777
    ` + largeGroup()
    
    func largeGroup() (res string) {
    	var b strings.Builder
    	b.WriteString("largegroup:x:1000:user1")
    	for i := 2; i <= 7500; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/runtime/map.go

    	}
    
    	// store new key/elem at insert position
    	if t.IndirectKey() {
    		kmem := newobject(t.Key)
    		*(*unsafe.Pointer)(insertk) = kmem
    		insertk = kmem
    	}
    	if t.IndirectElem() {
    		vmem := newobject(t.Elem)
    		*(*unsafe.Pointer)(elem) = vmem
    	}
    	typedmemmove(t.Key, insertk, key)
    	*inserti = top
    	h.count++
    
    done:
    	if h.flags&hashWriting == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue59709.dir/cmem.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cmem
    
    import (
    	"./aconfig"
    	"./bresource"
    )
    
    type MemT *int
    
    var G int
    
    type memResource struct {
    	x *int
    }
    
    func (m *memResource) initialize(*int) (res *int, err error) {
    	return nil, nil
    }
    
    func (m *memResource) teardown() {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:28 UTC 2023
    - 714 bytes
    - Viewed (0)
  5. pkg/ctrlz/topics/mem.go

    	return memTopic{}
    }
    
    func (memTopic) Title() string {
    	return "Memory Usage"
    }
    
    func (memTopic) Prefix() string {
    	return "mem"
    }
    
    func (memTopic) Activate(context fw.TopicContext) {
    	tmpl := assets.ParseTemplate(context.Layout(), "templates/mem.html")
    
    	_ = context.HTMLRouter().StrictSlash(true).NewRoute().Path("/").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		ms := &runtime.MemStats{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/mem.go

    Michael Anthony Knyszek <******@****.***> 1691435399 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. pkg/ctrlz/topics/assets/templates/mem.html

    zirain <******@****.***> 1684861711 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/internal/fuzz/mem.go

    cuiweixie <******@****.***> 1664296188 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:44:27 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: (is16BitInt(t) && t.IsSigned())
    	// result: (MOVHload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is16BitInt(t) && t.IsSigned()) {
    			break
    		}
    		v.reset(OpLOONG64MOVHload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  10. misc/wasm/wasm_exec.js

    			const setInt64 = (addr, v) => {
    				this.mem.setUint32(addr + 0, v, true);
    				this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);
    			}
    
    			const setInt32 = (addr, v) => {
    				this.mem.setUint32(addr + 0, v, true);
    			}
    
    			const getInt64 = (addr) => {
    				const low = this.mem.getUint32(addr + 0, true);
    				const high = this.mem.getInt32(addr + 4, true);
    				return low + high * 4294967296;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top