Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 281 for Fmask (0.05 sec)

  1. pkg/api/v1/pod/util_test.go

    			wantContainers: []string{"i1", "i2", "c1", "c2", "e1", "e2"},
    			mask:           AllContainers,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			if tc.mask == setAllFeatureEnabledContainersDuringTest {
    				tc.mask = AllFeatureEnabledContainers()
    			}
    
    			gotContainers := []string{}
    			VisitContainers(tc.spec, tc.mask, func(c *v1.Container, containerType ContainerType) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  2. src/syscall/syscall_bsd.go

    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	stopped = 0x7F
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) ExitStatus() int {
    	if w&mask != exited {
    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. src/runtime/syscall_windows_test.go

    	}
    }
    
    // removeOneCPU removes one (any) cpu from affinity mask.
    // It returns new affinity mask.
    func removeOneCPU(mask uintptr) (uintptr, error) {
    	if mask == 0 {
    		return 0, fmt.Errorf("cpu affinity mask is empty")
    	}
    	maskbits := int(unsafe.Sizeof(mask) * 8)
    	for i := 0; i < maskbits; i++ {
    		newmask := mask & ^(1 << uint(i))
    		if newmask != mask {
    			return newmask, nil
    		}
    
    	}
    	panic("not reached")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_ppc64x.s

    	ADD	$16, OUTENC, OUTENC
    	ADD	$-16, OUTDEC, OUTDEC
    	VSPLTISB	$8, KEY                  // vspltisb 3,8
    	MOVD	CNT, CTR                         // mtctr 7
    	VSUBUBM	MASK, KEY, MASK                  // vsububm 5,5,3
    
    loop192:
    	VPERM	IN1, IN1, MASK, KEY // vperm 3,2,2,5
    	VSLDOI	$12, ZERO, IN0, TMP // vsldoi 6,0,1,12
    	VCIPHERLAST	KEY, RCON, KEY      // vcipherlast 3,3,4
    
    	VXOR	IN0, TMP, IN0       // vxor 1,1,6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        ReducedPrecisionSupport mask = ReducedPrecisionSupport::None;
        if (toco_flags.quantize_to_float16()) {
          mask |= ReducedPrecisionSupport::Float16Inference;
        }
        if (toco_flags.allow_bfloat16()) {
          mask |= ReducedPrecisionSupport::Bfloat16Inference;
        }
        if (toco_flags.accumulation_type() == toco::IODataType::FLOAT16) {
          mask |= ReducedPrecisionSupport::Float16Accumulation;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	stopped = 0x7F
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) ExitStatus() int {
    	if w&mask != exited {
    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  7. src/runtime/os_netbsd.go

    //
    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	s.ss_sp = sp
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] |= 1 << ((uint32(i) - 1) & 31)
    }
    
    func sigdelset(mask *sigset, i int) {
    	mask.__bits[(i-1)/32] &^= 1 << ((uint32(i) - 1) & 31)
    }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/shell.go

    		}
    	}
    
    	// The perm argument is meant to be adjusted according to umask,
    	// but we don't know what the umask is.
    	// Create a dummy file to find out.
    	// This avoids build tags and works even on systems like Plan 9
    	// where the file mask computation incorporates other information.
    	mode := perm
    	f, err := os.OpenFile(filepath.Clean(dst)+"-go-tmp-umask", os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/unicode/utf8/utf8.go

    	if x >= as {
    		// The following code simulates an additional check for x == xx and
    		// handling the ASCII and invalid cases accordingly. This mask-and-or
    		// approach prevents an additional branch.
    		mask := rune(x) << 31 >> 31 // Create 0x0000 or 0xFFFF.
    		return rune(p[0])&^mask | RuneError&mask, 1
    	}
    	sz := int(x & 7)
    	accept := acceptRanges[x>>4]
    	if n < sz {
    		return RuneError, 1
    	}
    	b1 := p[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/net/textproto/reader.go

    //	VCHAR          =  %x21-7E
    func validHeaderValueByte(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c >= 128, then 1<<c and 1<<(c-64) will both be zero.
    	// Since this is the obs-text range, we invert the mask to
    	// create a bitmap with 1s for disallowed bytes.
    	const mask = 0 |
    		(1<<(0x7f-0x21)-1)<<0x21 | // VCHAR: %x21-7E
    		1<<0x20 | // SP: %x20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top