Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for isset (0.09 sec)

  1. src/internal/cpu/cpu_x86.go

    	_, ebx7, _, _ := cpuid(7, 0)
    	X86.HasBMI1 = isSet(ebx7, cpuid_BMI1)
    	X86.HasAVX2 = isSet(ebx7, cpuid_AVX2) && osSupportsAVX
    	X86.HasBMI2 = isSet(ebx7, cpuid_BMI2)
    	X86.HasERMS = isSet(ebx7, cpuid_ERMS)
    	X86.HasADX = isSet(ebx7, cpuid_ADX)
    	X86.HasSHA = isSet(ebx7, cpuid_SHA)
    
    	X86.HasAVX512F = isSet(ebx7, cpuid_AVX512F) && osSupportsAVX512
    	if X86.HasAVX512F {
    		X86.HasAVX512BW = isSet(ebx7, cpuid_AVX512BW)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:20 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixFilePermissionConverter.java

            if (isSet(mode, 0400)) {
                result.add(OWNER_READ);
            }
            if (isSet(mode, 0200)) {
                result.add(OWNER_WRITE);
            }
            if (isSet(mode, 0100)) {
                result.add(OWNER_EXECUTE);
            }
    
            if (isSet(mode, 040)) {
                result.add(GROUP_READ);
            }
            if (isSet(mode, 020)) {
                result.add(GROUP_WRITE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go

    	ARM64.HasASIMDHP = isSet(hwCap, hwcap_ASIMDHP)
    	ARM64.HasCPUID = isSet(hwCap, hwcap_CPUID)
    	ARM64.HasASIMDRDM = isSet(hwCap, hwcap_ASIMDRDM)
    	ARM64.HasJSCVT = isSet(hwCap, hwcap_JSCVT)
    	ARM64.HasFCMA = isSet(hwCap, hwcap_FCMA)
    	ARM64.HasLRCPC = isSet(hwCap, hwcap_LRCPC)
    	ARM64.HasDCPOP = isSet(hwCap, hwcap_DCPOP)
    	ARM64.HasSHA3 = isSet(hwCap, hwcap_SHA3)
    	ARM64.HasSM3 = isSet(hwCap, hwcap_SM3)
    	ARM64.HasSM4 = isSet(hwCap, hwcap_SM4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/internal/cpu/cpu_arm64_hwcap.go

    	// is not supported in user space on older linux kernels.
    	ARM64.HasAES = isSet(HWCap, hwcap_AES)
    	ARM64.HasPMULL = isSet(HWCap, hwcap_PMULL)
    	ARM64.HasSHA1 = isSet(HWCap, hwcap_SHA1)
    	ARM64.HasSHA2 = isSet(HWCap, hwcap_SHA2)
    	ARM64.HasCRC32 = isSet(HWCap, hwcap_CRC32)
    	ARM64.HasCPUID = isSet(HWCap, hwcap_CPUID)
    	ARM64.HasSHA512 = isSet(HWCap, hwcap_SHA512)
    
    	// The Samsung S9+ kernel reports support for atomics, but not all cores
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. cmd/api-headers.go

    			continue
    		}
    
    		var isSet bool
    		for _, userMetadataPrefix := range userMetadataKeyPrefixes {
    			if !stringsHasPrefixFold(k, userMetadataPrefix) {
    				continue
    			}
    			w.Header()[strings.ToLower(k)] = []string{v}
    			isSet = true
    			break
    		}
    
    		if !isSet {
    			w.Header().Set(k, v)
    		}
    	}
    
    	var start, rangeLen int64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/fieldtype.go

    func NewFieldType(name string) *types.FieldType {
    	return &types.FieldType{
    		// for unstructured, we do not check for its type,
    		// use DynType for all fields.
    		Type: types.DynType,
    		IsSet: func(target any) bool {
    			// for an unstructured object, we allow any field to be considered set.
    			return true
    		},
    		GetFrom: func(target any) (any, error) {
    			if m, ok := target.(map[string]any); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/mutation/mock_test.go

    func (m *mockTypeRef) CELType() *types.Type {
    	return types.NewTypeTypeWithParam(m.objectType)
    }
    
    func (m *mockTypeRef) Field(name string) (*types.FieldType, bool) {
    	return &types.FieldType{
    		Type: types.DynType,
    		IsSet: func(target any) bool {
    			return true
    		},
    		GetFrom: func(target any) (any, error) {
    			return nil, nil
    		},
    	}, true
    }
    
    func (m *mockTypeRef) Val(fields map[string]ref.Val) ref.Val {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. cni/pkg/ipset/ipset.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"errors"
    	"fmt"
    	"net/netip"
    )
    
    type IPSet struct {
    	V4Name string
    	V6Name string
    	Prefix string
    	Deps   NetlinkIpsetDeps
    }
    
    const (
    	V4Name = "%s-v4"
    	V6Name = "%s-v6"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetFlush(name)
    	if err != nil {
    		return fmt.Errorf("failed to flush ipset %s: %w", name, err)
    	}
    	return nil
    }
    
    // Alpine and some distros struggles with this - ipset CLI utilities support this, but
    // the kernel can be out of sync with the CLI utility, leading to errors like:
    //
    // ipset v7.10: Argument `comment' is supported in the kernel module of the set type hash:ip
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc

          auto asset = LookupBoundInputOfType<AssetOp>(
              func, argument.getArgNumber(), symbol_table);
          if (asset == nullptr) {
            continue;
          }
    
          // Create a const op for the asset if it doesn't already exist.
          auto it = const_ops.find(asset.getSymName());
          if (it == const_ops.end()) {
            // Asset filenames are relative to the SavedModel directory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top