Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 196 for MASK (0.05 sec)

  1. src/hash/crc32/crc32_amd64.s

    	PCMPEQB     X3, X3
    	PCLMULQDQ   $1, X1, X0
    	PSRLDQ      $8, X1
    	PXOR        X0, X1
    
    	MOVOA       X1, X2
    	MOVQ        r5<>+0(SB), X0
    
    	/* Creates 32 bit mask. Note that we don't care about upper half. */
    	PSRLQ       $32, X3
    
    	PSRLDQ      $4, X2
    	PAND        X3, X1
    	PCLMULQDQ   $0, X0, X1
    	PXOR        X2, X1
    
    	MOVOA       rupoly<>+0(SB), X0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  2. src/syscall/exec_freebsd.go

    		_, _, err1 = RawSyscall(SYS_IOCTL, uintptr(sys.Ctty), uintptr(TIOCSPGRP), uintptr(unsafe.Pointer(&pgrp)))
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore the signal mask. We do this after TIOCSPGRP to avoid
    	// having the kernel send a SIGTTOU signal to the process group.
    	runtime_AfterForkInChild()
    
    	// Chroot
    	if chroot != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/syscall/exec_bsd.go

    		_, _, err1 = RawSyscall(SYS_IOCTL, uintptr(sys.Ctty), uintptr(TIOCSPGRP), uintptr(unsafe.Pointer(&pgrp)))
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore the signal mask. We do this after TIOCSPGRP to avoid
    	// having the kernel send a SIGTTOU signal to the process group.
    	runtime_AfterForkInChild()
    
    	// Chroot
    	if chroot != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. test/fibo.go

    		return z.make(0)
    	case n == 0:
    		// result is x
    		return z.set(x)
    	}
    	// m >= n > 0
    
    	const W2 = W / 2         // half-digit size in bits
    	const M2 = (1 << W2) - 1 // lower half-digit mask
    
    	z = z.make(m + 1)
    	var c big.Word
    	for i := 0; i < n; i++ {
    		// lower half-digit
    		c += x[i]&M2 + y[i]&M2
    		d := c & M2
    		c >>= W2
    		// upper half-digit
    		c += x[i]>>W2 + y[i]>>W2
    		z[i] = c<<W2 | d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 08 22:22:58 UTC 2014
    - 6.3K bytes
    - Viewed (0)
  5. src/syscall/exec_libc2.go

    		_, _, err1 = rawSyscall(abi.FuncPCABI0(libc_ioctl_trampoline), uintptr(sys.Ctty), uintptr(TIOCSPGRP), uintptr(unsafe.Pointer(&pgrp)))
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Restore the signal mask. We do this after TIOCSPGRP to avoid
    	// having the kernel send a SIGTTOU signal to the process group.
    	runtime_AfterForkInChild()
    
    	// Chroot
    	if chroot != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. src/crypto/ecdh/nist.go

    		return newBoringPrivateKey(c, key, bytes)
    	}
    
    	key := make([]byte, len(c.scalarOrder))
    	randutil.MaybeReadByte(rand)
    	for {
    		if _, err := io.ReadFull(rand, key); err != nil {
    			return nil, err
    		}
    
    		// Mask off any excess bits if the size of the underlying field is not a
    		// whole number of bytes, which is only the case for P-521. We use a
    		// pointer to the scalarOrder field because comparing generic and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/syscall/syscall_wasip1.go

    	return 0, 0, ENOSYS
    }
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	return 0, ENOSYS
    }
    
    func Umask(mask int) int {
    	return 0
    }
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    func (ts *Timespec) timestamp() timestamp {
    	return timestamp(ts.Sec*1e9) + timestamp(ts.Nsec)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/internal/bytealg/indexbyte_ppc64x.s

    // R5 = byte to find
    // On exit:
    // R3 = return value
    TEXT indexbytebody<>(SB),NOSPLIT|NOFRAME,$0-0
    	CMPU	R4,$32
    
    #ifndef GOPPC64_power9
    	// Load VBPERMQ constant to reduce compare into an ordered bit mask.
    	MOVD	$indexbytevbperm<>+00(SB),R16
    	LXVD2X	(R16),V0	// Set up swap string
    #endif
    
    	MTVRD	R5,V1
    	VSPLTB	$7,V1,V1	// Replicate byte across V1
    
    	BLT	cmp16		// Jump to the small string case if it's <32 bytes.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:10:29 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_loong64.go

    //sys	Setfsuid(uid int) (err error)
    //sys	Shutdown(fd int, how int) (err error)
    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    //sys	statx(dirfd int, path string, flags int, mask int, stat *statx_t) (err error)
    
    // makedev makes C dev_t from major and minor numbers the glibc way:
    // 0xMMMM_MMMM 0xmmmm_mmmm -> 0xMMMM_Mmmm_mmmM_MMmm
    func makedev(major uint32, minor uint32) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    		// data bytes and treat the value as an unsigned number.
    		var inv byte // 0x00 if positive or zero, 0xff if negative
    		if b[0]&0x40 != 0 {
    			inv = 0xff
    		}
    
    		var x uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top