Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 239 for kmem (0.04 sec)

  1. src/cmd/compile/internal/ssa/shortcircuit_test.go

    			Goto("b5")),
    		Bloc("b5",
    			Valu("phi3", OpPhi, c.config.Types.Bool, 0, nil, "phi2", "cmp3"),
    			If("phi3", "b6", "b7")),
    		Bloc("b6",
    			Exit("mem")),
    		Bloc("b7",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	shortcircuit(fun.f)
    	CheckFunc(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		for _, v := range b.Values {
    			if v.Op == OpPhi {
    				t.Errorf("phi %s remains", v)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  2. docs/vi/docs/index.md

    * Với request `PUT` tới `/items/{item_id}`, đọc body như JSON:
        * Kiểm tra xem nó có một thuộc tính bắt buộc kiểu  `str` là `name` không?
        * Kiểm tra xem nó có một thuộc tính bắt buộc kiểu `float` là `price` không?
        * Kiểm tra xem nó có một thuộc tính tùy chọn là `is_offer` không? Nếu có, nó phải có kiểu `bool`.
        * Tất cả những kiểm tra này cũng được áp dụng với các JSON lồng nhau.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. istioctl/pkg/xds/google.go

    	}
    	spec, ok := u.Object["spec"].(map[string]any)
    	if !ok {
    		return nil, errors.New(`field "spec" is not a map`)
    	}
    	var mem hubMembership
    	mem.WorkloadIdentityPool, ok = spec["workload_identity_pool"].(string)
    	if !ok {
    		return nil, errors.New(`field "spec.workload_identity_pool" is not a string`)
    	}
    	return &mem, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. src/internal/xcoff/ar_test.go

    			continue
    		}
    
    		for i, mem := range arch.Members {
    			if i >= len(tt.members) {
    				break
    			}
    			have := &mem.MemberHeader
    			want := tt.members[i]
    			if !reflect.DeepEqual(have, want) {
    				t.Errorf("open %s, member %d:\n\thave %#v\n\twant %#v\n", tt.file, i, have, want)
    			}
    
    			f, err := arch.GetFile(mem.Name)
    			if err != nil {
    				t.Error(err)
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 22:19:22 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. src/internal/fuzz/minimize_test.go

    			ws := &workerServer{
    				fuzzFn: func(e CorpusEntry) (time.Duration, error) {
    					return time.Second, tc.fn(e)
    				},
    			}
    			mem := &sharedMem{region: make([]byte, 100)} // big enough to hold value and header
    			vals := tc.input
    			success, err := ws.minimizeInput(context.Background(), vals, mem, minimizeArgs{})
    			if !success {
    				t.Errorf("minimizeInput did not succeed")
    			}
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/algkind_string.go

    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[AUNK-0]
    	_ = x[ANOEQ-1]
    	_ = x[ANOALG-2]
    	_ = x[AMEM-3]
    	_ = x[AMEM0-4]
    	_ = x[AMEM8-5]
    	_ = x[AMEM16-6]
    	_ = x[AMEM32-7]
    	_ = x[AMEM64-8]
    	_ = x[AMEM128-9]
    	_ = x[ASTRING-10]
    	_ = x[AINTER-11]
    	_ = x[ANILINTER-12]
    	_ = x[AFLOAT32-13]
    	_ = x[AFLOAT64-14]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_flags.txt

    go test -memprofile=mem.out ./x
    exists ./mem.out
    rm ./mem.out
    
    go test -trace=trace.out ./x
    exists ./trace.out
    rm ./trace.out
    
    # Relative paths with -outputdir should be relative to the go command's working
    # directory, not the directory containing the test.
    mkdir profiles
    go test -memprofile=mem.out -outputdir=./profiles ./x
    exists ./profiles/mem.out
    rm profiles
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/runtime/race/race_windows_test.go

    		MEM_RESERVE    = 0x00002000
    		MEM_RELEASE    = 0x8000
    		PAGE_READWRITE = 0x04
    	)
    	mem, _, err := syscall.Syscall6(VirtualAlloc.Addr(), 4, 0, 1<<20, MEM_COMMIT|MEM_RESERVE, PAGE_READWRITE, 0, 0)
    	if err != 0 {
    		t.Fatalf("VirtualAlloc failed: %v", err)
    	}
    	defer syscall.Syscall(VirtualFree.Addr(), 3, mem, 1<<20, MEM_RELEASE)
    	a := (*uint64)(unsafe.Pointer(mem))
    	if *a != 0 {
    		t.Fatalf("bad atomic value: %v, want 0", *a)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    						rexUsed |= PrefixREXX
    						index |= 8
    					}
    
    					mem.Scale = 1 << uint(scale)
    					if index == 4 {
    						// no mem.Index
    					} else {
    						mem.Index = baseRegForBits(addrMode) + Reg(index)
    					}
    					if base&7 == 5 && mod == 0 {
    						// no mem.Base
    					} else {
    						mem.Base = baseRegForBits(addrMode) + Reg(base)
    					}
    				} else {
    					if rex&PrefixREXB != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  10. pkg/registry/core/rest/storage_core.go

    			var mem allocator.Snapshottable
    			mem = allocator.NewAllocationMapWithOffset(max, rangeSpec, offset)
    			// TODO etcdallocator package to return a storage interface via the storageFactory
    			etcd, err := serviceallocator.NewEtcd(mem, "/ranges/serviceips", serviceStorageConfig.ForResource(api.Resource("serviceipallocations")))
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
Back to top