Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for maskOf (0.11 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    			// check if resource is masked by *.group rule
    			anyResourceInGroup := schema.GroupResource{Group: gr.Group, Resource: "*"}
    			if _, masked := resourceToPrefixTransformer[anyResourceInGroup]; masked {
    				// an earlier rule already configured a transformer for *.group, masking this rule
    				// return error since this is not allowed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  4. 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)
  5. src/syscall/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: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy

            url '${mavenRepo.uri}'
        }
    }
    configurations {
        lockedConf
    }
    dependencies {
        lockedConf 'org:bar:$version'
        lockedConf 'org:baz:1.0' // Ensure the fact that '1.0' is from a lock isn't masked by a real dependency
        lockedConf 'org:baz:$version'
        lockedConf 'org:foo:$version'
    }
    """
            lockfileFixture.createLockfile('lockedConf', ['org:bar:1.0', 'org:baz:1.0', 'org:foo:1.0'])
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/field/fe.go

    	}
    
    	// Bits 0:51 (bytes 0:8, bits 0:64, shift 0, mask 51).
    	v.l0 = byteorder.LeUint64(x[0:8])
    	v.l0 &= maskLow51Bits
    	// Bits 51:102 (bytes 6:14, bits 48:112, shift 3, mask 51).
    	v.l1 = byteorder.LeUint64(x[6:14]) >> 3
    	v.l1 &= maskLow51Bits
    	// Bits 102:153 (bytes 12:20, bits 96:160, shift 6, mask 51).
    	v.l2 = byteorder.LeUint64(x[12:20]) >> 6
    	v.l2 &= maskLow51Bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    				dr.p, dr.ln, line, err2)
    		}
    		maskstr := fields[9]
    		mask, err3 := strconv.Atoi(maskstr)
    		if err3 != nil {
    			return funcInlHeur, nil, fmt.Errorf("bad mask val %s line %d: %q err=%v",
    				dr.p, dr.ln, line, err3)
    		}
    		callsites[tag] = propsAndScore{
    			props: CSPropBits(flags),
    			score: score,
    			mask:  scoreAdjustTyp(mask),
    		}
    	}
    
    	// Consume function delimiter.
    	dr.scan()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. src/runtime/os_darwin.go

    //go:nosplit
    func setSignalstackSP(s *stackt, sp uintptr) {
    	*(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	*mask |= 1 << (uint32(i) - 1)
    }
    
    func sigdelset(mask *sigset, i int) {
    	*mask &^= 1 << (uint32(i) - 1)
    }
    
    func setProcessCPUProfiler(hz int32) {
    	setProcessCPUProfilerTimer(hz)
    }
    
    func setThreadCPUProfiler(hz int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

            this.hashTable = hashTable;
            int mask = hashTable.length - 1;
            for (ValueSetLink<K, V> entry = firstEntry;
                entry != this;
                entry = entry.getSuccessorInValueSet()) {
              ValueEntry<K, V> valueEntry = (ValueEntry<K, V>) entry;
              int bucket = valueEntry.smearedValueHash & mask;
              valueEntry.nextInValueBucket = hashTable[bucket];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top