Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for Printer (0.33 sec)

  1. src/sync/atomic/atomic_test.go

    	addr := (*Pointer[byte])(paddr)
    	v := uintptr(unsafe.Pointer(addr.Load()))
    	new := v
    	if arch32 {
    		vlo := v & ((1 << 16) - 1)
    		vhi := v >> 16
    		if vlo != vhi {
    			t.Fatalf("Pointer: %#x != %#x", vlo, vhi)
    		}
    		new = v + 1 + 1<<16
    		if vlo == 1e4 {
    			new = 0
    		}
    	} else {
    		vlo := v & ((1 << 32) - 1)
    		vhi := v >> 32
    		if vlo != vhi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    			if l2 == nil {
    				throw("out of memory allocating heap arena map")
    			}
    			if h.arenasHugePages {
    				sysHugePage(unsafe.Pointer(l2), unsafe.Sizeof(*l2))
    			} else {
    				sysNoHugePage(unsafe.Pointer(l2), unsafe.Sizeof(*l2))
    			}
    			atomic.StorepNoWB(unsafe.Pointer(&h.arenas[ri.l1()]), unsafe.Pointer(l2))
    		}
    
    		if l2[ri.l2()] != nil {
    			throw("arena already initialized")
    		}
    		var r *heapArena
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    	_       sys.NotInHeap
    	special special
    	fn      *funcval // May be a heap pointer.
    	nret    uintptr
    	fint    *_type   // May be a heap pointer, but always live.
    	ot      *ptrtype // May be a heap pointer, but always live.
    }
    
    // Adds a finalizer to the object p. Returns true if it succeeded.
    func addfinalizer(p unsafe.Pointer, f *funcval, nret uintptr, fint *_type, ot *ptrtype) bool {
    	lock(&mheap_.speciallock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    func TrusteeValueFromString(str string) TrusteeValue {
    	return TrusteeValue(unsafe.Pointer(StringToUTF16Ptr(str)))
    }
    func TrusteeValueFromSID(sid *SID) TrusteeValue {
    	return TrusteeValue(unsafe.Pointer(sid))
    }
    func TrusteeValueFromObjectsAndSid(objectsAndSid *OBJECTS_AND_SID) TrusteeValue {
    	return TrusteeValue(unsafe.Pointer(objectsAndSid))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    // rewritten to use _cgo_unsafe.Pointer instead.
    func (p *Package) rewriteUnsafe(t ast.Expr) ast.Expr {
    	switch t := t.(type) {
    	case *ast.Ident:
    		// We don't see a SelectorExpr for unsafe.Pointer;
    		// this is created by code in this file.
    		if t.Name == "unsafe.Pointer" {
    			return ast.NewIdent("_cgo_unsafe.Pointer")
    		}
    	case *ast.ArrayType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    				// We skip one fewer frame than the provided value for frame
    				// pointer unwinding because the skip value includes the current
    				// frame, whereas the saved frame pointer will give us the
    				// caller's return address first (so, not including
    				// saveblockevent)
    				mp.profStack[0] -= 1
    			}
    			nstk += fpTracebackPCs(unsafe.Pointer(getfp()), mp.profStack[1:])
    		} else {
    			mp.profStack[1] = gp.m.curg.sched.pc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    									CacheSize: pointer.Int32(1000),
    								},
    							},
    							{
    								KMS: &apiserver.KMSConfiguration{
    									Name:       "another-kms",
    									APIVersion: "v2",
    									Timeout: &metav1.Duration{
    										Duration: 1 * time.Second,
    									},
    									Endpoint:  "unix:///tmp/anothertestprovider.sock",
    									CacheSize: pointer.Int32(1000),
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			opts:                         listOptions(true, pointer.Bool(true), ""),
    			expectedWatchResourceVersion: 100,
    		},
    		{
    			name:                         "RV=unset, allowWatchBookmarks=true, sendInitialEvents=false",
    			opts:                         listOptions(true, pointer.Bool(false), ""),
    			expectedWatchResourceVersion: 100,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  9. pkg/workloadapi/workload.pb.go

    }
    
    func (x *Address) Reset() {
    	*x = Address{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_workloadapi_workload_proto_msgTypes[0]
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *Address) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*Address) ProtoMessage() {}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. src/runtime/mgc.go

    //    b. Start the world. From this point, GC work is done by mark
    //    workers started by the scheduler and by assists performed as
    //    part of allocation. The write barrier shades both the
    //    overwritten pointer and the new pointer value for any pointer
    //    writes (see mbarrier.go for details). Newly allocated objects
    //    are immediately marked black.
    //
    //    c. GC performs root marking jobs. This includes scanning all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top