Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for Printer (0.31 sec)

  1. src/runtime/mbitmap.go

    // described by bitmaps with 1 bit per pointer-sized word. A "1" bit
    // means the word is a live pointer to be visited by the GC (referred to
    // as "pointer"). A "0" bit means the word should be ignored by GC
    // (referred to as "scalar", though it could be a dead pointer value).
    //
    // Heap bitmaps
    //
    // The heap bitmap comprises 1 bit for each pointer-sized word in the heap,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    			expectedEndpointPorts: []discovery.EndpointPort{
    				{
    					Name:     pointer.String("sctp-example"),
    					Protocol: protoPtr(v1.ProtocolSCTP),
    					Port:     pointer.Int32(3456),
    				},
    				{
    					Name:     pointer.String("udp-example"),
    					Protocol: protoPtr(v1.ProtocolUDP),
    					Port:     pointer.Int32(161),
    				},
    				{
    					Name:     pointer.String("tcp-example"),
    					Protocol: protoPtr(v1.ProtocolTCP),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. src/runtime/map.go

    }
    
    func mapaccess1_fat(t *maptype, h *hmap, key, zero unsafe.Pointer) unsafe.Pointer {
    	e := mapaccess1(t, h, key)
    	if e == unsafe.Pointer(&zeroVal[0]) {
    		return zero
    	}
    	return e
    }
    
    func mapaccess2_fat(t *maptype, h *hmap, key, zero unsafe.Pointer) (unsafe.Pointer, bool) {
    	e := mapaccess1(t, h, key)
    	if e == unsafe.Pointer(&zeroVal[0]) {
    		return zero, false
    	}
    	return e, true
    }
    
    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. src/reflect/type.go

    //go:noescape
    func resolveNameOff(ptrInModule unsafe.Pointer, off int32) unsafe.Pointer
    
    // resolveTypeOff resolves an *rtype offset from a base type.
    // The (*rtype).typeOff method is a convenience wrapper for this function.
    // Implemented in the runtime package.
    //
    //go:noescape
    func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer
    
    // resolveTextOff resolves a function pointer offset from a base type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/mgcmark.go

    						scanobject(p, gcw)
    					}
    
    					// The special itself is a root.
    					scanblock(uintptr(unsafe.Pointer(&spf.fn)), goarch.PtrSize, &oneptrmask[0], gcw, nil)
    				case _KindSpecialWeakHandle:
    					// The special itself is a root.
    					spw := (*specialWeakHandle)(unsafe.Pointer(sp))
    					scanblock(uintptr(unsafe.Pointer(&spw.handle)), goarch.PtrSize, &oneptrmask[0], gcw, nil)
    				}
    			}
    			unlock(&s.speciallock)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top