Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for overlapped (0.26 sec)

  1. src/cmd/compile/internal/test/testdata/mergelocals/integration.go

    	r := 0
    
    	// here v2 and v3 can be overlapped.
    	clobber()
    	if i < 101 {
    		var v2 Vanilla
    		v2.x[i] = j
    		r += v2.x[j]
    	}
    	if j != 303 {
    		var v3 Vanilla2
    		v3.x[i] = j
    		r += v3.x[j]
    	}
    	clobber()
    
    	// not an overlap candidate (only one var of this size).
    	var s Single
    	s.x[i] = j
    	r += s.x[j]
    
    	// Here p1 and p2 interfere, but p1 could be overlapped with xp3 + xp4.
    	var p1, p2 Pointery
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 17:42:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/zsyscall_windows.go

    	return
    }
    
    func LockFileEx(file syscall.Handle, flags uint32, reserved uint32, bytesLow uint32, bytesHigh uint32, overlapped *syscall.Overlapped) (err error) {
    	r1, _, e1 := syscall.Syscall6(procLockFileEx.Addr(), 6, uintptr(file), uintptr(flags), uintptr(reserved), uintptr(bytesLow), uintptr(bytesHigh), uintptr(unsafe.Pointer(overlapped)))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/runtime/netpoll_windows.go

    )
    
    const _DWORD_MAX = 0xffffffff
    
    const _INVALID_HANDLE_VALUE = ^uintptr(0)
    
    // Sources are used to identify the event that created an overlapped entry.
    // The source values are arbitrary. There is no risk of collision with user
    // defined values because the only way to set the key of an overlapped entry
    // is using the iocphandle, which is not accessible to user code.
    const (
    	netpollSourceReady = iota + 1
    	netpollSourceBreak
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	syscall.Syscall(procClosePseudoConsole.Addr(), 1, uintptr(console), 0, 0)
    	return
    }
    
    func ConnectNamedPipe(pipe Handle, overlapped *Overlapped) (err error) {
    	r1, _, e1 := syscall.Syscall(procConnectNamedPipe.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(overlapped)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func CreateDirectory(path *uint16, sa *SecurityAttributes) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. src/runtime/defs_windows.go

    	exceptioncode        uint32
    	exceptionflags       uint32
    	exceptionrecord      *exceptionrecord
    	exceptionaddress     uintptr
    	numberparameters     uint32
    	exceptioninformation [15]uintptr
    }
    
    type overlapped struct {
    	internal     uintptr
    	internalhigh uintptr
    	anon0        [8]byte
    	hevent       *byte
    }
    
    type memoryBasicInformation struct {
    	baseAddress       uintptr
    	allocationBase    uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. internal/lock/lock_windows.go

    	}
    
    	err := lockFileEx(fd, flags, 1, 0, &syscall.Overlapped{})
    	if err == nil || err == errLockViolation {
    		return nil
    	}
    	if err.Error() == "The process cannot access the file because another process has locked a portion of the file." {
    		return ErrAlreadyLocked
    	}
    	return err
    }
    
    func lockFileEx(h syscall.Handle, flags, locklow, lockhigh uint32, ol *syscall.Overlapped) (err error) {
    	reserved := uint32(0)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/runtime/memmove_amd64.s

    	// There are two implementations of move algorithm.
    	// The first one for non-overlapped memory regions. It uses forward copying.
    	// The second one for overlapped regions. It uses backward copying
    	MOVQ	DI, CX
    	SUBQ	SI, CX
    	// Now CX contains distance between SRC and DEST
    	CMPQ	CX, BX
    	// If the distance lesser than region length it means that regions are overlapped
    	JC	copy_backward
    
    	// Non-temporal copy would be better for big sizes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 10 15:52:08 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/mergelocals_test.go

    	// variables, all of them legal. Rather than locking down
    	// a specific set of overlappings or frame offsets, this
    	// tests just verifies that there is a decent-sized clump of 4+ vars that
    	// get overlapped.
    	//
    	// The expected output blob we're interested might look like
    	// this (for amd64):
    	//
    	// =-= stack layout for ABC:
    	// 2: "p1" frameoff -8200 ...
    	// 3: "s" frameoff -8200 ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    // MergeSpecs aggregates all OpenAPI specs, reusing the metadata of the first, static spec as the basis.
    // The static spec has the highest priority, and its paths and definitions won't get overlapped by
    // user-defined CRDs. None of the input is mutated, but input and output share data structures.
    func MergeSpecs(staticSpec *spec.Swagger, crdSpecs ...*spec.Swagger) (*spec.Swagger, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 16 14:08:01 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/admission.go

    	disablePlugins := sets.NewString(a.DisablePlugins...)
    	if len(enablePlugins.Intersection(disablePlugins).List()) > 0 {
    		errs = append(errs, fmt.Errorf("%v in enable-admission-plugins and disable-admission-plugins "+
    			"overlapped", enablePlugins.Intersection(disablePlugins).List()))
    	}
    
    	// Verify RecommendedPluginOrder.
    	recommendPlugins := sets.NewString(a.RecommendedPluginOrder...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top